Message ID | 20160302211920.GH3476@redhat.com (mailing list archive) |
---|---|
State | Rejected, archived |
Delegated to: | Mike Snitzer |
Headers | show |
Index: rhvgoyal-linux/drivers/md/dm.c =================================================================== --- rhvgoyal-linux.orig/drivers/md/dm.c 2016-03-02 19:19:12.301000000 +0000 +++ rhvgoyal-linux/drivers/md/dm.c 2016-03-02 21:11:01.357000000 +0000 @@ -1769,6 +1769,7 @@ static blk_qc_t dm_make_request(struct r generic_start_io_acct(rw, bio_sectors(bio), &dm_disk(md)->part0); + bio_associate_current(bio); /* if we're suspended, we have to queue this io for later */ if (unlikely(test_bit(DMF_BLOCK_IO_FOR_SUSPEND, &md->flags))) { dm_put_live_table(md, srcu_idx);