Re: [PATCH 02/11] scsi: add new scsi-command flag for tagged commands

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

 



>>>>> "Christoph" == Christoph Hellwig <hch@xxxxxx> writes:

Christoph> Currently scsi piggy backs on the block layer to define the
Christoph> concept of a tagged command.  But we want to be able to have
Christoph> block-level host-wide tags assigned even for untagged
Christoph> commands like the initial INQUIRY, so add a new SCSI-level
Christoph> flag for commands that are tagged at the scsi level, so that
Christoph> even commands without that set can have tags assigned to
Christoph> them.  Note that this alredy is the case for the blk-mq code
Christoph> path, and this just lets the old path catch up with it.

Christoph> We also set this flag based upon sdev->simple_tags instead of
Christoph> the block queue flag, so that it is entirely independent of
Christoph> the block layer tagging, and thus always correct even if a
Christoph> driver doesn't use block level tagging yet.

Christoph> Also remove the old blk_rq_tagged; it was only used by SCSI
Christoph> drivers, and removing it forces them to look for the proper
Christoph> replacement.

Reviewed-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>

-- 
Martin K. Petersen	Oracle Linux Engineering
--
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