Re: [PATCH 04/10] AXFS: axfs_inode.c

From: Phillip Lougher
Date: Thu Aug 21 2008 - 23:29:54 EST


Jared Hulbert wrote:


The memcpy in question copies a c_node to the page. The len is either
the max length of a c_node and size of the buffer I'm copying to
(PAGE_CACHE_SIZE) or it is the difference between the beginning of the
c_node in the c_block and the end of the c_block, whichever is
smaller. The confusion is probably because of the fact that this
copies extra crap to the page for tails.


Ah yes, that's where I got confused :) Glad to see AXFS uses tail packing.


Phillip
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/