|
@@ -609,7 +609,6 @@ struct request_queue {
|
|
|
#define QUEUE_FLAG_NOMERGES 5 /* disable merge attempts */
|
|
|
#define QUEUE_FLAG_SAME_COMP 6 /* complete on same CPU-group */
|
|
|
#define QUEUE_FLAG_FAIL_IO 7 /* fake timeout */
|
|
|
-#define QUEUE_FLAG_STACKABLE 8 /* supports request stacking */
|
|
|
#define QUEUE_FLAG_NONROT 9 /* non-rotational device (SSD) */
|
|
|
#define QUEUE_FLAG_VIRT QUEUE_FLAG_NONROT /* paravirt device */
|
|
|
#define QUEUE_FLAG_IO_STAT 10 /* do IO stats */
|
|
@@ -633,12 +632,10 @@ struct request_queue {
|
|
|
#define QUEUE_FLAG_QUIESCED 28 /* queue has been quiesced */
|
|
|
|
|
|
#define QUEUE_FLAG_DEFAULT ((1 << QUEUE_FLAG_IO_STAT) | \
|
|
|
- (1 << QUEUE_FLAG_STACKABLE) | \
|
|
|
(1 << QUEUE_FLAG_SAME_COMP) | \
|
|
|
(1 << QUEUE_FLAG_ADD_RANDOM))
|
|
|
|
|
|
#define QUEUE_FLAG_MQ_DEFAULT ((1 << QUEUE_FLAG_IO_STAT) | \
|
|
|
- (1 << QUEUE_FLAG_STACKABLE) | \
|
|
|
(1 << QUEUE_FLAG_SAME_COMP) | \
|
|
|
(1 << QUEUE_FLAG_POLL))
|
|
|
|
|
@@ -722,8 +719,6 @@ static inline void queue_flag_clear(unsigned int flag, struct request_queue *q)
|
|
|
#define blk_queue_nonrot(q) test_bit(QUEUE_FLAG_NONROT, &(q)->queue_flags)
|
|
|
#define blk_queue_io_stat(q) test_bit(QUEUE_FLAG_IO_STAT, &(q)->queue_flags)
|
|
|
#define blk_queue_add_random(q) test_bit(QUEUE_FLAG_ADD_RANDOM, &(q)->queue_flags)
|
|
|
-#define blk_queue_stackable(q) \
|
|
|
- test_bit(QUEUE_FLAG_STACKABLE, &(q)->queue_flags)
|
|
|
#define blk_queue_discard(q) test_bit(QUEUE_FLAG_DISCARD, &(q)->queue_flags)
|
|
|
#define blk_queue_secure_erase(q) \
|
|
|
(test_bit(QUEUE_FLAG_SECERASE, &(q)->queue_flags))
|