summaryrefslogtreecommitdiffstats
path: root/src/libcephfs.cc
diff options
context:
space:
mode:
authorSidharth Anupkrishnan <sanupkri@redhat.com>2019-06-26 17:54:36 +0200
committerSidharth Anupkrishnan <sanupkri@redhat.com>2019-09-19 14:15:25 +0200
commit11846191281d843492be254e79eaf8e40aff68cb (patch)
treebb4b30778a2dbc5291d2be85a3541dd026c526a4 /src/libcephfs.cc
parentlibcephfs: Add lazyio_propogate and lazyio_synchronize methods to libcephfs (diff)
downloadceph-11846191281d843492be254e79eaf8e40aff68cb.tar.xz
ceph-11846191281d843492be254e79eaf8e40aff68cb.zip
libcephfs: Add test for lazyio via libcephfs
Signed-off-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
Diffstat (limited to 'src/libcephfs.cc')
-rw-r--r--src/libcephfs.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcephfs.cc b/src/libcephfs.cc
index 2283d008827..8a6b14d1ed8 100644
--- a/src/libcephfs.cc
+++ b/src/libcephfs.cc
@@ -1078,12 +1078,12 @@ extern "C" int ceph_lazyio(class ceph_mount_info *cmount,
return (cmount->get_client()->lazyio(fd, enable));
}
-extern "C" int ceph_lazyio_propogate(class ceph_mount_info *cmount,
+extern "C" int ceph_lazyio_propagate(class ceph_mount_info *cmount,
int fd, int64_t offset, size_t count)
{
if (!cmount->is_mounted())
return -ENOTCONN;
- return (cmount->get_client()->lazyio_propogate(fd, offset, count));
+ return (cmount->get_client()->lazyio_propagate(fd, offset, count));
}
extern "C" int ceph_lazyio_synchronize(class ceph_mount_info *cmount,