Message ID | 20210305174051.20097-2-tim.gardner@canonical.com |
---|---|
State | New |
Headers | show |
Series | Add FUA support to XFS | expand |
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 9eb91f690322..cbf8a17ae692 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -753,6 +753,7 @@ static inline void queue_flag_clear(unsigned int flag, struct request_queue *q) #define blk_queue_quiesced(q) test_bit(QUEUE_FLAG_QUIESCED, &(q)->queue_flags) #define blk_queue_preempt_only(q) \ test_bit(QUEUE_FLAG_PREEMPT_ONLY, &(q)->queue_flags) +#define blk_queue_fua(q) test_bit(QUEUE_FLAG_FUA, &(q)->queue_flags) extern int blk_set_preempt_only(struct request_queue *q); extern void blk_clear_preempt_only(struct request_queue *q);