aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorDave Chinner <[email protected]>2010-09-03 02:19:33 +0000
committerDave Chinner <[email protected]>2010-09-03 02:19:33 +0000
commit72656c46f50b8dfe50e15793692982e636e3df20 (patch)
tree8841c80c9cf5873c915a821e98f3ae09746ec9d8 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentxfs: improve buffer cache hash scalability (diff)
downloadkernel-72656c46f50b8dfe50e15793692982e636e3df20.tar.gz
kernel-72656c46f50b8dfe50e15793692982e636e3df20.zip
xfs: prevent 32bit overflow in space reservation
If we attempt to preallocate more than 2^32 blocks of space in a single syscall, the transaction block reservation will overflow leading to a hangs in the superblock block accounting code. This is trivially reproduced with xfs_io. Fix the problem by capping the allocation reservation to the maximum number of blocks a single xfs_bmapi() call can allocate (2^21 blocks). Signed-off-by: Dave Chinner <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions