+3
−1
Loading
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 <marcin@mejor.pl> Signed-off-by:
Kent Overstreet <kent.overstreet@linux.dev>