aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid5.c
diff options
context:
space:
mode:
authorArtur Paszkiewicz <artur.paszkiewicz@intel.com>2017-03-09 10:00:00 +0100
committerShaohua Li <shli@fb.com>2017-03-16 16:55:55 -0700
commit664aed04446c7f653d8acbe2cdf7989f28238524 (patch)
treec24892772b01314b2f060be64e3c7ae1f36e6298 /drivers/md/raid5.c
parentraid5-ppl: Partial Parity Log write logging implementation (diff)
downloadlinux-dev-664aed04446c7f653d8acbe2cdf7989f28238524.tar.xz
linux-dev-664aed04446c7f653d8acbe2cdf7989f28238524.zip
md: add sysfs entries for PPL
Add 'consistency_policy' attribute for array. It indicates how the array maintains consistency in case of unexpected shutdown. Add 'ppl_sector' and 'ppl_size' for rdev, which describe the location and size of the PPL space on the device. They can't be changed for active members if the array is started and PPL is enabled, so in the setter functions only basic checks are performed. More checks are done in ppl_validate_rdev() when starting the log. These attributes are writable to allow enabling PPL for external metadata arrays and (later) to enable/disable PPL for a running array. Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com> Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/md/raid5.c')
0 files changed, 0 insertions, 0 deletions