aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/syscall-counts-record
diff options
context:
space:
mode:
authorTheodore Ts'o <[email protected]>2013-07-15 00:12:14 -0400
committerTheodore Ts'o <[email protected]>2013-07-15 00:12:14 -0400
commite15f742ce816076497549b955fbec3254820db85 (patch)
tree4666b07669926bb9bd93b594129eb12d2200f7db /tools/perf/scripts/python/bin/syscall-counts-record
parentc8e15130e1636f68d5165aa2605b8e9cba0f644c (diff)
ext4: make the extent_status code more robust against ENOMEM failures
Some callers of ext4_es_remove_extent() and ext4_es_insert_extent() may not be completely robust against ENOMEM failures (or the consequences of reflecting ENOMEM back up to userspace may lead to xfstest or user application failure). To mitigate against this, when trying to insert an entry in the extent status tree, try to shrink the inode's extent status tree before returning ENOMEM. If there are entries which don't record information about extents under delayed allocations, freeing one of them is preferable to returning ENOMEM. Signed-off-by: "Theodore Ts'o" <[email protected]> Reviewed-by: Zheng Liu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/syscall-counts-record')
0 files changed, 0 insertions, 0 deletions