Skip to content
Commit 99aa7846 authored by Shaohua Li's avatar Shaohua Li Committed by Theodore Ts'o
Browse files

jbd2: use GFP_NOFS for blkdev_issue_flush



flush request is issued in transaction commit code path, so looks using
GFP_KERNEL to allocate memory for flush request bio falls into the classic
deadlock issue.  I saw btrfs and dm get it right, but ext4, xfs and md are
using GFP.

Signed-off-by: default avatarShaohua Li <shli@fusionio.com>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
Cc: stable@vger.kernel.org
parent 57f73c2c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment