mirror-linux/fs/jbd2
Davidlohr Bueso f76d4c28a4
fs/jbd2: use sleeping version of __find_get_block()
Convert to the new nonatomic flavor to benefit from potential
performance benefits and adapt in the future vs migration such
that semantics are kept.

- jbd2_journal_revoke(): can sleep (has might_sleep() in the beginning)

- jbd2_journal_cancel_revoke(): only used from do_get_write_access() and
    do_get_create_access() which do sleep. So can sleep.

- jbd2_clear_buffer_revoked_flags() - only called from journal commit code
    which sleeps. So can sleep.

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 # [0]
Link: https://lore.kernel.org/all/aAAEvcrmREWa1SKF@bombadil.infradead.org/ # [1]
Link: https://lore.kernel.org/20250418015921.132400-6-dave@stgolabs.net
Tested-by: kdevops@lists.linux.dev
Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
2025-04-22 18:16:08 +02:00
..
Kconfig jbd2: switch to using the crc32c library 2024-12-01 17:23:02 -08:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
checkpoint.c ext4: fix incorrect tid assumption in jbd2_journal_shrink_checkpoint_list() 2024-08-26 23:39:48 -04:00
commit.c jbd2: Correct stale comment of release_buffer_page 2025-03-13 10:41:21 -04:00
journal.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
recovery.c jbd2: do not try to recover wiped journal 2025-03-17 11:19:41 -04:00
revoke.c fs/jbd2: use sleeping version of __find_get_block() 2025-04-22 18:16:08 +02:00
transaction.c jbd2: remove jbd2_journal_unfile_buffer() 2025-03-18 00:15:25 -04:00