linux/fs/jbd2
Theodore Ts'o 61e2a90a91 ext4: enable scoped NOFS when starting a handle in nojournal mode
The jbd2 layer enables NOFS mode using memalloc_nofs_{save,restore}()
while a handle is active.  We need to do the same in nojournal mode so
that it is safe to remove GFP_NOFS flags while a jbd2 handle is
active.

This will require that we actually allocate a real handle, but with an
h_invalid flag set, so there is a place to put the saved memalloc
context.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
2026-07-22 23:47:06 -04:00
..
checkpoint.c jbd2: bound shrinker scans by examined checkpoint buffers 2026-07-22 12:36:24 -04:00
commit.c Various ext4 updates for 7.2-rc1: 2026-06-18 09:42:02 -07:00
journal.c ext4: enable scoped NOFS when starting a handle in nojournal mode 2026-07-22 23:47:06 -04: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
recovery.c jbd2: remove journal_t argument from jbd2_chksum() 2025-05-20 10:31:12 -04:00
revoke.c jbd2: fix deadlock in jbd2_journal_cancel_revoke() 2026-04-09 22:09:39 -04:00
transaction.c jbd2: remove special jbd2 slabs 2026-06-10 10:42:55 -04:00