]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: don't time out requests again that are in the timeout handler
authorChristoph Hellwig <hch@lst.de>
Thu, 14 Jun 2018 11:58:45 +0000 (13:58 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 14 Jun 2018 14:39:46 +0000 (08:39 -0600)
commit376fbd339f63429b23a80f81a5894ae61824e70c
tree375b099f3b56b2403b7e2802dd13afe42f2c5a11
parentf5d6c38751c434476edc1de9ba4282c51eb932c8
blk-mq: don't time out requests again that are in the timeout handler

We can currently call the timeout handler again on a request that has
already been handed over to the timeout handler.  Prevent that with a new
flag.

Fixes: 1a2411e9 ("blk-mq: Remove generation seqeunce")
Reported-by: Andrew Randrianasulu <randrianasulu@gmail.com>
Tested-by: Andrew Randrianasulu <randrianasulu@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c
include/linux/blkdev.h