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:
519a7e1
)
xen-blkfront: switch to using blk_queue_write_cache()
author
Jens Axboe
<axboe@fb.com>
Wed, 30 Mar 2016 16:15:21 +0000
(10:15 -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/xen-blkfront.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/xen-blkfront.c
b/drivers/block/xen-blkfront.c
index 6405b65577926876587300e535490badf71f3414..ca13df8546396cf6a7dd72c3a288f27623681baf 100644
(file)
--- a/
drivers/block/xen-blkfront.c
+++ b/
drivers/block/xen-blkfront.c
@@
-998,7
+998,8
@@
static const char *flush_info(unsigned int feature_flush)
static void xlvbd_flush(struct blkfront_info *info)
{
- blk_queue_flush(info->rq, info->feature_flush);
+ blk_queue_write_cache(info->rq, info->feature_flush & REQ_FLUSH,
+ info->feature_flush & REQ_FUA);
pr_info("blkfront: %s: %s %s %s %s %s\n",
info->gd->disk_name, flush_info(info->feature_flush),
"persistent grants:", info->feature_persistent ?