diff --git a/fs/block_dev.c b/fs/block_dev.c index 9fe56672cfe51a0f645e632c2bc7189e2f5c640d..e72b119ede84f718c4aaedbeb4ca6587edadfdde 100644 --- a/fs/block_dev.c +++ b/fs/block_dev.c @@ -383,6 +383,9 @@ __blkdev_direct_IO(struct kiocb *iocb, struct iov_iter *iter, int nr_pages) nr_pages = iov_iter_npages(iter, BIO_MAX_PAGES); if (!nr_pages) { + if (iocb->ki_flags & IOCB_HIPRI) + bio->bi_opf |= REQ_HIPRI; + qc = submit_bio(bio); break; }