diff options
| author | Theodore Ts'o <tytso@mit.edu> | 2026-07-16 10:10:20 -0400 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2026-07-22 23:47:06 -0400 |
| commit | 61e2a90a910cb9ed27ca647895f073af0b640351 (patch) | |
| tree | 2db050d466ad74a89ce2832ae7984b372909ee8c /tools/perf/scripts/python | |
| parent | d19d239ada9b7c92d086a1f051b7566538ee0089 (diff) | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
