Only works for the generic request timer handling. Allows one to sporadically ignore request completions, thus exercising the timeout handling.
Showing the changes to include/linux/blkdev.h (1 of 6 files). Show all
Unified · Split
| @@ -440,6 +440,7 @@ struct request_queue · 439 unmodified lines | ||
| 440 | 440 | #define QUEUE_FLAG_BIDI 9 /* queue supports bidi requests */ |
| 441 | 441 | #define QUEUE_FLAG_NOMERGES 10 /* disable merge attempts */ |
| 442 | 442 | #define QUEUE_FLAG_SAME_COMP 11 /* force complete on same CPU */ |
| 443 | +#define QUEUE_FLAG_FAIL_IO 12 /* fake timeout */ | |
| 443 | 444 | |
| 444 | 445 | static inline int queue_is_locked(struct request_queue *q) |
| 445 | 446 | { |