Re: [PATCH 4/5] nvme-fabrics: Add target FC transport support

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

 





On 8/11/2016 2:22 PM, Christoph Hellwig wrote:

+	queue->work_q = alloc_workqueue("ntfc%d.%d.%d", 0, 0,
+				assoc->tgtport->fc_target_port.port_num,
+				assoc->a_id, qid);
Do we really need a workqueue per queue?

I thought we did - so there was always an execution context for the nvmet layer when a command is received. My understanding was the nvmet layer processes the cmd synchronously. I avoided per cpu - as I assumed the synchronous flows would end up blocking other connections to other subsystems/controllers.

If that's not the case - can you describe the nvmet layer better so I understand what we need ?



No reference counting?


yes - will make a pass at it.

-- james

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux