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.4-rc5~36^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99aa78466777083255b876293e9e83dec7cd809a;p=pandora-kernel.git 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 Signed-off-by: Theodore Ts'o Reviewed-by: Jan Kara Cc: stable@vger.kernel.org --- Reading git-diff-tree failed