aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2020-09-24 17:09:59 +0200
committerTheodore Ts'o <[email protected]>2020-10-18 10:36:12 -0400
commit5b3dc19dda6691e8ab574e8eede1aef6f02a4f1c (patch)
treee841a42971281b482a7a9751f9a22d5af9e82d4e /scripts/gdb/linux
parent70022da804f0f3f152115688885608c39182082e (diff)
ext4: discard preallocations before releasing group lock
ext4_mb_discard_group_preallocations() can be releasing group lock with preallocations accumulated on its local list. Thus although discard_pa_seq was incremented and concurrent allocating processes will be retrying allocations, it can happen that premature ENOSPC error is returned because blocks used for preallocations are not available for reuse yet. Make sure we always free locally accumulated preallocations before releasing group lock. Fixes: 07b5b8e1ac40 ("ext4: mballoc: introduce pcpu seqcnt for freeing PA to improve ENOSPC handling") Signed-off-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions