From: Xiubo Li <xiubli@xxxxxxxxxx> Changed in V2: - Addressed the comment from Ming Lei, thanks. Changed in V3: - Switch to memalloc_noio_save/restore from Christoph's comment, thanks. Xiubo Li (2): blk-mq: Avoid memory reclaim when allocating request map blk-mq: use BLK_MQ_GFP_FLAGS and memalloc_noio_save/restore instead block/blk-mq-tag.c | 5 +++-- block/blk-mq-tag.h | 5 ++++- block/blk-mq.c | 45 +++++++++++++++++++++++++++++++++------------ 3 files changed, 40 insertions(+), 15 deletions(-) -- 2.21.0