summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2013-04-24 05:42:40 +0400
committerNeilBrown <neilb@suse.de>2013-04-24 05:42:40 +0400
commitd87f064f5874ba60814c6ccac67104761be5b26c (patch)
treebbc599fc78742a23dc62e3414e00db649a1d697e /Makefile
parent824282ca7d250bd7c301f221c3cd902ce906d731 (diff)
downloadlinux-d87f064f5874ba60814c6ccac67104761be5b26c.tar.xz
md: never update metadata when array is read-only.
Normally we don't even try to update the metadata if the array is read-only. However future patches will increase the number of things that can happen on a read-only array, so it is safest to explicitly disable this. Every time that mddev->ro is set to 0, either - md_update_sb will be called again (at least if MD_CHANGE_DEVS is set) or - the mddev->thread is scheduled, which will also run md_update_sb if needed. So this is safe: if the array ever become read-write the metadata will be updated. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions