* Re: [PATCH 3/3] cifs: don't allow mmap'ed pages to be dirtied while under writeback
[not found] ` <20110327073204.3e85ad65-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
@ 2011-03-27 15:00 ` Steve French
0 siblings, 0 replies; only message in thread
From: Steve French @ 2011-03-27 15:00 UTC (permalink / raw)
To: Jeff Layton; +Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA, linux-fsdevel
I like this patch very much, but had been waiting for any
comments/ack/reviewed-by
one of those more familiar with this part of the mm layer.
Barring any objections, I plan to merge this (and the performance fix)
after some additional review today or tomorrow.
On Sun, Mar 27, 2011 at 6:32 AM, Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
> On Wed, 16 Mar 2011 15:15:31 -0400
> Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
>
>> If a process has a dirty page mapped into its page tables, then it has
>> the ability to change it while the client is trying to write the data
>> out to the server. If that happens after the signature has been
>> calculated then that signature will then be wrong, and the server will
>> likely reset the TCP connection.
>>
>> This patch adds a page_mkwrite handler for CIFS that simply takes the
>> page lock. Because the page lock is held over the life of writepage and
>> writepages, this prevents the page from becoming writeable until
>> the write call has completed.
>>
>> With this, we can also remove the "sign_zero_copy" module option and
>> always inline the pages when writing.
>>
>> Signed-off-by: Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
>> ---
>> fs/cifs/cifsfs.c | 4 ---
>> fs/cifs/cifsglob.h | 1 -
>> fs/cifs/file.c | 62 ++++++++++++++++++++++++++--------------------------
>> 3 files changed, 31 insertions(+), 36 deletions(-)
>>
>
> Steve, can you let me know where we are with this patch? It's not
> merged and you haven't commented on it.
>
> --
> Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
>
--
Thanks,
Steve
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-03-27 15:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1300302931-13830-1-git-send-email-jlayton@redhat.com>
[not found] ` <1300302931-13830-3-git-send-email-jlayton@redhat.com>
[not found] ` <20110327073204.3e85ad65@tlielax.poochiereds.net>
[not found] ` <20110327073204.3e85ad65-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2011-03-27 15:00 ` [PATCH 3/3] cifs: don't allow mmap'ed pages to be dirtied while under writeback Steve French
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).