[linux-cifs-client] cifs_fsync implementation does not trigger SMB_COM_FLUSH

Jeff Layton jlayton at redhat.com
Mon Feb 9 23:35:27 GMT 2009


On Mon, 9 Feb 2009 23:31:22 +0100
Horst Reiterer <horst.reiterer at gmail.com> wrote:

> Why was the explicit SMB_COM_FLUSH dropped in the new implementation?
> Would you accept a patch that reintroduces SMB_COM_FLUSH in the
> implementation of cifs_fsync? If you cannot change the current
> cifs_flush semantics at this point, how about a mount option (along
> the lines of strict sync that enables SMB_COM_FLUSH for explicit fsync
> calls)?
> 

It's not that it was "removed" per-se, just never implemented. Patches
to add that capability would certainly be welcome.

Cheers,
-- 
Jeff Layton <jlayton at redhat.com>


More information about the linux-cifs-client mailing list