commit | b5e1b8cee7ad58a15d2fa79bcd7946acb592602d | [log] [tgz] |
---|---|---|
author | Shaohua Li <shli@kernel.org> | Mon May 21 09:26:59 2012 +1000 |
committer | NeilBrown <neilb@suse.de> | Mon May 21 09:26:59 2012 +1000 |
tree | a9f009012ccdca7c9daefb089e9dbca7224843c7 | |
parent | b0d634d5683f0b186b242ce6a4f3b041edb8b956 [diff] |
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 <shli@fusionio.com> Signed-off-by: NeilBrown <neilb@suse.de>