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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nick Piggin
Date: Wednesday, November 14, 2007 - 2:32 pm

On Wed, Nov 14, 2007 at 03:57:46PM +0000, David Howells wrote:

No, a pagecache page is PAGE_CACHE_SIZE. And not all struct pages control
the same amount of data anyway, with compound pages.



But you can't just decide yourself that it is irrelevant because you don't
grep hard enough ;)

include/linux/mm.h:
 * A page may belong to an inode's memory mapping. In this case, page->mapping
 * is the pointer to the inode, and page->index is the file offset of the page,
 * in units of PAGE_CACHE_SIZE.

include/linux/mm_types.h
        unsigned long vm_pgoff;         /* Offset (within vm_file) in PAGE_SIZE
                                           units, *not* PAGE_CACHE_SIZE */

Looks like documentation to me.

-
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 ->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)