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:
aafb1ee
)
osdblk: switch to using blk_queue_write_cache()
author
Jens Axboe
<axboe@fb.com>
Wed, 30 Mar 2016 16:11:15 +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/osdblk.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/osdblk.c
b/drivers/block/osdblk.c
index 1b709a4e3b5ec62eaf9709b366ea11c0d097ffd3..c2854a2bfdb0bd1027fb4f10f2c39c8761d7d709 100644
(file)
--- a/
drivers/block/osdblk.c
+++ b/
drivers/block/osdblk.c
@@
-437,7
+437,7
@@
static int osdblk_init_disk(struct osdblk_device *osdev)
blk_queue_stack_limits(q, osd_request_queue(osdev->osd));
blk_queue_prep_rq(q, blk_queue_start_tag);
- blk_queue_
flush(q, REQ_FLUSH
);
+ blk_queue_
write_cache(q, true, false
);
disk->queue = q;