Because of bug in fallocate - this way of creating swap file will not work. Instead - use dd to create the swapfile, put your size accordingly:
dd if=/dev/zero of=/swapfile count=16384 bs=1MiB
CentOS7 defaults to using XFS, which fallocate has issues with creating files without holes