diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2017-03-22 19:44:37 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2017-03-27 18:13:47 +0300 |
commit | 78e470c26f524f4706c2555613b9641d85190cbe (patch) | |
tree | dfc665acd9116cb93a2c11809758c13352950b62 /Documentation/device-mapper | |
parent | ff3af92b4461be773337111daea80bb91b2cd545 (diff) | |
download | linux-78e470c26f524f4706c2555613b9641d85190cbe.tar.xz |
md: add raid4/5/6 journal mode switching API
Commit 2ded370373a4 ("md/r5cache: State machine for raid5-cache write
back mode") added support for "write-back" caching on the raid journal
device.
In order to allow the dm-raid target to switch between the available
"write-through" and "write-back" modes, provide a new
r5c_journal_mode_set() API.
Use the new API in existing r5c_journal_mode_store()
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Acked-by: Shaohua Li <shli@fb.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'Documentation/device-mapper')
0 files changed, 0 insertions, 0 deletions