Skip to content
Commit 8b9e2291 authored by Xiao Ni's avatar Xiao Ni Committed by Jens Axboe
Browse files

md: update superblock after changing rdev flags in state_store



When the in memory flag is changed, we need to persist the change in the
rdev superblock flags. This is needed for "writemostly" and "failfast".

Reviewed-by: default avatarLi Feng <fengli@smartx.com>
Signed-off-by: default avatarXiao Ni <xni@redhat.com>
Signed-off-by: default avatarSong Liu <songliubraving@fb.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 54679486
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment