diff options
author | Artur Paszkiewicz <artur.paszkiewicz@intel.com> | 2017-03-09 12:00:00 +0300 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2017-03-17 02:55:55 +0300 |
commit | 664aed04446c7f653d8acbe2cdf7989f28238524 (patch) | |
tree | c24892772b01314b2f060be64e3c7ae1f36e6298 /drivers/md/raid5-ppl.c | |
parent | 3418d036c81dcb604b7c7c71b209d5890a8418aa (diff) | |
download | linux-664aed04446c7f653d8acbe2cdf7989f28238524.tar.xz |
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-ppl.c')
0 files changed, 0 insertions, 0 deletions