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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Howells
Date: Tuesday, November 13, 2007 - 3: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, 12:12 am)
[rfc][patch 1/5] ecryptfs new aops, Nick Piggin, (Mon Nov 12, 12:13 am)
[rfc][patch 2/5] cifs: new aops, Nick Piggin, (Mon Nov 12, 12:14 am)
[rfc][patch 3/5] afs: new aops, Nick Piggin, (Mon Nov 12, 12:14 am)
[rfc][patch 4/5] rd: rewrite rd, Nick Piggin, (Mon Nov 12, 12:20 am)
[rfc][patch 5/5] remove prepare_write, Nick Piggin, (Mon Nov 12, 12:23 am)
Re: [rfc][patch 3/5] afs: new aops, David Howells, (Mon Nov 12, 8:29 am)
Re: [rfc][patch 3/5] afs: new aops, Nick Piggin, (Mon Nov 12, 5:15 pm)
Re: [rfc][patch 3/5] afs: new aops, David Howells, (Mon Nov 12, 5:30 pm)
Re: [rfc][patch 3/5] afs: new aops, Nick Piggin, (Mon Nov 12, 5:44 pm)
Re: [rfc][patch 3/5] afs: new aops, David Howells, (Tue Nov 13, 3:56 am)
Re: [rfc][patch 3/5] afs: new aops, Nick Piggin, (Tue Nov 13, 9:24 pm)
Re: [rfc][patch 3/5] afs: new aops, David Howells, (Wed Nov 14, 5:18 am)
Re: [rfc][patch 3/5] afs: new aops, Nick Piggin, (Wed Nov 14, 8:18 am)
Re: [rfc][patch 3/5] afs: new aops, David Howells, (Wed Nov 14, 8:57 am)
Re: [rfc][patch 3/5] afs: new aops, Nick Piggin, (Wed Nov 14, 2:32 pm)
Re: [rfc][patch 3/5] afs: new aops, David Howells, (Thu Nov 15, 5:15 am)
Re: [rfc][patch 3/5] afs: new aops, Nick Piggin, (Thu Nov 15, 2:37 pm)