projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
md: implment REQ_FLUSH/FUA support
[deliverable/linux.git]
/
drivers
/
md
/
multipath.c
diff --git
a/drivers/md/multipath.c
b/drivers/md/multipath.c
index 0307d217e7a4c399f52550482cd945942d416d30..6d7ddf32ef2ec932040d0611cbf109b82a7a656c 100644
(file)
--- a/
drivers/md/multipath.c
+++ b/
drivers/md/multipath.c
@@
-142,8
+142,8
@@
static int multipath_make_request(mddev_t *mddev, struct bio * bio)
struct multipath_bh * mp_bh;
struct multipath_info *multipath;
- if (unlikely(bio->bi_rw & REQ_
HARDBARRIER
)) {
- md_
barrier
_request(mddev, bio);
+ if (unlikely(bio->bi_rw & REQ_
FLUSH
)) {
+ md_
flush
_request(mddev, bio);
return 0;
}
This page took
0.02591 seconds
and
5
git commands to generate.