Now, when force device destruction is done on shutdown, hide warning,
that device cannot be destroyed immediately, under debug=1. Suggested by: simon
This commit is contained in:
parent
e306ffca86
commit
4485f00081
@ -2536,7 +2536,7 @@ g_mirror_destroy(struct g_mirror_softc *sc, boolean_t force)
|
||||
pp = sc->sc_provider;
|
||||
if (pp != NULL && (pp->acr != 0 || pp->acw != 0 || pp->ace != 0)) {
|
||||
if (force) {
|
||||
G_MIRROR_DEBUG(0, "Device %s is still open, so it "
|
||||
G_MIRROR_DEBUG(1, "Device %s is still open, so it "
|
||||
"can't be definitely removed.", pp->name);
|
||||
} else {
|
||||
G_MIRROR_DEBUG(1,
|
||||
|
@ -2765,7 +2765,7 @@ g_raid3_destroy(struct g_raid3_softc *sc, boolean_t force)
|
||||
pp = sc->sc_provider;
|
||||
if (pp != NULL && (pp->acr != 0 || pp->acw != 0 || pp->ace != 0)) {
|
||||
if (force) {
|
||||
G_RAID3_DEBUG(0, "Device %s is still open, so it "
|
||||
G_RAID3_DEBUG(1, "Device %s is still open, so it "
|
||||
"can't be definitely removed.", pp->name);
|
||||
} else {
|
||||
G_RAID3_DEBUG(1,
|
||||
|
Loading…
Reference in New Issue
Block a user