diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-02-24 18:45:57 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-02-24 18:45:57 -0700 |
commit | 140d3685fbe10c4cbb6afb2ccde820a49903d982 (patch) | |
tree | c201be2d09841aa9e67dc53de6c4c019c716253e /ANNOUNCE-2.1 | |
parent | efb30e7f1ed59e4f5da95c96a76080ea75b876f9 (diff) | |
download | mdadm-140d3685fbe10c4cbb6afb2ccde820a49903d982.tar.gz mdadm-140d3685fbe10c4cbb6afb2ccde820a49903d982.tar.xz mdadm-140d3685fbe10c4cbb6afb2ccde820a49903d982.zip |
mdmon: fix missed 'clean' event
mdmon may miss events because it re-reads state after read_and_act. The
additional read is used to determine dirty status before allowing a
sigterm to proceed. Since read_and_act is in the best position to
determine 'dirty' status and its return value is not used, modify it to
return true if the array is dirty.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'ANNOUNCE-2.1')
0 files changed, 0 insertions, 0 deletions