projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
074111c
)
fs: iomap dio set bio prio from kiocb prio
author
Adam Manzanares
<
[email protected]
>
Tue, 22 May 2018 17:52:21 +0000
(10:52 -0700)
committer
Al Viro
<
[email protected]
>
Thu, 31 May 2018 14:50:56 +0000
(10:50 -0400)
Now that kiocb has an ioprio field copy this over to the bio when it is
created from the kiocb during direct IO.
Signed-off-by: Adam Manzanares <
[email protected]
>
Reviewed-by: Jeff Moyer <
[email protected]
>
Reviewed-by: Christoph Hellwig <
[email protected]
>
Signed-off-by: Al Viro <
[email protected]
>
fs/iomap.c
patch
|
blob
|
history
diff --git
a/fs/iomap.c
b/fs/iomap.c
index afd163586aa079f25ea86e5f56f8d85f25f2af68..65aae194aecaa927595a5737dd021d619b79ae9a 100644
(file)
--- a/
fs/iomap.c
+++ b/
fs/iomap.c
@@
-919,6
+919,7
@@
iomap_dio_actor(struct inode *inode, loff_t pos, loff_t length,
bio->bi_iter.bi_sector =
(iomap->addr + pos - iomap->offset) >> 9;
bio->bi_write_hint = dio->iocb->ki_hint;
+ bio->bi_ioprio = dio->iocb->ki_ioprio;
bio->bi_private = dio;
bio->bi_end_io = iomap_dio_bio_end_io;