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: George Wilson george.wilson@delphix.com
Reviewed by: Christopher Siden christopher.siden@delphix.com
Reviewed by: Max Grossman max.grossman@delphix.com

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

Ported by: Turbo Fredriksson <turbo@bayour.com>
  • Loading branch information
ahrens authored and FransUrbo committed Sep 14, 2014
1 parent cd3939c commit 119a511
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 119a511

Please sign in to comment.