diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-16 04:37:23 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-21 21:27:10 +0300 |
commit | 46bf2e9cc745996ca56e56ed816e60d07811bd9a (patch) | |
tree | 94858ccb5646f0629924d68761471e24b67433df /Documentation/CodingStyle | |
parent | 1a5039041b376f545dfc11d89af77cc720217b44 (diff) | |
download | linux-46bf2e9cc745996ca56e56ed816e60d07811bd9a.tar.xz |
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 <kent.overstreet@linux.dev>
Diffstat (limited to 'Documentation/CodingStyle')
0 files changed, 0 insertions, 0 deletions