master - wipe_lv: make error a fatal event
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=edbc5a62b26806e5c4de59b5292609e955303576 Commit: edbc5a62b26806e5c4de59b5292609e955303576 Parent: 6eb9eba59bf53101b5148ace3ddaf4140592495f Author: Zdenek Kabelac <[email protected]> AuthorDate: Tue Jun 23 13:56:15 2020 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Wed Jun 24 15:01:03 2020 +0200
wipe_lv: make error a fatal event
Failure in wiping/zeroing stop the command.
If user wants to avoid command abortion he should use -Zn or -Wn to avoid wiping.
Note: there is no easy way to distinguish which kind of failure has happend - so it's safe to not proceed any futher.
--- WHATS_NEW | 1 + lib/metadata/lv_manip.c | 43 ++++++++++++++++++++++++------------------- 2 files changed, 25 insertions(+), 19 deletions(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.03.10 - ================================= + Failure in zeroing or wiping will fail command (bypass with -Zn, -Wn). Fix running out of free buffers for async writing for larger writes. Add integrity with raid capability. Fix support for lvconvert --repair used by foreign apps (i.e. Docker).
lib/metadata/lv_manip.c +24 -19
76 lines not on this page · raw message