]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: LAZY_IO support 22450/head
authorYan, Zheng <zyan@redhat.com>
Tue, 27 Mar 2018 13:09:43 +0000 (21:09 +0800)
committerYan, Zheng <zyan@redhat.com>
Mon, 30 Jul 2018 08:04:07 +0000 (16:04 +0800)
commitc6d0c035b2be29b5f80765038604628eb81b55db
treed89e29f15dbf8ed026ff0678f5c2cd15e8d80492
parentbb09f7ca767b99e9a6b2f91b05477c30c57738a0
client: LAZY_IO support

'client_force_lazyio' option enables LAZY_IO gloablly for libcephfs
and ceph-fuse mount.

'ceph_lazyio(...)' and 'ceph_ll_lazyio(...)' enable LAZY_IO for open
file in libcephfs.

'ioctl(fd, CEPH_IOC_LAZYIO, 1UL)' enables LAZY_IO for open fils in
ceph-fuse mount.

Fixes: http://tracker.ceph.com/issues/20598
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/client/Client.cc
src/client/Client.h
src/client/Inode.cc
src/common/ceph_fs.cc
src/common/options.cc
src/include/ceph_fs.h
src/include/cephfs/libcephfs.h
src/libcephfs.cc
src/mds/locks.c