Revision 8ca15e05e6ac2745725d2d62394cfbe4ac335e84 authored by Josef Bacik on 05 July 2013, 17:58:19 UTC, committed by Chris Mason on 09 August 2013, 23:29:56 UTC
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>
1 parent b76bb70
File | Mode | Size |
---|---|---|
ChangeLog | -rw-r--r-- | 14.0 KB |
Kconfig | -rw-r--r-- | 917 bytes |
Makefile | -rw-r--r-- | 164 bytes |
TODO | -rw-r--r-- | 385 bytes |
befs.h | -rw-r--r-- | 3.2 KB |
befs_fs_types.h | -rw-r--r-- | 4.9 KB |
btree.c | -rw-r--r-- | 21.9 KB |
btree.h | -rw-r--r-- | 300 bytes |
datastream.c | -rw-r--r-- | 15.5 KB |
datastream.h | -rw-r--r-- | 514 bytes |
debug.c | -rw-r--r-- | 7.6 KB |
endian.h | -rw-r--r-- | 3.1 KB |
inode.c | -rw-r--r-- | 1.1 KB |
inode.h | -rw-r--r-- | 123 bytes |
io.c | -rw-r--r-- | 1.8 KB |
io.h | -rw-r--r-- | 190 bytes |
linuxvfs.c | -rw-r--r-- | 24.6 KB |
super.c | -rw-r--r-- | 3.0 KB |
super.h | -rw-r--r-- | 134 bytes |
Computing file changes ...