]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/memstore: fix wrong blocksize for statfs
authorxie xingguo <xie.xingguo@zte.com.cn>
Sat, 30 Jan 2016 08:59:42 +0000 (16:59 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Sat, 30 Jan 2016 08:59:42 +0000 (16:59 +0800)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/memstore/MemStore.cc

index 0e7e76769299d79807266734c6b98b28571ef1eb..2643c8f0c21c5a212097f249a698e789dd7b993a 100644 (file)
@@ -223,7 +223,7 @@ int MemStore::mkfs()
 int MemStore::statfs(struct statfs *st)
 {
   dout(10) << __func__ << dendl;
-  st->f_bsize = 1024;
+  st->f_bsize = 4096;
 
   // Device size is a configured constant
   st->f_blocks = g_conf->memstore_device_bytes / st->f_bsize;