Skip to content

blk-mq: Avoid memory reclaim when allocating

[email protected] linux-block 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 4 repliesIn review
  2. v32 patches 6 repliesSuperseded
  3. v22 patches 6 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 RFC1 patch2 repliesSuperseded

Changes in v4 from the cover letter

- Switch back to v2 by remove the memalloc_ stuff
- With a small fix by making all the gfp flags to BLK_MQ_GFP_FLAGS in blk_mq_alloc_rq_map where the NOIO is needed.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2blk-mq: Avoid memory reclaim when allocating request mapblock/blk-mq-tag.c block/blk-mq-tag.h block/blk-mq.c+9 -44 replies
2/2blk-mq: use BLK_MQ_GFP_FLAGS macro insteadblock/blk-mq.c+10 -90 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMing Lei
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/2] blk-mq: Avoid memory reclaim when allocating

From: Xiubo Li <[email protected]>

Changed in V2:
- Addressed the comment from Ming Lei, thanks.

Changed in V3:
- Switch to memalloc_noio_save/restore from Christoph's comment, thanks.

Changed in V4:
- Switch back to v2 by remove the memalloc_ stuff
- With a small fix by making all the gfp flags to BLK_MQ_GFP_FLAGS in blk_mq_alloc_rq_map where the NOIO is needed.

Xiubo Li (2):
blk-mq: Avoid memory reclaim when allocating request map
blk-mq: use BLK_MQ_GFP_FLAGS macro instead

 block/blk-mq-tag.c |  5 +++--
 block/blk-mq-tag.h |  5 ++++-
 block/blk-mq.c     | 20 +++++++++++---------
 3 files changed, 18 insertions(+), 12 deletions(-)
Signature · 1 line
2.21.0