diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2016-11-24 20:53:44 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2016-12-08 22:13:11 +0300 |
commit | affa9d28f7e9a802c8f497ed54fe79a5689d95e9 (patch) | |
tree | cebf2ead1388719608217faddd9fa5543e1b72b1 /init | |
parent | 54cd640d20de46bb54747286ca19f3995be921f2 (diff) | |
download | linux-affa9d28f7e9a802c8f497ed54fe79a5689d95e9.tar.xz |
dm raid: don't allow "write behind" with raid4/5/6
Remove CTR_FLAG_MAX_WRITE_BEHIND from raid4/5/6's valid ctr flags.
Only the md raid1 personality supports setting a maximum number
of "write behind" write IOs on any legs set to "write mostly".
"write mostly" enhances throughput with slow links/disks.
Technically the "write behind" value is a write intent bitmap
property only being respected by the raid1 personality. It allows a
maximum number of "write behind" writes to any "write mostly" raid1
mirror legs to be delayed and avoids reads from such legs.
No other MD personalities supported via dm-raid make use of "write
behind", thus setting this property is superfluous; it wouldn't cause
harm but it is correct to reject it.
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions