History

block: remove QUEUE_FLAG_SCSI_PASSTHROUGH

Export scsi_device_from_queue for use with pktcdvd and use that instead of the otherwise unused QUEUE_FLAG_SCSI_PASSTHROUGH queue flag.

Christoph Hellwig committed 5 years ago

Commit 48450121 parent 4abafdc5 files · +12 −6Browse files

Showing the changes to include/linux/blkdev.h (1 of 5 files). Show all

Unified · Split

include/linux/blkdev.h+0−3
@@ -357,7 +357,6 @@ struct request_queue { · 356 unmodified lines
357357 #define QUEUE_FLAG_STATS 20 /* track IO start and completion times */
358358 #define QUEUE_FLAG_POLL_STATS 21 /* collecting stats for hybrid polling */
359359 #define QUEUE_FLAG_REGISTERED 22 /* queue has been registered to a disk */
360−#define QUEUE_FLAG_SCSI_PASSTHROUGH 23 /* queue supports SCSI commands */
361360 #define QUEUE_FLAG_QUIESCED 24 /* queue has been quiesced */
362361 #define QUEUE_FLAG_PCI_P2PDMA 25 /* device supports PCI p2p requests */
363362 #define QUEUE_FLAG_ZONE_RESETALL 26 /* supports Zone Reset All */
@@ -391,8 +390,6 @@ bool blk_queue_flag_test_and_set(unsigned int flag, struct request_queue *q); · 27 unmodified lines
391390 #define blk_queue_secure_erase(q) \
392391 (test_bit(QUEUE_FLAG_SECERASE, &(q)->queue_flags))
393392 #define blk_queue_dax(q) test_bit(QUEUE_FLAG_DAX, &(q)->queue_flags)
394−#define blk_queue_scsi_passthrough(q) \
395− test_bit(QUEUE_FLAG_SCSI_PASSTHROUGH, &(q)->queue_flags)
396393 #define blk_queue_pci_p2pdma(q) \
397394 test_bit(QUEUE_FLAG_PCI_P2PDMA, &(q)->queue_flags)
398395 #ifdef CONFIG_BLK_RQ_ALLOC_TIME