History

block: remove QUEUE_FLAG_BYPASS and ->bypass

Unused since the removal of the legacy request code.

Christoph Hellwig committed 8 years ago

Commit 8f4236d1 parent e96c0d86 files · +1 −48Browse files

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

Unified · Split

include/linux/blkdev.h+0−3
@@ -548,7 +548,6 @@ struct request_queue { · 547 unmodified lines
548548
549549 struct mutex sysfs_lock;
550550
551− int bypass_depth;
552551 atomic_t mq_freeze_depth;
553552
554553 #if defined(CONFIG_BLK_DEV_BSG)
@@ -586,7 +585,6 @@ struct request_queue { · 31 unmodified lines
586585
587586 #define QUEUE_FLAG_STOPPED 1 /* queue is stopped */
588587 #define QUEUE_FLAG_DYING 2 /* queue being torn down */
589−#define QUEUE_FLAG_BYPASS 3 /* act as dumb FIFO queue */
590588 #define QUEUE_FLAG_BIDI 4 /* queue supports bidi requests */
591589 #define QUEUE_FLAG_NOMERGES 5 /* disable merge attempts */
592590 #define QUEUE_FLAG_SAME_COMP 6 /* complete on same CPU-group */
@@ -630,7 +628,6 @@ bool blk_queue_flag_test_and_clear(unsigned int flag, struct request_queue *q); · 37 unmodified lines
630628 #define blk_queue_stopped(q) test_bit(QUEUE_FLAG_STOPPED, &(q)->queue_flags)
631629 #define blk_queue_dying(q) test_bit(QUEUE_FLAG_DYING, &(q)->queue_flags)
632630 #define blk_queue_dead(q) test_bit(QUEUE_FLAG_DEAD, &(q)->queue_flags)
633−#define blk_queue_bypass(q) test_bit(QUEUE_FLAG_BYPASS, &(q)->queue_flags)
634631 #define blk_queue_init_done(q) test_bit(QUEUE_FLAG_INIT_DONE, &(q)->queue_flags)
635632 #define blk_queue_nomerges(q) test_bit(QUEUE_FLAG_NOMERGES, &(q)->queue_flags)
636633 #define blk_queue_noxmerges(q) \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t