Re: [PATCH RESEND v3 00/13] blk-mq: Reduce static requests memory footprint for shared sbitmap

From: John Garry
Date: Mon Sep 20 2021 - 03:41:48 EST


On 13/09/2021 16:12, John Garry wrote:
Currently a full set of static requests are allocated per hw queue per
tagset when shared sbitmap is used.

However, only tagset->queue_depth number of requests may be active at
any given time. As such, only tagset->queue_depth number of static
requests are required.

The same goes for using an IO scheduler, which allocates a full set of
static requests per hw queue per request queue.

This series changes shared sbitmap support by using a shared tags per
tagset and request queue. Ming suggested something along those lines in
v1 review. But we'll keep name "shared sbitmap" name as it is familiar. In
using a shared tags, the static rqs also become shared, reducing the
number of sets of static rqs, reducing memory usage.

Hi Ming,

Could you kindly check the remaining few un-reviewed patches in this series when you get an opportunity?

Thanks,
John