]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fs/ext4: use sleeping version of sb_find_get_block()
authorDavidlohr Bueso <dave@stgolabs.net>
Fri, 18 Apr 2025 01:59:20 +0000 (18:59 -0700)
committerChristian Brauner <brauner@kernel.org>
Tue, 22 Apr 2025 16:16:08 +0000 (18:16 +0200)
commit6e8f57fd09c9fb569d10b2ccc3878155b702591a
treed3c3ea065cd614c59d2523026c5261e282bd2535
parentf76d4c28a46a9260d85e00dafc8f46d369365d33
fs/ext4: use sleeping version of sb_find_get_block()

Enable ext4_free_blocks() to use it, which has a cond_resched to begin
with. Convert to the new nonatomic flavor to benefit from potential
performance benefits and adapt in the future vs migration such that
semantics are kept.

Suggested-by: Jan Kara <jack@suse.cz>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Link: https://kdevops.org/ext4/v6.15-rc2.html
Link: https://lore.kernel.org/all/aAAEvcrmREWa1SKF@bombadil.infradead.org/
Link: https://lore.kernel.org/20250418015921.132400-7-dave@stgolabs.net
Tested-by: kdevops@lists.linux.dev
Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/ext4/mballoc.c