|
@@ -459,6 +459,7 @@ struct request_queue
|
|
|
#define QUEUE_FLAG_NONROT 14 /* non-rotational device (SSD) */
|
|
|
#define QUEUE_FLAG_VIRT QUEUE_FLAG_NONROT /* paravirt device */
|
|
|
#define QUEUE_FLAG_IO_STAT 15 /* do IO stats */
|
|
|
+#define QUEUE_FLAG_CQ 16 /* hardware does queuing */
|
|
|
|
|
|
#define QUEUE_FLAG_DEFAULT ((1 << QUEUE_FLAG_IO_STAT) | \
|
|
|
(1 << QUEUE_FLAG_CLUSTER) | \
|
|
@@ -581,6 +582,7 @@ enum {
|
|
|
|
|
|
#define blk_queue_plugged(q) test_bit(QUEUE_FLAG_PLUGGED, &(q)->queue_flags)
|
|
|
#define blk_queue_tagged(q) test_bit(QUEUE_FLAG_QUEUED, &(q)->queue_flags)
|
|
|
+#define blk_queue_queuing(q) test_bit(QUEUE_FLAG_CQ, &(q)->queue_flags)
|
|
|
#define blk_queue_stopped(q) test_bit(QUEUE_FLAG_STOPPED, &(q)->queue_flags)
|
|
|
#define blk_queue_nomerges(q) test_bit(QUEUE_FLAG_NOMERGES, &(q)->queue_flags)
|
|
|
#define blk_queue_nonrot(q) test_bit(QUEUE_FLAG_NONROT, &(q)->queue_flags)
|