aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid1.c
diff options
context:
space:
mode:
authorGuoqing Jiang <guoqing.jiang@cloud.ionos.com>2019-12-23 10:48:56 +0100
committerSong Liu <songliubraving@fb.com>2020-01-13 11:44:09 -0800
commit3938f5fb82aedbf39792ffee448c61c819e6ab38 (patch)
tree23865cd56308cae6332a4239f3e1ede1751a3311 /drivers/md/raid1.c
parentmd: prepare for enable raid1 io serialization (diff)
downloadlinux-dev-3938f5fb82aedbf39792ffee448c61c819e6ab38.tar.xz
linux-dev-3938f5fb82aedbf39792ffee448c61c819e6ab38.zip
md: add serialize_policy sysfs node for raid1
With the new sysfs node, we can use it to control if raid1 array wants io serialization or not. So mddev_create_serial_pool and mddev_destroy_serial_pool are called in serialize_policy_store to enable or disable the serialization. Signed-off-by: Guoqing Jiang <guoqing.jiang@cloud.ionos.com> Signed-off-by: Song Liu <songliubraving@fb.com>
Diffstat (limited to 'drivers/md/raid1.c')
0 files changed, 0 insertions, 0 deletions