]> 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)
commit7efbff50aece3d1442e65402cb492ee3ec572191
tree9416b12f2289b8cf9842a28db15e247c5c00987a
parent2e258a4eb05dcd3de96151b44eb62cda87636673
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