[PATCH] Add missing async fsync_send()/recv() code to ceph VFS.

Ralph Böhme slow at samba.org
Tue May 1 20:15:54 UTC 2018


On Mon, Apr 30, 2018 at 02:46:25PM -0700, Jeremy Allison wrote:
> Hurrah - it went in, thanks ! Now I have your attention,
> here is the follow-up that removes the synchronous fsync_fn()
> completely from the VFS.
> 
> Please review and let me know what you think !

lgtm, pushed. Thanks!

> FYI: I'm half way though doing the same for SMB_VFS_READ
> (converting that to SMB_VFS_PREAD everywhere and then
> moving SMB_VFS_PREAD -> SMB_VFS_PREAD_SEND/SMB_VFS_PREAD_RECV
> pairs). Finally I'll get to SMB_VFS_WRITE and do the same,
> and we should end up with only *one* way to do a VFS
> FSYNC/READ/WRITE in the backend - and that will be asynchronous,
> instead of the current two or three different ways, some
> sync, some async.

awesome!

-slow

-- 
Ralph Boehme, Samba Team       https://samba.org/
Samba Developer, SerNet GmbH   https://sernet.de/en/samba/
GPG Key Fingerprint:           FAE2 C608 8A24 2520 51C5
                               59E4 AA1E 9B71 2639 9E46



More information about the samba-technical mailing list