Skip to content

Commit

Permalink
Illumos 5140 - message about "%recv could not be opened" is printed w…
Browse files Browse the repository at this point in the history
…hen booting 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]>

References:
  https://www.illumos.org/projects/illumos-gate//issues/5140
  illumos/illumos-gate@2243853

Ported by: Turbo Fredriksson <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #2676
  • Loading branch information
ahrens authored and behlendorf committed Sep 18, 2014
1 parent 71bd064 commit 6d9036f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion module/zfs/zil.c
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,15 @@ 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 6d9036f

Please sign in to comment.