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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Howells
Date: Wednesday, November 14, 2007 - 5:18 am

Nick Piggin <npiggin@suse.de> wrote:


No!  You are wrong.  I wrote the AFS code.  I *know* it can only deal with
single pages.  It has no knowledge of compound pages and does not handle page
arrays.  This may be a flaw in my code, but it's there nonetheless.  The
assertion is a guard against that.  *That* was the point of my statement.
Perhaps I should've said 'my code' rather than 'the code'.

If Christoph has a patch to deal with that, it's either not upstream yet or it
hasn't altered AFS.


The convention is not precisely clear.  Just grep for PAGE_CACHE_SIZE in
Documentation/.  It's only mentioned twice, and in neither case does it give
any information about what PAGE_CACHE_SIZE is, what it represents, or where it
applies.  Therefore it's an ill-defined concept.

If you look in Documentation/filesystems/vfs.txt, you'll see that it almost
always talks about 'pages'.  It only mentions 'pagecache pages' once - in the
description of write_begin(), but it's not clear whether that means anything.

However, I've now noted that I need to fix my code, so just keep the assertion
for now and I'll fix my code to handle multipage blocks.

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)