summaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
authorQu Wenruo <quwenruo@cn.fujitsu.com>2014-05-30 15:16:10 +0800
committerChris Mason <clm@fb.com>2014-06-09 17:21:06 -0700
commitd77815461f047e561f77a07754ae923ade597d4e (patch)
tree0d0a59e05a2e96aa9d6cafb7c7170877b64fb588 /virt/kvm
parent3821f348889e506efbd268cc8149e0ebfa47c4e5 (diff)
downloadblackbird-obmc-linux-d77815461f047e561f77a07754ae923ade597d4e.tar.gz
blackbird-obmc-linux-d77815461f047e561f77a07754ae923ade597d4e.zip
btrfs: Avoid trucating page or punching hole in a already existed hole.
btrfs_punch_hole() will truncate unaligned pages or punch hole on a already existed hole. This will cause unneeded zero page or holes splitting the original huge hole. This patch will skip already existed holes before any page truncating or hole punching. Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud