Skip to content

Commit

Permalink
5140 message about "%recv could not be opened" is printed when bootin…
Browse files Browse the repository at this point in the history
…g after crash

Reviewed by: Christopher Siden <[email protected]>
Reviewed by: George Wilson <[email protected]>
Reviewed by: Max Grossman <[email protected]>
Reviewed by: Richard Elling <[email protected]>
Approved by: Dan McDonald <[email protected]>
  • Loading branch information
ahrens authored and Christopher Siden committed Sep 11, 2014
1 parent 7fa49ea commit 2243853
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion usr/src/uts/common/fs/zfs/zil.c
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,14 @@ zil_claim(const char *osname, void *txarg)

error = dmu_objset_own(osname, DMU_OST_ANY, B_FALSE, FTAG, &os);
if (error != 0) {
cmn_err(CE_WARN, "can't open objset for %s", osname);
/*
* EBUSY indicates that the objset is inconsistent, in which
* case it can not have a ZIL.
*/
if (error != EBUSY) {
cmn_err(CE_WARN, "can't open objset for %s, error %u",
osname, error);
}
return (0);
}

Expand Down

0 comments on commit 2243853

Please sign in to comment.