commit | 5500316ded9db5b10072334cde1e27fb37682240 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Wed May 09 16:49:58 2012 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Jun 15 14:03:42 2012 +0200 |
tree | c02ce4c1a29b4a05d8860b6fec6f99d5b9eb26a2 | |
parent | 87267753a36798e25262ee48264bea2ab70921aa [diff] |
block: implement is_allocated for raw Either FIEMAP, or SEEK_DATA+SEEK_HOLE can be used to implement the is_allocated callback for raw files. On Linux ext4, btrfs and XFS all support it. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>