From: Shaohua Li Date: Sun, 20 May 2012 23:26:59 +0000 (+1000) Subject: md: using GFP_NOIO to allocate bio for flush request X-Git-Tag: v3.5-rc1~110^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5e1b8cee7ad58a15d2fa79bcd7946acb592602d;p=pandora-kernel.git md: using GFP_NOIO to allocate bio for flush request A flush request is usually issued in transaction commit code path, so using GFP_KERNEL to allocate memory for flush request bio falls into the classic deadlock issue. This is suitable for any -stable kernel to which it applies as it avoids a possible deadlock. Cc: stable@vger.kernel.org Signed-off-by: Shaohua Li Signed-off-by: NeilBrown --- Reading git-diff-tree failed