diff options
author | Dan Williams <[email protected]> | 2010-08-30 17:33:33 +1000 |
---|---|---|
committer | NeilBrown <[email protected]> | 2010-08-30 18:06:20 +1000 |
commit | bd52b746262c8d77e73903d6608014fb2fcdcd9d (patch) | |
tree | 5ee5789f1aae4b238d42c05672db90886b19280e /scripts/patch-kernel | |
parent | 7c44ece988a3419e51c833cf14be186a22224dd1 (diff) |
md: don't clear MD_CHANGE_CLEAN in md_update_sb() for external arrays
If this bit is cleared in md_update_sb() the kernel will allow writes to the
array if userspace triggers md_allow_write(), e.g. through stripe_cache_size,
when mdmon is not active. When mdmon is active the array transitions to
active-idle bypassing write-pending, setting up a race for mdmon to set the
array clean before a write arrives.
Signed-off-by: Dan Williams <[email protected]>
Signed-off-by: NeilBrown <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions