aboutsummaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/btree_trans_commit.c
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2024-01-16 01:37:23 +0000
committerKent Overstreet <[email protected]>2024-01-21 18:27:10 +0000
commit46bf2e9cc745996ca56e56ed816e60d07811bd9a (patch)
tree94858ccb5646f0629924d68761471e24b67433df /fs/bcachefs/btree_trans_commit.c
parentbcachefs: extents_to_bp_state (diff)
downloadkernel-46bf2e9cc745996ca56e56ed816e60d07811bd9a.tar.gz
kernel-46bf2e9cc745996ca56e56ed816e60d07811bd9a.zip
bcachefs: Fix excess transaction restarts in __bchfs_fallocate()
drop_locks_do() should not be used in a fastpath without first trying the do in nonblocking mode - the unlock and relock will cause excessive transaction restarts and potentially livelocking with other threads that are contending for the same locks. Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'fs/bcachefs/btree_trans_commit.c')
0 files changed, 0 insertions, 0 deletions