diff options
| -rw-r--r-- | include/linux/blkdev.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 6980014357d4..c32f7171899b 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
| @@ -699,6 +699,7 @@ struct request_queue { | |||
| 699 | #define QUEUE_FLAG_SCSI_PASSTHROUGH 27 /* queue supports SCSI commands */ | 699 | #define QUEUE_FLAG_SCSI_PASSTHROUGH 27 /* queue supports SCSI commands */ |
| 700 | #define QUEUE_FLAG_QUIESCED 28 /* queue has been quiesced */ | 700 | #define QUEUE_FLAG_QUIESCED 28 /* queue has been quiesced */ |
| 701 | #define QUEUE_FLAG_PREEMPT_ONLY 29 /* only process REQ_PREEMPT requests */ | 701 | #define QUEUE_FLAG_PREEMPT_ONLY 29 /* only process REQ_PREEMPT requests */ |
| 702 | #define QUEUE_FLAG_PCI_P2PDMA 30 /* device supports PCI p2p requests */ | ||
| 702 | 703 | ||
| 703 | #define QUEUE_FLAG_DEFAULT ((1 << QUEUE_FLAG_IO_STAT) | \ | 704 | #define QUEUE_FLAG_DEFAULT ((1 << QUEUE_FLAG_IO_STAT) | \ |
| 704 | (1 << QUEUE_FLAG_SAME_COMP) | \ | 705 | (1 << QUEUE_FLAG_SAME_COMP) | \ |
| @@ -731,6 +732,8 @@ bool blk_queue_flag_test_and_clear(unsigned int flag, struct request_queue *q); | |||
| 731 | #define blk_queue_dax(q) test_bit(QUEUE_FLAG_DAX, &(q)->queue_flags) | 732 | #define blk_queue_dax(q) test_bit(QUEUE_FLAG_DAX, &(q)->queue_flags) |
| 732 | #define blk_queue_scsi_passthrough(q) \ | 733 | #define blk_queue_scsi_passthrough(q) \ |
| 733 | test_bit(QUEUE_FLAG_SCSI_PASSTHROUGH, &(q)->queue_flags) | 734 | test_bit(QUEUE_FLAG_SCSI_PASSTHROUGH, &(q)->queue_flags) |
| 735 | #define blk_queue_pci_p2pdma(q) \ | ||
| 736 | test_bit(QUEUE_FLAG_PCI_P2PDMA, &(q)->queue_flags) | ||
| 734 | 737 | ||
| 735 | #define blk_noretry_request(rq) \ | 738 | #define blk_noretry_request(rq) \ |
| 736 | ((rq)->cmd_flags & (REQ_FAILFAST_DEV|REQ_FAILFAST_TRANSPORT| \ | 739 | ((rq)->cmd_flags & (REQ_FAILFAST_DEV|REQ_FAILFAST_TRANSPORT| \ |
