]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-disk: make initial journal files 0 bytes
authorSage Weil <sage@inktank.com>
Tue, 10 Sep 2013 05:27:23 +0000 (22:27 -0700)
committerAlfredo Deza <alfredo@deza.pe>
Wed, 12 Feb 2014 21:37:06 +0000 (16:37 -0500)
commitc531d75f7e86cee619e44c247298b50c37b81539
tree9a4e46f94558fd96319a007f98d514e4328f60fe
parent836ead3e42491597c192c63d3171021c5daecbc0
ceph-disk: make initial journal files 0 bytes

The ceph-osd will resize journal files up and properly fallocate() them
so that the blocks are preallocated and (hopefully) contiguous.  We
don't need to do it here too, and getting fallocate() to work from
python is a pain in the butt.

Fixes: #5981
Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit a786ad773cd33880075f1deb3691528d1afd03ec)
src/ceph-disk