projects
/
GitHub
/
LineageOS
/
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:
56883a7
)
mmc/block: switch to using blk_queue_write_cache()
author
Jens Axboe
<axboe@fb.com>
Wed, 30 Mar 2016 16:17:20 +0000
(10:17 -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/mmc/card/block.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/card/block.c
b/drivers/mmc/card/block.c
index 3bdbe50a363f3250958887170b7162f3de4711f7..32daf433a9fb2622f28b97d8348d3e17c1f93c62 100644
(file)
--- a/
drivers/mmc/card/block.c
+++ b/
drivers/mmc/card/block.c
@@
-2286,7
+2286,7
@@
static struct mmc_blk_data *mmc_blk_alloc_req(struct mmc_card *card,
((card->ext_csd.rel_param & EXT_CSD_WR_REL_PARAM_EN) ||
card->ext_csd.rel_sectors)) {
md->flags |= MMC_BLK_REL_WR;
- blk_queue_
flush(md->queue.queue, REQ_FLUSH | REQ_FUA
);
+ blk_queue_
write_cache(md->queue.queue, true, true
);
}
if (mmc_card_mmc(card) &&