Re: [rfc][patch 3/5] afs: new aops

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Nick Piggin <npiggin@...>
Cc: <dhowells@...>, Andrew Morton <akpm@...>, <linux-fsdevel@...>, <mhalcrow@...>, <phillip@...>, <sfrench@...>
Date: Tuesday, November 13, 2007 - 6:56 am

Nick Piggin <npiggin@suse.de> wrote:


The problem is that the code called assumes that the struct page * argument
points to a single page, not an array of pages as would presumably be the case
if PAGE_CACHE_SIZE > PAGE_SIZE.  If I should allow for an array of pages then
the lower functions (specifically afs_deliver_fs_fetch_data()) need to change,
and until that time occurs, the assertion *must* remain as it is now.  It
defends the lower functions against being asked to do something they weren't
designed to do.

So: you may not change the assertion unless you also fix the lower functions.

David
-
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:
[rfc][patches] remove -&gt;prepare_write, Nick Piggin, (Mon Nov 12, 3:12 am)
[rfc][patch 5/5] remove prepare_write, Nick Piggin, (Mon Nov 12, 3:23 am)
[rfc][patch 4/5] rd: rewrite rd, Nick Piggin, (Mon Nov 12, 3:20 am)
[rfc][patch 2/5] cifs: new aops, Nick Piggin, (Mon Nov 12, 3:14 am)
[rfc][patch 3/5] afs: new aops, Nick Piggin, (Mon Nov 12, 3:14 am)
Re: [rfc][patch 3/5] afs: new aops, David Howells, (Mon Nov 12, 11:29 am)
Re: [rfc][patch 3/5] afs: new aops, Nick Piggin, (Mon Nov 12, 8:15 pm)
Re: [rfc][patch 3/5] afs: new aops, David Howells, (Mon Nov 12, 8:30 pm)
Re: [rfc][patch 3/5] afs: new aops, Nick Piggin, (Mon Nov 12, 8:44 pm)
Re: [rfc][patch 3/5] afs: new aops, David Howells, (Tue Nov 13, 6:56 am)
Re: [rfc][patch 3/5] afs: new aops, Nick Piggin, (Wed Nov 14, 12:24 am)
Re: [rfc][patch 3/5] afs: new aops, David Howells, (Wed Nov 14, 8:18 am)
Re: [rfc][patch 3/5] afs: new aops, Nick Piggin, (Wed Nov 14, 11:18 am)
Re: [rfc][patch 3/5] afs: new aops, David Howells, (Wed Nov 14, 11:57 am)
Re: [rfc][patch 3/5] afs: new aops, Nick Piggin, (Wed Nov 14, 5:32 pm)
Re: [rfc][patch 3/5] afs: new aops, David Howells, (Thu Nov 15, 8:15 am)
Re: [rfc][patch 3/5] afs: new aops, Nick Piggin, (Thu Nov 15, 5:37 pm)
[rfc][patch 1/5] ecryptfs new aops, Nick Piggin, (Mon Nov 12, 3:13 am)