diff options
author | 2011-05-11 14:26:20 +1000 | |
---|---|---|
committer | 2011-05-11 14:26:20 +1000 | |
commit | bedd86b7773fd97f0d708cc0c371c8963ba7ba9a (patch) | |
tree | acc508209cdc418fcfe9a1493915dfa88c22bc29 /tools/perf/scripts/python | |
parent | md: Fix race when creating a new md device. (diff) | |
download | wireguard-linux-bedd86b7773fd97f0d708cc0c371c8963ba7ba9a.tar.xz wireguard-linux-bedd86b7773fd97f0d708cc0c371c8963ba7ba9a.zip |
md: reject a re-add request that cannot be honoured.
The 'add_new_disk' ioctl can be used to add a device either as a
spare, or as an active disk that just needs to be resynced based on
write-intent-bitmap information (re-add)
Currently if a re-add is requested but fails we add as a spare
instead. This makes it impossible for user-space to check for
failure.
So change to require that a re-add attempt will either succeed or
completely fail. User-space can then decide what to do next.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions