Skip to content

Commit

Permalink
dm mpath: support barriers
Browse files Browse the repository at this point in the history
Flush support for dm-multipath target.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
  • Loading branch information
Mikulas Patocka authored and Alasdair G Kergon committed Jun 22, 2009
1 parent c927259 commit 8627921
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/md/dm-mpath.c
Original file line number Diff line number Diff line change
Expand Up @@ -835,6 +835,8 @@ static int multipath_ctr(struct dm_target *ti, unsigned int argc,
goto bad;
}

ti->num_flush_requests = 1;

return 0;

bad:
Expand Down

0 comments on commit 8627921

Please sign in to comment.