>>>>> "Christoph" == Christoph Hellwig <[email protected]> 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 <[email protected]>

-- 
Martin K. Petersen      Oracle Linux Engineering
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to