On Fri, Dec 13, 2013 at 09:17:00AM -0600, Chandra Seetharaman wrote:
> > For a full compatibility with any blocksize on arch with any pagesize
> > you'd need to implement the case when sectorsize is larger than
> > pagesize. Your patchset does the "4k sector/64k page", but I haven't
> > noticed the "64k sector/4k page" counterpart.
>
> My object was to make btrfs filesystems from other arches to be directly
> usable in PPC64.
Ok then.
> Nevertheless, IIUC, btrfs currently support such a case. Each extent
> buffers currently can have up to INLINE_EXTENT_BUFFER_PAGES(16).
>
> -------
> #define INLINE_EXTENT_BUFFER_PAGES 16
>
> struct extent_buffer {
> :
> :
> struct page *pages[INLINE_EXTENT_BUFFER_PAGES];
> :
> };
> --------
>
> No ?
Just for metadata blocks.
> There are some issues with relocation too. Is there similar assumption
> in that code path too ?
I don't know. If yes, then it's different from the compression issues,
because there are some hardwired assumptions about the binary format of
the compressed data, while relocation uses the common code.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html