]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - block/blk-core.c
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)
commite4f36b249b4d4e7599f1cf0c8fb50f196e52677e
tree9416b12f2289b8cf9842a28db15e247c5c00987a
parent21e768b442bb587123ea924620e74d6e5655d717
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