aboutsummaryrefslogtreecommitdiff
path: root/block/stream.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-05-09 16:49:58 +0200
committerKevin Wolf <kwolf@redhat.com>2012-06-15 14:03:42 +0200
commit5500316ded9db5b10072334cde1e27fb37682240 (patch)
treec02ce4c1a29b4a05d8860b6fec6f99d5b9eb26a2 /block/stream.c
parent87267753a36798e25262ee48264bea2ab70921aa (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>
Diffstat (limited to 'block/stream.c')
0 files changed, 0 insertions, 0 deletions