Home
last modified time | relevance | path

Searched hist:"8 ca15e05e6ac2745725d2d62394cfbe4ac335e84" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/btrfs/
H A Dbackref.cdiff 8ca15e05e6ac2745725d2d62394cfbe4ac335e84 Fri Jul 05 12:58:19 CDT 2013 Josef Bacik <jbacik@fusionio.com> Btrfs: fix backref walking when we hit a compressed extent

If you do btrfs inspect-internal logical-resolve on a compressed extent that has
been partly overwritten it won't find anything. This is because we try and
match the extent offset we've searched for based on the extent offset in the
data extent entry. However this doesn't work for compressed extents because the
offsets are for the uncompressed size, not the compressed size. So instead only
do this check if we are not compressed, that way we can get an actual entry for
the physical offset rather than nothing for compressed. Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>