diff options
author | Heinz Mauelshagen <[email protected]> | 2017-12-02 01:03:59 +0100 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2017-12-08 10:59:57 -0500 |
commit | 188a212df1f3a2d7ea9bb0fc0ab4173042c23470 (patch) | |
tree | d6901e4be9de3cbf7a079c40cf823373482c6ef7 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 61e06e2c3ebd986050958513bfa40dceed756f8f (diff) |
dm raid: add component device size checks to avoid runtime failure
Check all component data device sizes versus calculated size.
Reject if device(s) are too small. Otherwise, MD will fail the
operation by accessing beyond the end of the data device.
An example use-case is that growing bitmap won't fit any more and the MD
runtime will report an error when DM raid should catch this earlier.
Signed-off-by: Heinz Mauelshagen <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions