diff options
| author | Kent Overstreet <[email protected]> | 2025-05-14 17:40:47 +0000 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2025-05-14 21:05:19 +0000 |
| commit | a12cb6f758177fcf9bdb7d18b4724eaa29023740 (patch) | |
| tree | 35d86a97aec43455b9e3cc291fd4a3f93fe2f1d0 /rust/helpers/mutex.c | |
| parent | bcachefs: Fix set_should_be_locked() call in peek_slot() (diff) | |
| download | kernel-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
