Merge tag 'v4.13-rc7' into for-4.14/block-postmerge
authorJens Axboe <axboe@kernel.dk>
Mon, 28 Aug 2017 19:00:44 +0000 (13:00 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 28 Aug 2017 19:00:44 +0000 (13:00 -0600)
Linux 4.13-rc7

Signed-off-by: Jens Axboe <axboe@kernel.dk>
21 files changed:
1  2 
MAINTAINERS
block/bfq-iosched.h
block/bio-integrity.c
block/blk-mq-debugfs.c
block/blk-mq.c
block/blk-throttle.c
drivers/block/loop.c
drivers/block/virtio_blk.c
drivers/block/xen-blkfront.c
drivers/block/zram/zram_drv.c
drivers/md/md.c
drivers/md/raid5-cache.c
drivers/nvme/host/core.c
fs/btrfs/disk-io.c
fs/btrfs/raid56.c
fs/btrfs/volumes.c
fs/iomap.c
include/linux/blkdev.h
include/linux/fs.h
kernel/cgroup/cgroup.c
mm/page_io.c

diff --cc MAINTAINERS
Simple merge
Simple merge
index 553d75e357b4a456fd7524edf46a23711f161a7c,9b1ea478577b033195f34b457c85ad16eb759c6a..5df32907ff3bf8f7219f7518edbfe05850f46ea1
@@@ -385,12 -387,11 +385,11 @@@ static void bio_integrity_verify_fn(str
   */
  bool __bio_integrity_endio(struct bio *bio)
  {
 -      struct blk_integrity *bi = bdev_get_integrity(bio->bi_bdev);
 +      struct blk_integrity *bi = blk_get_integrity(bio->bi_disk);
+       struct bio_integrity_payload *bip = bio_integrity(bio);
  
        if (bio_op(bio) == REQ_OP_READ && !bio->bi_status &&
-           bi->profile->verify_fn) {
-               struct bio_integrity_payload *bip = bio_integrity(bio);
+           (bip->bip_flags & BIP_BLOCK_INTEGRITY) && bi->profile->verify_fn) {
                INIT_WORK(&bip->bip_work, bio_integrity_verify_fn);
                queue_work(kintegrityd_wq, &bip->bip_work);
                return false;
Simple merge
diff --cc block/blk-mq.c
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc drivers/md/md.c
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc fs/iomap.c
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc mm/page_io.c
index 9cf1bc751d790ab154332cf7de2af9007f56c7ef,5f61b54ee1f38e0bb7ae7bee3efe3257f8967a44..868e7a96bf8a39aa9cd4ad5606db1a0eb0f080d8
@@@ -378,7 -379,12 +380,12 @@@ int swap_readpage(struct page *page, bo
                ret = -ENOMEM;
                goto out;
        }
 -      bdev = bio->bi_bdev;
+       /*
+        * Keep this task valid during swap readpage because the oom killer may
+        * attempt to access it in the page fault retry time check.
+        */
+       get_task_struct(current);
 +      disk = bio->bi_disk;
        bio->bi_private = current;
        bio_set_op_attrs(bio, REQ_OP_READ, 0);
        count_vm_event(PSWPIN);