]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client/filer: _write&&_fallocate in the redundant judgments fix 10062/head
authorhuanwen ren <ren.huanwen@zte.com.cn>
Thu, 30 Jun 2016 11:38:24 +0000 (19:38 +0800)
committerhuanwen ren <ren.huanwen@zte.com.cn>
Thu, 30 Jun 2016 11:38:24 +0000 (19:38 +0800)
commit49a74402624dc379de7577301be6376601f4e0fb
tree219934077425350ab74707727c7680a2ccbcbc2a
parent082a0731ac70c9a4158954e5bc678caa8c05430b
client/filer: _write&&_fallocate in the redundant judgments fix

The running time of redundant judgments influence function,especially _write(),
at the same time,Filer::read/read_trunc/write/write_trunc/truncate/zero type should be void, fix it

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
src/client/Client.cc
src/osdc/Filer.h