aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/mutex.c
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2025-05-14 17:40:47 +0000
committerKent Overstreet <[email protected]>2025-05-14 21:05:19 +0000
commita12cb6f758177fcf9bdb7d18b4724eaa29023740 (patch)
tree35d86a97aec43455b9e3cc291fd4a3f93fe2f1d0 /rust/helpers/mutex.c
parentbcachefs: Fix set_should_be_locked() call in peek_slot() (diff)
downloadkernel-a12cb6f758177fcf9bdb7d18b4724eaa29023740.tar.gz
kernel-a12cb6f758177fcf9bdb7d18b4724eaa29023740.zip
bcachefs: Fix accidental O(n^2) in fiemap
Since bch2_seek_pagecache_data() searches for dirty data, we only want to call it for holes in the extents btree - otherwise we have an accidental O(n^2), as we repeatedly search the same range. Reported-by: Marcin MirosÅ‚aw <[email protected]> Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions