Merge branch 'work.aio' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 8 Jun 2018 17:00:20 +0000 (10:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 8 Jun 2018 17:00:20 +0000 (10:00 -0700)
Pull aio iopriority support from Al Viro:
 "The rest of aio stuff for this cycle - Adam's aio ioprio series"

* 'work.aio' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
  fs: aio ioprio use ioprio_check_cap ret val
  fs: aio ioprio add explicit block layer dependence
  fs: iomap dio set bio prio from kiocb prio
  fs: blkdev set bio prio from kiocb prio
  fs: Add aio iopriority support
  fs: Convert kiocb rw_hint from enum to u16
  block: add ioprio_check_cap function

1  2 
drivers/block/loop.c
fs/block_dev.c
fs/iomap.c
include/linux/fs.h

Simple merge
diff --cc fs/block_dev.c
Simple merge
diff --cc fs/iomap.c
index 206539d369a84595d17ad95bccc3f388124774a4,65aae194aecaa927595a5737dd021d619b79ae9a..7d1e9f45f098c76647914d6bc4a9033e653ae20f
@@@ -1044,8 -916,10 +1044,9 @@@ iomap_dio_actor(struct inode *inode, lo
  
                bio = bio_alloc(GFP_KERNEL, nr_pages);
                bio_set_dev(bio, iomap->bdev);
 -              bio->bi_iter.bi_sector =
 -                      (iomap->addr + pos - iomap->offset) >> 9;
 +              bio->bi_iter.bi_sector = iomap_sector(iomap, pos);
                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;
  
Simple merge