block: clear REQ_HIPRI if polling is not supported
authorChristoph Hellwig <hch@lst.de>
Fri, 14 Dec 2018 16:21:22 +0000 (17:21 +0100)
committerJens Axboe <axboe@kernel.dk>
Sun, 16 Dec 2018 16:01:38 +0000 (09:01 -0700)
commitd04c406f29d9f4dbcb5eb5aa79ce0445c7e9d652
tree34fac229a9abf2d6b9e9fe98b01118485bfeeced
parentd6a51a97c0b2e21fec224746c2683ff739bcf4ae
block: clear REQ_HIPRI if polling is not supported

This prevents a HIPRI bio from being submitted through a stacking
driver that does not support polling and thus won't poll for I/O
completion.

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