commit | 5b202853ffbc54b29f23c4b1b5f3948efab489a2 | [log] [tgz] |
---|---|---|
author | Jianchao Wang <jianchao.w.wang@oracle.com> | Fri Oct 12 18:07:26 2018 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Sat Oct 13 15:42:01 2018 -0600 |
tree | 115c95fa117934258563e7c6530e94153651a4dc | |
parent | 477e19dedc9d3e1f4443a1d4ae00572a988120ea [diff] |
blk-mq: change gfp flags to GFP_NOIO in blk_mq_realloc_hw_ctxs blk_mq_realloc_hw_ctxs could be invoked during update hw queues. At the momemt, IO is blocked. Change the gfp flags from GFP_KERNEL to GFP_NOIO to avoid forever hang during memory allocation in blk_mq_realloc_hw_ctxs. Signed-off-by: Jianchao Wang <jianchao.w.wang@oracle.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>