diff options
author | Patrick Donnelly <pdonnell@redhat.com> | 2018-07-21 05:10:50 +0200 |
---|---|---|
committer | Patrick Donnelly <pdonnell@redhat.com> | 2018-07-21 05:10:50 +0200 |
commit | db54fd109dc1938e72ab1b700b737a7f7d449ff5 (patch) | |
tree | 406e24a38eb190714a0be4e32fb1106ac21d93b8 /src/libcephfs.cc | |
parent | Merge pull request #23151 from neha-ojha/wip-25008 (diff) | |
parent | client: wire up ceph_ll_fallocate (diff) | |
download | ceph-db54fd109dc1938e72ab1b700b737a7f7d449ff5.tar.xz ceph-db54fd109dc1938e72ab1b700b737a7f7d449ff5.zip |
Merge PR #23009 into master
* refs/pull/23009/head:
client: wire up ceph_ll_fallocate
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Diffstat (limited to 'src/libcephfs.cc')
-rw-r--r-- | src/libcephfs.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libcephfs.cc b/src/libcephfs.cc index 99cb4995b97..364828ed1bd 100644 --- a/src/libcephfs.cc +++ b/src/libcephfs.cc @@ -1586,6 +1586,12 @@ extern "C" int ceph_ll_sync_inode(class ceph_mount_info *cmount, return (cmount->get_client()->ll_sync_inode(in, syncdataonly)); } +extern "C" int ceph_ll_fallocate(class ceph_mount_info *cmount, Fh *fh, + int mode, int64_t offset, int64_t length) +{ + return cmount->get_client()->ll_fallocate(fh, mode, offset, length); +} + extern "C" off_t ceph_ll_lseek(class ceph_mount_info *cmount, Fh *fh, off_t offset, int whence) { |