diff options
| author | jld <jld@NetBSD.org> | 2009-11-17 18:54:26 +0000 |
|---|---|---|
| committer | jld <jld@NetBSD.org> | 2009-11-17 18:54:26 +0000 |
| commit | f1a1ad338d086b6198a2a1eca916942518b76da5 (patch) | |
| tree | 83e0a061b6741378d421cd5477775dc7a9d3922d /sys/dev/raidframe/raidframeio.h | |
| parent | 77fd7698f3f73c4d07394834a84c76f09bd6fde6 (diff) | |
Finally commit the RAIDframe parity map Summer Of Code project.
Drastically reduces the amount of time spent rewriting parity after an
unclean shutdown by keeping better track of which regions might have had
outstanding writes. Enabled by default; can be disabled on a per-set
basis, or tuned, with the new raidctl(8) commands.
Discussed on tech-kern@ to a general air of approval; exhortations to
commit from mrg@, christos@, and others.
Thanks to Google for their sponsorship, oster@ for mentoring the
project, assorted developers for trying very hard to break it, and
probably more I'm forgetting.
Diffstat (limited to 'sys/dev/raidframe/raidframeio.h')
| -rw-r--r-- | sys/dev/raidframe/raidframeio.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/raidframe/raidframeio.h b/sys/dev/raidframe/raidframeio.h index 8b27d0426de..fbff4099cca 100644 --- a/sys/dev/raidframe/raidframeio.h +++ b/sys/dev/raidframe/raidframeio.h @@ -1,4 +1,4 @@ -/* $NetBSD: raidframeio.h,v 1.5 2009/01/18 16:37:19 christos Exp $ */ +/* $NetBSD: raidframeio.h,v 1.6 2009/11/17 18:54:26 jld Exp $ */ /*- * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc. * All rights reserved. @@ -127,4 +127,9 @@ #define RAIDFRAME_CONFIGURE _IOW ('r', 35, void *) /* configure the driver */ #define RAIDFRAME_GET_INFO _IOWR('r', 36, RF_DeviceConfig_t *) /* get configuration */ +#define RAIDFRAME_PARITYMAP_STATUS _IOR('r', 37, struct rf_pmstat) +#define RAIDFRAME_PARITYMAP_GET_DISABLE _IOR('r', 38, int) +#define RAIDFRAME_PARITYMAP_SET_DISABLE _IOW('r', 39, int) +#define RAIDFRAME_PARITYMAP_SET_PARAMS _IOW('r', 40, struct rf_pmparams) + #endif /* !_RF_RAIDFRAMEIO_H_ */ |
