Messages in this thread | | | Date | Fri, 20 Feb 2009 14:55:44 -0600 | Subject | Re: [PATCH] fs/cifs: send SMB_COM_FLUSH in cifs_fsync | From | Steve French <> |
| |
On Fri, Feb 20, 2009 at 2:51 PM, Horst Reiterer <horst.reiterer@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
| |