[linux-cifs-client] Re: [PATCH] fs/cifs: send SMB_COM_FLUSH in cifs_fsync

Steve French smfrench at gmail.com
Fri Feb 20 20:55:44 GMT 2009


On Fri, Feb 20, 2009 at 2:51 PM, Horst Reiterer
<horst.reiterer at gmail.com> wrote:
> Hi,
>
> In contrast to the now-obsolete smbfs, cifs does not send SMB_COM_FLUSH
> in response to an explicit fsync(2) to guarantee that all volatile data
> is written to stable storage on the server side, provided the server
> honors the request (which, to my knowledge, is true for Windows and
> Samba with 'strict sync' enabled).
> This patch modifies the cifs_fsync implementation to restore the

Patch seems reasonable at first glance.  Will take a look in more
detail this weekend.



-- 
Thanks,

Steve


More information about the linux-cifs-client mailing list