| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
While I'm here remove redundancy and inconsistencies.
Obtained from: Juniper Networks
|
|
|
|
|
|
| |
Suggested by: kib
Approved by: kib (mentor)
MFC after: 5 days
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
- Make optional string values always an empty string.
|
|
|
|
| |
(the improved version of) "load".
|
|
|
|
|
|
|
|
|
|
|
| |
"split" is very ineffective for devices with rotating media as HDDs.
To be effective, it needs that transfer time reduction due to block
splitting was bigger then access time increase due to non-sequential
access. For modern HDDs I was able to reproduce it only with read sizes
of 2MB and above, which is almost not applicable in real life.
"load" algorithm same time is more universal and effective now.
Reviewed by: pjd
|
|
|
|
| |
algorithm.
|
|
|
|
| |
Submitted by: Mel Flynn
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
PR: docs/106947
Submitted by: TAOKA Fumiyoshi
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Reported by: xride
MFC after: 1 week
|
|
|
|
| |
Changes: 98722
|
| |
|
|
|
|
|
| |
Reviewed and corrected by: brueffer
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
Note the default balancing algorithm and stripe size.
geom_mirror.c:
Slightly friendlier error message.
Reviewed by: pjd
|
|
|
|
|
|
|
| |
so it don't provoke confusions.
Noticed by: Victor Sudakov <sudakov@sibptus.tomsk.ru>
MFC after: 2 days
|
|
|
|
|
| |
Pointed out by: marck
X-MFC-after: few seconds
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
| |
just leave reference to geom(8).
MFC after: 1 week
|
|
|
|
|
|
| |
- Update copyrights.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
PR: 77437
Submitted by: Paul A. Hoadley <paulh@logicsquad.net> (original version)
|
| |
|
| |
|
|
|
|
|
| |
Manual pages fixes by: ru
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
- Add version change history.
- Implement backward compatibility mechanism. After this change when metadata in
old version is detected, it is automatically upgraded to the new (current)
version.
|
| |
|
| |
|
|
|
|
| |
Reviewed by: pjd
|
| |
|
|
|
|
| |
commands.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Add manual page for gmirror(8) utility.
|
|
|
|
|
|
|
| |
- Connect it to the build.
- Inform geom(8) manual page about it.
Reviewed by: trhodes
|
|
|
|
|
| |
which allow to store provider's name in the metadata and avoid
problems when few providers share the same last sector.
|
|
|
|
|
|
| |
of the new component.
Version number wasn't bumped (it should be), because I think there are
no geom_mirror users yet.
|
|
features. The gmirror(8) utility should be used for control of this class.
There is no manual page yet, but I'm working on it with keramida@.
Many useful tests provided by: simon (thank you!)
Some ideas from: scottl, simon, phk
|