diff options
| author | buhrow <buhrow@NetBSD.org> | 2011-05-24 07:33:41 +0000 |
|---|---|---|
| committer | buhrow <buhrow@NetBSD.org> | 2011-05-24 07:33:41 +0000 |
| commit | cd3abe3bb0efd8be93b9d99a674afae1ae7737b8 (patch) | |
| tree | e8f70194420b18bbfe22f33ae7da8b927b16afa1 /sys/dev/raidframe | |
| parent | 6db11ecf66e96052306a6459d1ee06e7cfec68c2 (diff) | |
Suggested to oster@ and approved via private e-mail as a help to
people who are getting reconstruction failures.
Diffstat (limited to 'sys/dev/raidframe')
| -rw-r--r-- | sys/dev/raidframe/rf_reconstruct.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/raidframe/rf_reconstruct.c b/sys/dev/raidframe/rf_reconstruct.c index 45a5061eced..e30b6784038 100644 --- a/sys/dev/raidframe/rf_reconstruct.c +++ b/sys/dev/raidframe/rf_reconstruct.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_reconstruct.c,v 1.113 2011/05/11 18:13:12 mrg Exp $ */ +/* $NetBSD: rf_reconstruct.c,v 1.114 2011/05/24 07:33:41 buhrow Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. * All rights reserved. @@ -33,7 +33,7 @@ ************************************************************/ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rf_reconstruct.c,v 1.113 2011/05/11 18:13:12 mrg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf_reconstruct.c,v 1.114 2011/05/24 07:33:41 buhrow Exp $"); #include <sys/param.h> #include <sys/time.h> @@ -1509,7 +1509,7 @@ ReconWriteDoneProc(void *arg, int status) Dprintf2("Reconstruction completed on psid %ld ru %d\n", rbuf->parityStripeID, rbuf->which_ru); if (status) { - printf("raid%d: Recon write failed!\n", rbuf->raidPtr->raidid); + printf("raid%d: Recon write failed (status %d(0x%x)!\n", rbuf->raidPtr->raidid,status,status); rf_CauseReconEvent(rbuf->raidPtr, rbuf->col, arg, RF_REVENT_WRITE_FAILED); return(0); } |
