aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2014-06-26 12:30:54 -0400
committerTheodore Ts'o <tytso@mit.edu>2014-06-26 12:30:54 -0400
commita93cd4cf86466caa49cfe64607bea7f0bde3f916 (patch)
tree947b96edff05559043b83190cca8a4cc5ed859c6 /tools/perf/scripts/python/netdev-times.py
parentext4: Fix block zeroing when punching holes in indirect block files (diff)
downloadlinux-a93cd4cf86466caa49cfe64607bea7f0bde3f916.tar.gz
linux-a93cd4cf86466caa49cfe64607bea7f0bde3f916.zip
ext4: Fix hole punching for files with indirect blocks
Hole punching code for files with indirect blocks wrongly computed number of blocks which need to be cleared when traversing the indirect block tree. That could result in punching more blocks than actually requested and thus effectively cause a data loss. For example: fallocate -n -p 10240000 4096 will punch the range 10240000 - 12632064 instead of the range 1024000 - 10244096. Fix the calculation. CC: stable@vger.kernel.org Fixes: 8bad6fc813a3a5300f51369c39d315679fd88c72 Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
Govindarajulu Varadarajan6-0/+279 2014-06-23enic: alloc/free rx_cpu_rmapGovindarajulu Varadarajan1-0/+43 2014-06-23enic: devcmd for adding IP 5 tuple hardware filtersGovindarajulu Varadarajan6-1/+145 2014-06-23enic: fix return value in _vnic_dev_cmdGovindarajulu Varadarajan1-2/+2 2014-06-23flow_keys: Record IP layer protocol in skb_flow_dissect()Govindarajulu Varadarajan3-1/+16