diff options
author | Miao Xie <miaox@cn.fujitsu.com> | 2013-07-03 21:25:15 +0800 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-07-03 14:06:54 -0400 |
commit | 17793e3e6a49946d70fd6e3291f6c422bb7f69c4 (patch) | |
tree | 25b27e3fc48ae960de453f3d4bc0d5467013edf5 /btrfs-map-logical.c | |
parent | ff04981b3fffdc04bca324949545bd9545d86ab3 (diff) |
Btrfs-progs: extend the extent cache for the device extent
As we know, btrfs can manage several devices in the same fs, so [offset, size]
is not sufficient for unique identification of an device extent, we need the
device id to identify the device extents which have the same offset and size,
but are not in the same device. So, we added a member variant named objectid
into the extent cache, and introduced some functions to make the extent cache
be suitable to manage the device extent.
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'btrfs-map-logical.c')
0 files changed, 0 insertions, 0 deletions