summaryrefslogtreecommitdiffstats
path: root/sbin/geom/class/raid3
Commit message (Collapse)AuthorAgeFilesLines
* Fix formatting of cross-references.brucec2011-01-121-2/+2
|
* Fix sorting of cross-references.brucec2011-01-121-1/+1
|
* Fix cross-reference to gvinum(8).brucec2011-01-121-1/+1
|
* Sector size can not be greater than MAXPHYS. Since GRAID3 calculatesae2011-01-121-0/+5
| | | | | | | | sector size from user-specified block size, report to user about big blocksize. PR: kern/147851 MFC after: 1 week
* Rename the generic "CLASS" to the more specific "GEOM_CLASS".obrien2010-12-151-1/+1
| | | | | | While I'm here remove redundancy and inconsistencies. Obtained from: Juniper Networks
* Replace strlen(_PATH_DEV) with sizeof(_PATH_DEV) - 1.ae2010-10-091-2/+2
| | | | | | Suggested by: kib Approved by: kib (mentor) MFC after: 5 days
* mdoc: drop redundant .Pp and .LP callsuqs2010-10-081-1/+0
| | | | They have no effect when coming in pairs, or before .Bl/.Bd
* - Remove gc_argname field. It was introduced for gpart(8), but if Ipjd2010-09-131-12/+10
| | | | | | | understand everything correctly, we don't really need it. - Provide default numeric value as strings. This allows to simplify a lot of code. - Bump version number.
* For completeness, add -s argument, manually specifying array block size.mav2010-01-052-3/+13
|
* Add gpart(8).marcel2007-05-151-8/+8
| | | | | | | In order to support gpart(8), geom(8) needs to support a named argument. Also, optional string parameters are a requirement. Both have been added to the infrastructure. The former required all existing classes to be adjusted.
* Bump .Dd for -f|-F.ceri2006-11-021-1/+1
|
* Now, that we have gjournal in the tree add possibility to configurepjd2006-11-012-7/+20
| | | | | | gmirror and graid3 in a way that it is not resynchronized after a power failure or system crash. It is safe when gjournal is running on top of gmirror/graid3.
* Be sure to not create device whichpjd2006-10-101-0/+1
|
* MFp4: G_TYPE_BOOL sounds much better than G_TYPE_NONE.pjd2006-09-301-14/+14
| | | | Changes: 98722
* Remove trailing spaces.pjd2006-02-011-2/+2
|
* - The geom(8) utility only uses three types of arguments: string (char *),pjd2005-12-071-81/+35
| | | | | | | | | | | | | | | | | value (intmax_t) and boolean (int). Based on that provide three functions: - gctl_get_ascii() - gctl_get_int() - gctl_get_intmax() - Hide gctl_get_param() function, as it is only used internally in subr.c. - Allow to provide argument name as (fmt, ...). - Assert geom(8) bugs (missing argument is a geom(8) bug). - Clean-up and simplify the code by using new functions and assumtions (no more checking for missing argument). Tested by: regression tests
* Move function for calculating number of bits into more central place.pjd2005-08-191-6/+1
| | | | | | I want to use it so more. MFC after: 3 days
* Don't forget to initialize 'id' field.pjd2005-07-131-0/+1
| | | | MFC after: 3 days
* Define subcommands' usage inside g_command structure.pjd2005-03-141-24/+19
| | | | MFC after: 1 week
* Instead of documenting every standard subcommand's argument everywhere,pjd2005-03-141-14/+8
| | | | | | just leave reference to geom(8). MFC after: 1 week
* - Document 'status' subcommand.pjd2005-03-131-3/+9
| | | | | | - Update copyrights. MFC after: 1 week
* - Add md_provsize field to metadata, which will help withpjd2005-02-271-4/+6
| | | | | | | | | | | | | | | | | shared-last-sector problem. After this change, even if there is more than one provider with the same last sector, the proper one will be chosen based on its size. It still doesn't fix the 'c' partition problem (when da0s1 can be confused with da0s1c) and situation when 'a' partition starts at offset 0 (then da0s1a can be confused with da0s1 and da0s1c). One can use '-h' option there, when creating device or avoid sharing last sector. Actually, when providers share the same last sector and their size is equal, they provide exactly the same data, so the name (da0s1, da0s1a, da0s1c) isn't important at all. - Provide backward compatibility. - Update copyright's year. MFC after: 1 week
* Sort sections.ru2005-01-181-2/+2
|
* Added the EXIT STATUS section where appropriate.ru2005-01-171-1/+1
|
* Fix arguments syntax.pjd2005-01-152-13/+8
| | | | | Manual pages fixes by: ru MFC after: 3 days
* Markup fixes.ru2005-01-151-4/+6
|
* - Add genid field to the metadata which will allow to improve reliability a bit.pjd2004-12-251-0/+1
| | | | | | | | | | | | | | | After this change, when component is disconnected because of an I/O error, it will not be connected and synchronized automatically, it will be logged as broken and skipped. Autosynchronization can occur, when component is disconnected (on orphan event) and connected again - there were no I/O error, so there is no need to not connected the component, but when there were writes while it wasn't connected, it will be synchronized. This fix cases, when component is disconnected because of I/O error and can be connected again and again. - Bump version number. - Implement backward compatibility mechanism. After this change when metadata in old version is detected, it is automatically upgraded to the new (current) version.
* Note that sysctls documentation is missing.pjd2004-11-051-0/+2
|
* Grammatical and spelling improvements.ceri2004-11-041-21/+22
| | | | Reviewed by: pjd
* Remove extra 's'.pjd2004-11-031-2/+2
| | | | Submitted by: ceri
* Be more correct.pjd2004-11-031-2/+2
| | | | Submitted by: ceri
* Remove one more redundant 'not'.pjd2004-11-031-1/+1
|
* Remove redundant 'not'.pjd2004-11-011-1/+1
|
* Do not exit after printing usage, give geom(8) a chance to show standardpjd2004-09-171-1/+0
| | | | commands.
* When configuring RAID3 with verification option, force synchronizationpjd2004-08-301-0/+7
| | | | | | | of parity component, because we can't return an EIO error for read of every sector which wasn't written first. Discussed with: phk
* Warn the user if we are not going to use whole provider space.pjd2004-08-281-5/+9
| | | | Requested by: Michael Handler <handler@grendel.net>
* Fix sysctl name.pjd2004-08-221-1/+1
|
* Implementation of 'verify reading' algorithm, which uses parity data forpjd2004-08-222-6/+39
| | | | | | | | verification of regular data when device is in complete state. On verification error, EIO error is returned for the bio and sysctl kern.geom.raid3.stat.parity_mismatch is increased. Suggested by: phk
* Implement new reading algorithm, which will use parity component for readingpjd2004-08-212-9/+30
| | | | | | | | | | | | | | | | | | | | | | | | as well, even if device is in complete state. I observe 40% of speed-up with this option for random read operations, but slowdown for sequential reads. Basically, without this option reading from a RAID3 device built from 5 components (c0-c4) looks like this: Request no. Used components 1 c0+c1+c2+c3 2 c0+c1+c2+c3 3 c0+c1+c2+c3 With the new feature: Request no. Used components 1 c0+c1+c2+c3 2 (c1^c2^c3^c4)+c1+c2+c3 3 c0+(c0^c2^c3^c4)+c2+c3 4 c0+c1+(c0^c1^c3^c4)+c3 5 c0+c1+c2+(c0^c1^c2^c4) 6 c0+c1+c2+c3 [...]
* - Add a manual page for graid3(8) utility.pjd2004-08-182-1/+212
| | | | | - Connect it to the build. - Inform geom(8) about it.
* Actually one can specify more than one device to stop.pjd2004-08-181-1/+1
|
* Introduce GEOM RAID3 class, i.e. kernel module, which implements RAID3pjd2004-08-162-0/+351
transformation and graid3(8) userland utility, which can be used for configuration. No manual page yet, sorry. Hardware provided by: Daniel Seuffert
OpenPOWER on IntegriCloud