]> 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)
commit5b7dcafa8953757db84ad9ca84558efbd19ea817
tree375b099f3b56b2403b7e2802dd13afe42f2c5a11
parenta204636d21ef89e4b357fb33e24d7bd5e613247e
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: 16dd57a0 ("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