[lkml]   [2009]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] fs/cifs: send SMB_COM_FLUSH in cifs_fsync
On Fri, Feb 20, 2009 at 2:51 PM, Horst Reiterer
<> 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.



 \ /
  Last update: 2009-02-20 21:59    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean