projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/block/skd_main.c
b/drivers/block/skd_main.c
index 9a9ec212fab8e6f329f351ef59adb38aca75ba64..41aaae30c00567cd75e3a97edfca66aa1e8753ea 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);