blk-mq: pass a reserved argument to the timeout handler
authorChristoph Hellwig <hch@lst.de>
Sat, 13 Sep 2014 23:40:13 +0000 (16:40 -0700)
committerJens Axboe <axboe@fb.com>
Mon, 22 Sep 2014 18:00:07 +0000 (12:00 -0600)
commit0152fb6b57c4fae769ee75ea2ae670f4ff39fba9
treef59f4c6703c1914bc65607f21ae8c868b995f245
parent46f92d42ee37e10970e33891b7b61a342bd97aeb
blk-mq: pass a reserved argument to the timeout handler

Allow blk-mq to pass an argument to the timeout handler to indicate
if we're timing out a reserved or regular command.  For many drivers
those need to be handled different.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c
drivers/scsi/scsi_lib.c
include/linux/blk-mq.h