aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2014-05-06 09:36:08 +1000
committerNeilBrown <[email protected]>2014-05-06 09:49:31 +1000
commit0f62fb220aa4ebabe8547d3a9ce4a16d3c045f21 (patch)
tree7357293dea01b968a18a745640c8c15f93061ccc /tools/perf/util/trace-event-scripting.c
parentcc13b1d1500656a20e41960668f3392dda9fa6e2 (diff)
md: avoid possible spinning md thread at shutdown.
If an md array with externally managed metadata (e.g. DDF or IMSM) is in use, then we should not set safemode==2 at shutdown because: 1/ this is ineffective: user-space need to be involved in any 'safemode' handling, 2/ The safemode management code doesn't cope with safemode==2 on external metadata and md_check_recover enters an infinite loop. Even at shutdown, an infinite-looping process can be problematic, so this could cause shutdown to hang. Cc: [email protected] (any kernel) Signed-off-by: NeilBrown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions