From: Shaohua Li Date: Fri, 13 Apr 2012 02:27:35 +0000 (+0800) Subject: jbd2: use GFP_NOFS for blkdev_issue_flush X-Git-Tag: v3.2.17~145 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f25543699889485de366c0ccf311fc593946c96e;p=pandora-kernel.git jbd2: use GFP_NOFS for blkdev_issue_flush commit 99aa78466777083255b876293e9e83dec7cd809a upstream. 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 Signed-off-by: Theodore Ts'o Reviewed-by: Jan Kara Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed