Hi,

client_force_lazyio only works for ceph-fuse and libcephfs:
https://github.com/ceph/ceph/pull/26976/files

You can use the ioctl to enable per file with the kernel mount, but
you might run into the same problem we did:
https://tracker.ceph.com/issues/44166

Please share if it works for you.

Cheers, Dan

On Tue, Jun 8, 2021 at 8:16 AM opengers <zijian1...@gmail.com> wrote:
>
> ceph: 14.2.x
> kernel: 4.15
>
> In cephfs, due to the need for cache consistency, When a client is
> executing buffer IO, another client will hang when reading and writing the
> same file
>
> It seems that lazyio can solve this problem, lazyio allows multiple clients
> to execute buffer IO at the same time(relax consistency), But I am not sure
> how to enable lazyio under the kernel mount, the test found that the
> "client_force_lazyio" parameter does not work
>
> My final requirement is to use lazyio to implement multiple clients to read
> and write the same file(buffer IO mode)
>
> Can someone explain how to enable lazyio under kcephfs, thanks
> _______________________________________________
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to