]> git.baikalelectronics.ru Git - kernel.git/commit
block: fix peeking requests during PM
authorChristoph Hellwig <hch@lst.de>
Fri, 20 Oct 2017 14:45:23 +0000 (16:45 +0200)
committerJens Axboe <axboe@kernel.dk>
Sat, 4 Nov 2017 14:17:06 +0000 (08:17 -0600)
commitde48bf773b090623fa80ceec95cd57cfd79af0b1
tree9416b12f2289b8cf9842a28db15e247c5c00987a
parentea9e563b9240ec76619b0931d96540678bf87544
block: fix peeking requests during PM

We need to look for an active PM request until the next softbarrier
instead of looking for the first non-PM request.  Otherwise any cause
of request reordering might starve the PM request(s).

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c