diff options
| author | oster <oster@NetBSD.org> | 2008-04-20 20:42:32 +0000 |
|---|---|---|
| committer | oster <oster@NetBSD.org> | 2008-04-20 20:42:32 +0000 |
| commit | 5654bb482d9fe047d6235fbe359cb70cb297fdf4 (patch) | |
| tree | 740826ece4b1d108cf8d066068ce2831f5d65c99 /sys/dev/raidframe/rf_layout.c | |
| parent | 9abc85a7e2b76b0c7351f2e35ca930a2a04d0c32 (diff) | |
Introduce a function to return the default head separation for RAID 1
sets. This helps ensure that the sliding status window (coming soon!)
for reconstructs will always be correct.
Diffstat (limited to 'sys/dev/raidframe/rf_layout.c')
| -rw-r--r-- | sys/dev/raidframe/rf_layout.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/raidframe/rf_layout.c b/sys/dev/raidframe/rf_layout.c index a6769498867..926029a383c 100644 --- a/sys/dev/raidframe/rf_layout.c +++ b/sys/dev/raidframe/rf_layout.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_layout.c,v 1.18 2005/12/11 12:23:37 christos Exp $ */ +/* $NetBSD: rf_layout.c,v 1.19 2008/04/20 20:42:32 oster Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. * All rights reserved. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rf_layout.c,v 1.18 2005/12/11 12:23:37 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf_layout.c,v 1.19 2008/04/20 20:42:32 oster Exp $"); #include <dev/raidframe/raidframevar.h> @@ -244,7 +244,7 @@ static const RF_LayoutSW_t mapsw[] = { rf_IdentifyStripeRAID1, rf_RAID1DagSelect, rf_MapSIDToPSIDRAID1, - NULL, + rf_GetDefaultHeadSepLimitRAID1, NULL, NULL, NULL, rf_SubmitReconBufferRAID1, |
