projects
/
cascardo
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a98239d
)
md: update to using blk_queue_write_cache()
author
Jens Axboe
<axboe@fb.com>
Wed, 30 Mar 2016 16:16:53 +0000
(10:16 -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/md/md.c
patch
|
blob
|
history
diff --git
a/drivers/md/md.c
b/drivers/md/md.c
index
194580f
..
5d61e76
100644
(file)
--- a/
drivers/md/md.c
+++ b/
drivers/md/md.c
@@
-5037,7
+5037,7
@@
static int md_alloc(dev_t dev, char *name)
disk->fops = &md_fops;
disk->private_data = mddev;
disk->queue = mddev->queue;
- blk_queue_
flush(mddev->queue, REQ_FLUSH | REQ_FUA
);
+ blk_queue_
write_cache(mddev->queue, true, true
);
/* Allow extended partitions. This makes the
* 'mdp' device redundant, but we can't really
* remove it now.