Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/raidframe Suggested to oster@ and approved via priva...
details: https://anonhg.NetBSD.org/src/rev/1944b1e27897
branches: trunk
changeset: 765316:1944b1e27897
user: buhrow <buhrow%NetBSD.org@localhost>
date: Tue May 24 07:33:41 2011 +0000
description:
Suggested to oster@ and approved via private e-mail as a help to
people who are getting reconstruction failures.
diffstat:
sys/dev/raidframe/rf_reconstruct.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 8e31b399d39d -r 1944b1e27897 sys/dev/raidframe/rf_reconstruct.c
--- a/sys/dev/raidframe/rf_reconstruct.c Tue May 24 07:02:08 2011 +0000
+++ b/sys/dev/raidframe/rf_reconstruct.c Tue May 24 07:33:41 2011 +0000
@@ -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 @@
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);
}
Home |
Main Index |
Thread Index |
Old Index