Re: [PATCH RFC 0/3] blk-mq/nvme: use blk_mq_alloc_request() for NVMe's connect request

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

 



On 11/18/2019 4:05 PM, Sagi Grimberg wrote:

This is a much simpler fix that does not create this churn local to
every driver. Also, I don't like the assumptions about tag reservations
that the drivers is taking locally (that the connect will have tag 0
for example). All this makes this look like a hack.

Agree with Sagi on this last statement. When I reviewed the patch, it was very non-intuitive. Why dependency on tag 0, why a queue number squirrelled away on this one request only. Why change the initialization (queue pointer) on this one specific request from its hctx and so on. For someone without the history, ugly.


I'm starting to think we maybe need to get the connect out of the block
layer execution if its such a big problem... Its a real shame if that is
the case...

Yep. This is starting to be another case of perhaps I should be changing nvme-fc's blk-mq hctx to nvme queue relationship in a different manner.  I'm having a very hard time with all the queue resources today's policy is wasting on targets.

-- james





[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