commit | 99aa78466777083255b876293e9e83dec7cd809a | [log] [tgz] |
---|---|---|
author | Shaohua Li <shli@kernel.org> | Fri Apr 13 10:27:35 2012 +0800 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Apr 23 21:43:41 2012 -0400 |
tree | e15bd88760cb27bb306929b19ba41abc53e0e333 | |
parent | 57f73c2c89a5d3b2ed87201c8100d1fa989a1a65 [diff] |
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: Shaohua Li <shli@fusionio.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Jan Kara <jack@suse.cz> Cc: stable@vger.kernel.org