[btrfs-devel]A question about extent buffer codes

Yan Zheng yanzheng at 21cn.com
Tue Oct 16 06:17:36 PDT 2007


2007/10/16, Chris Mason <chris.mason at oracle.com>:
> It could be offset = (dst->start + dst_offset) & PAGE_CACHE_SIZE - 1,
> but start_offset is already the offset into the first page.  So, we only
> want to add it on the first page.
> -chris
>
Thank you

By the way,  report a typo.

at ctree.h : 529
--
BTRFS_SETGET_STACK_FUNCS(stack_extent_owner, struct btrfs_extent_item,
			 owner, 32);

parameter 'bits' should be 64


Regards
YZ



More information about the Btrfs-devel mailing list