Skip to content
Commit 47def826 authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

jbd2: Remove __GFP_NOFAIL from jbd2 layer



__GFP_NOFAIL is going away, so add our own retry loop.  Also add
jbd2__journal_start() and jbd2__journal_restart() which take a gfp
mask, so that file systems can optionally (re)start transaction
handles using GFP_KERNEL.  If they do this, then they need to be
prepared to handle receiving an PTR_ERR(-ENOMEM) error, and be ready
to reflect that error up to userspace.

Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 40389687
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment