]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
delete fallocate with punch_hole
authorAaron Gao <gzh@fb.com>
Tue, 28 Mar 2017 22:47:54 +0000 (15:47 -0700)
committerAndrew Kryczka <andrewkr@fb.com>
Thu, 30 Mar 2017 18:14:14 +0000 (11:14 -0700)
commit76979d84bfad26421ed23203400db1eadee21d90
treeafc345daec0e59ef288472c750173f747aed3d36
parentbae811fca0190c5c2ee273df4c07bbc04176b165
delete fallocate with punch_hole

Summary:
As discuss in this thread:
https://www.facebook.com/groups/rocksdb.dev/permalink/1218043868294125/

We remove fallocate with FALLOC_FL_PUNCH_HOLE because the recent bug on xfs in kernel 4.x+ that align file size to page size even with FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE.
Closes https://github.com/facebook/rocksdb/pull/2038

Differential Revision: D4779974

Pulled By: siying

fbshipit-source-id: 5f54625
HISTORY.md
util/io_posix.cc