diff options
author | Shaohua Li <shli@kernel.org> | 2012-05-21 09:26:59 +1000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-01 15:15:46 +0800 |
commit | 5404dd3464ae620fbcb9977a0690670f91544be1 (patch) | |
tree | 43be0f165599617e1e20da6b31b349585e6b9fbe /samples | |
parent | 29fdad4cf1cd116ff029456bf85d62d032c2c3e2 (diff) |
md: using GFP_NOIO to allocate bio for flush request
commit b5e1b8cee7ad58a15d2fa79bcd7946acb592602d upstream.
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.
Signed-off-by: Shaohua Li <shli@fusionio.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions