diff options
author | Jens Axboe <axboe@fb.com> | 2016-03-30 10:11:42 -0600 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-04-12 16:00:39 -0600 |
commit | 6975f7327f62b7c545aeada57c40ba018d66c93c (patch) | |
tree | 1603f5ba7e3a186901b3df9137a53b99e598fda3 /drivers/block | |
parent | 177febc8430e0efa808caca721a59898c5422668 (diff) |
skd_main: switch to using blk_queue_write_cache()
Signed-off-by: Jens Axboe <axboe@fb.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/skd_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/skd_main.c b/drivers/block/skd_main.c index 9a9ec212fab8..41aaae30c005 100644 --- a/drivers/block/skd_main.c +++ b/drivers/block/skd_main.c @@ -4412,7 +4412,7 @@ static int skd_cons_disk(struct skd_device *skdev) disk->queue = q; q->queuedata = skdev; - blk_queue_flush(q, REQ_FLUSH | REQ_FUA); + blk_queue_write_cache(q, true, true); blk_queue_max_segments(q, skdev->sgs_per_request); blk_queue_max_hw_sectors(q, SKD_N_MAX_SECTORS); |