diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2017-08-23 20:56:29 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-08-23 21:02:30 +0300 |
commit | 130d733a616372ba5d375f9ca8da9378924b6889 (patch) | |
tree | 55af1bd8860198819d8654e0ae8e2629da627565 /block/partitions/efi.c | |
parent | 2f54a613c9421ddd5897f861145ed0b8615a2ec4 (diff) | |
download | linux-130d733a616372ba5d375f9ca8da9378924b6889.tar.xz |
block: Warn if blk_queue_rq_timed_out() is called for a blk-mq queue
The timeout handler set by blk_queue_rq_timed_out() is only used
in single queue mode. Calling this function for blk-mq drivers is
wrong. Hence issue a warning if this function is called by a blk-mq
driver.
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/partitions/efi.c')
0 files changed, 0 insertions, 0 deletions