summaryrefslogtreecommitdiffstats
path: root/fs/jfs/jfs_discard.h
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fusionio.com>2013-07-05 13:58:19 -0400
committerChris Mason <chris.mason@fusionio.com>2013-08-09 19:29:56 -0400
commit8ca15e05e6ac2745725d2d62394cfbe4ac335e84 (patch)
treed0f17e655b2e6c40745d8d37593fbd868783d827 /fs/jfs/jfs_discard.h
parentb76bb70136375c32d3b0bbbe2ebef738913d5b90 (diff)
downloadtalos-op-linux-8ca15e05e6ac2745725d2d62394cfbe4ac335e84.tar.gz
talos-op-linux-8ca15e05e6ac2745725d2d62394cfbe4ac335e84.zip
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>
Diffstat (limited to 'fs/jfs/jfs_discard.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud