]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfd7c642c0e5e3e951a4d0169dfeb63663771d0d4
treef59f4c6703c1914bc65607f21ae8c868b995f245
parente82633b2ac5fb7d44ccd4ffac6b9ea2e50fa4a30
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