Re: [linux-cifs-client] Re: fsx-linux failing with latest cifs-2.6 git tree

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeff Layton
Date: Monday, December 1, 2008 - 4:28 am

On Mon, 1 Dec 2008 09:44:35 +0100
Nick Piggin <npiggin@suse.de> wrote:


But a concurrent write and read is, right?

Suppose we do a successful cifs_write_begin and set PageChecked. Another
thread then incurs a page fault and does a readpage before we copy the
data to the page. Won't we then call write_end with both PageChecked and
PageUptodate set?

That write will be fine, of course. PageChecked is still true though,
and I think that sets up the problem I was describing...

-- 
Jeff Layton <jlayton@redhat.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Fwd: fsx-linux failing with latest cifs-2.6 git tree, Dave Kleikamp, (Fri Nov 21, 1:41 pm)
Re: fsx-linux failing with latest cifs-2.6 git tree, Jeff Layton, (Fri Nov 21, 1:50 pm)
Re: fsx-linux failing with latest cifs-2.6 git tree, Jeff Layton, (Fri Nov 21, 3:50 pm)
Re: fsx-linux failing with latest cifs-2.6 git tree, Dave Kleikamp, (Fri Nov 21, 4:02 pm)
Re: fsx-linux failing with latest cifs-2.6 git tree, Jeff Layton, (Fri Nov 21, 4:25 pm)
Re: fsx-linux failing with latest cifs-2.6 git tree, Nick Piggin, (Fri Nov 21, 4:53 pm)
Re: fsx-linux failing with latest cifs-2.6 git tree, Steve French, (Fri Nov 21, 6:04 pm)
Re: fsx-linux failing with latest cifs-2.6 git tree, Jeff Layton, (Fri Nov 21, 6:50 pm)
Re: fsx-linux failing with latest cifs-2.6 git tree, Jeff Layton, (Fri Nov 21, 6:51 pm)
Re: fsx-linux failing with latest cifs-2.6 git tree, Steve French, (Fri Nov 21, 7:02 pm)
Re: fsx-linux failing with latest cifs-2.6 git tree, Dave Kleikamp, (Fri Nov 21, 9:47 pm)
Re: fsx-linux failing with latest cifs-2.6 git tree, Nick Piggin, (Wed Nov 26, 6:02 am)
Re: [linux-cifs-client] Re: fsx-linux failing with latest ..., Jeff Layton, (Mon Dec 1, 4:28 am)