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:
6975f73
)
ps3disk: switch to using blk_queue_write_cache()
author
Jens Axboe
<axboe@fb.com>
Wed, 30 Mar 2016 16:12:13 +0000
(10:12 -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/ps3disk.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/ps3disk.c
b/drivers/block/ps3disk.c
index c120d70d3fb3b31fdfb584859a8cdd5bf0849dab..4b7e405830d7ec097fcf26a51cb5edc268a74812 100644
(file)
--- a/
drivers/block/ps3disk.c
+++ b/
drivers/block/ps3disk.c
@@
-468,7
+468,7
@@
static int ps3disk_probe(struct ps3_system_bus_device *_dev)
blk_queue_dma_alignment(queue, dev->blk_size-1);
blk_queue_logical_block_size(queue, dev->blk_size);
- blk_queue_
flush(queue, REQ_FLUSH
);
+ blk_queue_
write_cache(queue, true, false
);
blk_queue_max_segments(queue, -1);
blk_queue_max_segment_size(queue, dev->bounce_size);