[PATCH 0/4] cifs: pave way for change to "strictcache" by default
smfrench at gmail.com
Mon Apr 30 09:50:25 MDT 2012
On Mon, Apr 30, 2012 at 10:45 AM, Jeff Layton <jlayton at samba.org> wrote:
> On Mon, 30 Apr 2012 10:11:43 -0500
> Steve French <smfrench at gmail.com> wrote:
>> There is a related question of how deferring writes slightly (e.g. to
>> buffer a full page or a full smb buffer) could corrupt data?
> You're returning from write(2) without actually sending it to the
> backing store, but a read(2) will go to that backing store. So,
> applications that expect the results of that write to be visible to
> other clients (or even on the same client) won't see it.
well the results of the write MUST be visible to others reading
on the same client. In what case would they not be
(other than perhaps some odd private memory mapping case)
More information about the samba-technical