Re: [PATCH v3 3/7] block: Requeue requests if a CPU is unplugged

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/23/23 01:17, Ming Lei wrote:
On Tue, May 23, 2023 at 2:39 AM Bart Van Assche <bvanassche@xxxxxxx> wrote:

Requeue requests instead of sending these to the dispatch list if a CPU
is unplugged. This gives the I/O scheduler the chance to preserve the
order of zoned write requests.

But the affected code path is only for queue with none scheduler, do you
think none can maintain the order for write requests?

Hi Ming,

Doesn't blk_mq_insert_requests() insert requests in ctx->rq_lists[type] whether or not an I/O scheduler is active?

I haven't found any code in blk_mq_hctx_notify_dead() that makes this function behave differently based on whether or not an I/O scheduler has been associated with the request queue. Did I perhaps overlook something?

Thanks,

Bart.



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux