| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Sponsored by: home.pl
|
| |
|
|
|
|
|
|
| |
our concatenated device later.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Prefer '_' to ' ', as it results in more easily parsed results in
memory monitoring tools such as vmstat.
- Remove punctuation that is incompatible with using memory type names
as file names, such as '/' characters.
- Disambiguate some collisions by adding subsystem prefixes to some
memory types.
- Generally prefer lower case to upper case.
- If the same type is defined in multiple architecture directories,
attempt to use the same name in additional cases.
Not all instances were caught in this change, so more work is required to
finish this conversion. Similar changes are required for UMA zone names.
|
|
|
|
|
|
|
|
| |
to destroy it.
PR: kern/81758
Submitted by: trasz <trasz@buziaczek.pl>
MFC after: 3 days
|
|
|
|
|
|
|
|
|
| |
completed I/O requests here.
- First allocate all needed bios, so if any of allocations fail, we can
free memory before sending any I/O requests down.
Reported by: Pawel Malachowski
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
Actually, it can even cause some problems, because GEOM requires sectorsize
to be more than 0 on first access, not on provider creation, so we can skip
valid providers by doing this check here.
Reported by: Divacky Roman <xdivac02@stud.fit.vutbr.cz>
Sven Willenberger <sven@dmv.com>
|
| |
|
|
|
|
| |
Reported by: kuriyama
|
|
|
|
|
|
|
|
|
|
|
|
| |
It allows to fix problems when last provider's sector is shared between few
providers.
- Bump version number for CONCAT and STRIPE and add code for backward
compatibility.
- Do not bump version number of MIRROR, as it wasn't officially introduced yet.
Even if someone started to play with it, there is no big deal, because
wrong MD5 sum of metadata will deny those providers.
- Update manual pages.
- Add version history to g_(stripe|concat).h files.
|
|
|
|
|
| |
here anymore (after g_wither_washer() was introduced), i.e. geom and consumer
will not be immediately destroyed if possible.
|
| |
|
|
|
|
| |
consumers. Teach STRIPE, CONCAT and NOP classes about this improvement.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
less dangerous.
- Update manual pages and extend examples.
- Bump versions.
|
|
|
|
|
|
|
|
|
| |
- device state
- list of used providers
- total number of disks
- number of disks online
Prodded by: Alex Deiter <tiamat@komi.mts.ru>
|
|
|
|
|
|
|
| |
- Remove provider if any disk was lost.
- Dump CONCAT version.
Supported by: Wheel - Open Technologies - http://www.wheel.pl
|
|
|
|
| |
Noticed by: Tinderbox
|
|
|
|
|
| |
dump geom configuration when 'pp' and 'cp' are NULL.
- Use tabs instead of spaces.
|
|
|
|
|
|
|
| |
least common multiple of all disks sector sizes.
This will allow to safely concatenate disks with different sector sizes.
- Mark unused function arguments.
- Other minor cleanups.
|
| |
|
|
|
|
|
| |
is valid.
- Use SYSCTL_DECL() instead of using own, ugly extern.
|
| |
|
|
|
|
|
|
|
|
|
| |
orphan field - we're enforcing it in GEOM. This will reach KASSERT
in INVARIANTS case.
Add missing space.
Approved by: scottl (mentor)
|
|
It allows manual and automatic (based on on-disk metadata) concatenation.
Reviewed by: phk, scottl
Approved by: scottl (mentor)
|