diff options
author | Frank S. Filz <ffilzlnx@mindspring.com> | 2022-07-15 00:04:24 +0200 |
---|---|---|
committer | Frank S. Filz <ffilzlnx@mindspring.com> | 2023-07-24 20:49:05 +0200 |
commit | 201a355f3696ce53b1c8846ed96b1be1de4db040 (patch) | |
tree | 0489b2b7b6030ff36e80027b5015589d2b05e879 /src/libcephfs.cc | |
parent | Client: Hook nonblocking fsync into the write path of ll_preadv_pwritev (diff) | |
download | ceph-201a355f3696ce53b1c8846ed96b1be1de4db040.tar.xz ceph-201a355f3696ce53b1c8846ed96b1be1de4db040.zip |
libcephfs: Option to write + fsync via ceph_ll_nonblocking_readv_writev
Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Diffstat (limited to 'src/libcephfs.cc')
-rw-r--r-- | src/libcephfs.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcephfs.cc b/src/libcephfs.cc index a9387c32502..bafd0e6e4b4 100644 --- a/src/libcephfs.cc +++ b/src/libcephfs.cc @@ -2042,7 +2042,8 @@ extern "C" int64_t ceph_ll_nonblocking_readv_writev(class ceph_mount_info *cmoun return (cmount->get_client()->ll_preadv_pwritev( io_info->fh, io_info->iov, io_info->iovcnt, - io_info->off, io_info->write, onfinish, &onfinish->bl)); + io_info->off, io_info->write, onfinish, &onfinish->bl, + io_info->fsync, io_info->syncdataonly)); } extern "C" int ceph_ll_close(class ceph_mount_info *cmount, Fh* fh) |