https://github.com/torvalds/linux
Revision ec29ed5b407d618a8128f5942aade9e1758aa14b authored by Chris Mason on 23 February 2011, 21:23:20 UTC, committed by Chris Mason on 23 February 2011, 21:23:20 UTC
The Btrfs fiemap code wasn't properly returning delalloc extents,
so applications that trust fiemap to decide if there are holes in the
file see holes instead of delalloc.

This reworks the btrfs fiemap code, adding a get_extent helper that
searches for delalloc ranges and also adding a helper for extent_fiemap
that skips past holes in the file.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
1 parent fb01aa8
History
Tip revision: ec29ed5b407d618a8128f5942aade9e1758aa14b authored by Chris Mason on 23 February 2011, 21:23:20 UTC
Btrfs: fix fiemap bugs with delalloc
Tip revision: ec29ed5
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 936 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 175.1 KB
Makefile -rw-r--r-- 50.5 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top