]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
rocksdb: set fallocate_with_keep_size = false for log writes master-3.9
authorSage Weil <sage@redhat.com>
Tue, 28 Apr 2015 23:09:07 +0000 (16:09 -0700)
committerSage Weil <sage@redhat.com>
Tue, 28 Apr 2015 23:09:07 +0000 (16:09 -0700)
commite0ab03a46bed911ec7b8d8506b2c62322d128b49
treed7cfc02d60d75a8f39ef553a2600e94d7c7d9f61
parent6ca7befb55767784a447a5daddd09e387ec92bd3
rocksdb: set fallocate_with_keep_size = false for log writes

This lets us avoid updating the inode as we append to the file.

(Maybe.  If the file is sparse and the blocks aren't zeroed XFS will
probably still have to go update the extent flags.)

Signed-off-by: Sage Weil <sage@redhat.com>
m4/libtool.m4
util/env_posix.cc