mbox series

[PATCHSET,0/3,v2] Misc block cleanups

Message ID 20211123171058.346084-1-axboe@kernel.dk (mailing list archive)
Headers show
Series Misc block cleanups | expand

Message

Jens Axboe Nov. 23, 2021, 5:10 p.m. UTC
Hi,

First patch avoids setting up an io_context for the cases where we don't
need them, second patch optimizes re-writing to the bio if not needed, and
prunes a huge chunk of memory in the request_queue and makes it dynamic
instead.

Since v1:
- Get rid of QUEUE_FLAG_POLL_STATS
- Use kcalloc() for poll_stats
- Move io_context creation into blk-mq-sched helper