projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
177febc
)
skd_main: switch to using blk_queue_write_cache()
author
Jens Axboe
<axboe@fb.com>
Wed, 30 Mar 2016 16:11:42 +0000
(10:11 -0600)
committer
Jens Axboe
<axboe@fb.com>
Tue, 12 Apr 2016 22:00:39 +0000
(16:00 -0600)
Signed-off-by: Jens Axboe <axboe@fb.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
drivers/block/skd_main.c
patch
|
blob
|
history
diff --git
a/drivers/block/skd_main.c
b/drivers/block/skd_main.c
index
9a9ec21
..
41aaae3
100644
(file)
--- 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);