Re: [PATCH v2 0/8] scsi: target: Allow userspace to config cmd submission

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

 



On Wed, 27 Sep 2023 21:31:32 -0500, Mike Christie wrote:

> The following patches were made over Linus's tree but apply over Martin's
> branches. They allow userspace to configure how fabric drivers submit cmds
> to backend drivers.
> 
> Right now loop and vhost use a worker thread, and the other drivers submit
> from the contexts they receive/process the cmd from. For multiple LUN
> cases where the target can queue more cmds than the backend can handle
> then deferring to a worker thread is safest because the backend driver can
> block when doing things like waiting for a free request/tag. Deferring also
> helps when the target has to handle transport level requests from the
> recv context.
> 
> [...]

Applied to 6.7/scsi-queue, thanks!

[1/8] scsi: target: Make write_pending_must_be_called a bit field
      https://git.kernel.org/mkp/scsi/c/40ddd6df93a3
[2/8] scsi: target: Have drivers report if they support direct submissions
      https://git.kernel.org/mkp/scsi/c/194605d45dcb
[3/8] target: Move core_alua_check_nonop_delay call
      https://git.kernel.org/mkp/scsi/c/ee48345e1cca
[4/8] target: Move buffer clearing hack
      https://git.kernel.org/mkp/scsi/c/5c48a4ea3280
[5/8] target: Kill transport_handle_cdb_direct
      https://git.kernel.org/mkp/scsi/c/428926796e7f
[6/8] scsi: target: Allow userspace to request direct submissions
      https://git.kernel.org/mkp/scsi/c/e2f4ea40138e
[7/8] scsi: target: Unexport target_queue_submission
      https://git.kernel.org/mkp/scsi/c/e344c00e7ccd
[8/8] scsi: target: Export fabric driver direct submit settings
      https://git.kernel.org/mkp/scsi/c/6dbc829d101d

-- 
Martin K. Petersen	Oracle Linux Engineering



[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux