summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2016-01-07 11:02:34 +1100
committerLuis Henriques <luis.henriques@canonical.com>2016-01-25 10:44:04 +0000
commit81e6eb85cba718114d848eea83fe4e9490ed6e2e (patch)
treec310fd0e30caf886438bdad1ef8753612f025a74 /include/linux
parenta366bc60669a0dd8c4b83cfa924a60151ec93899 (diff)
async_tx: use GFP_NOWAIT rather than GFP_IO
commit b02bab6b0f928d49dbfb03e1e4e9dd43647623d7 upstream. These async_XX functions are called from md/raid5 in an atomic section, between get_cpu() and put_cpu(), so they must not sleep. So use GFP_NOWAIT rather than GFP_IO. Dan Williams writes: Longer term async_tx needs to be merged into md directly as we can allocate this unmap data statically per-stripe rather than per request. Fixed: 7476bd79fc01 ("async_pq: convert to dmaengine_unmap_data") Reported-and-tested-by: Stanislav Samsonov <slava@annapurnalabs.com> Acked-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions