diff options
author | Jens Axboe <axboe@fb.com> | 2015-01-23 14:18:49 -0700 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-01-23 14:18:49 -0700 |
commit | a4a1cc16a72fd957b4cc2bda12479117f5bec8f8 (patch) | |
tree | ae43584c8b2d1f244653691a606071f2524bd6ee /drivers/block | |
parent | 121c7ad4ef3f3a9e697c4b8b78d74e4d6847d9e4 (diff) | |
parent | 24391c0dc57c3756a219defaa781e68637d6ab7d (diff) |
Merge branch 'for-3.20/core' into for-3.20/drivers
We need the tagging changes for the libata conversion.
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/drbd/drbd_receiver.c | 2 | ||||
-rw-r--r-- | drivers/block/osdblk.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/drbd/drbd_receiver.c b/drivers/block/drbd/drbd_receiver.c index d169b4a7926..cee20354ac3 100644 --- a/drivers/block/drbd/drbd_receiver.c +++ b/drivers/block/drbd/drbd_receiver.c @@ -1388,7 +1388,7 @@ int drbd_submit_peer_request(struct drbd_device *device, list_add_tail(&peer_req->w.list, &device->active_ee); spin_unlock_irq(&device->resource->req_lock); if (blkdev_issue_zeroout(device->ldev->backing_bdev, - sector, data_size >> 9, GFP_NOIO)) + sector, data_size >> 9, GFP_NOIO, false)) peer_req->flags |= EE_WAS_ERROR; drbd_endio_write_sec_final(peer_req); return 0; diff --git a/drivers/block/osdblk.c b/drivers/block/osdblk.c index 79aa179305b..e2294259620 100644 --- a/drivers/block/osdblk.c +++ b/drivers/block/osdblk.c @@ -423,7 +423,7 @@ static int osdblk_init_disk(struct osdblk_device *osdev) } /* switch queue to TCQ mode; allocate tag map */ - rc = blk_queue_init_tags(q, OSDBLK_MAX_REQ, NULL); + rc = blk_queue_init_tags(q, OSDBLK_MAX_REQ, NULL, BLK_TAG_ALLOC_FIFO); if (rc) { blk_cleanup_queue(q); put_disk(disk); |