summaryrefslogtreecommitdiffstats
path: root/sys/geom/concat/g_concat.c
Commit message (Collapse)AuthorAgeFilesLines
* This is not needed anymore, it is forced in GEOM now.pjd2004-09-201-3/+0
| | | | | | | | | 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>
* Allow to configure debug level from /boot/loader.conf.pjd2004-08-301-0/+1
|
* Skip providers with not defined sector size.pjd2004-08-261-0/+3
| | | | Reported by: kuriyama
* - Introduce option for hardcoding providers' names into metadata.pjd2004-08-091-0/+10
| | | | | | | | | | | | 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.
* Do not use g_wither_geom(9). I doesn't work in the way which is expectedpjd2004-08-091-2/+3
| | | | | here anymore (after g_wither_washer() was introduced), i.e. geom and consumer will not be immediately destroyed if possible.
* Tag all geom classes in the tree with a version number.phk2004-08-081-0/+1
|
* Improve geom(8)'s 'list' command to show geoms and their providers andpjd2004-07-261-27/+36
| | | | consumers. Teach STRIPE, CONCAT and NOP classes about this improvement.
* Change naming scheme from /dev/<name>.concat to /dev/concat/<name>.pjd2004-07-261-15/+13
|
* M_WAITOK is ok here, while I'm using M_WAITOK later in this function.pjd2004-07-261-8/+1
|
* Fix exclusive-bit leakage.pjd2004-07-181-1/+1
|
* - Add 'stop' command, which works just like 'destroy' command, but soundspjd2004-07-051-1/+2
| | | | | | less dangerous. - Update manual pages and extend examples. - Bump versions.
* Dump some more informations:pjd2004-05-261-17/+28
| | | | | | | | | - device state - list of used providers - total number of disks - number of disks online Prodded by: Alex Deiter <tiamat@komi.mts.ru>
* - Teach CONCAT class how to talk with geom(8).pjd2004-05-201-96/+147
| | | | | | | - Remove provider if any disk was lost. - Dump CONCAT version. Supported by: Wheel - Open Technologies - http://www.wheel.pl
* Fix compilation on 64-bit architectures.pjd2004-05-041-1/+2
| | | | Noticed by: Tinderbox
* - Don't check if 'gp' is non-NULL, it always is and GEOM wants topjd2004-04-201-10/+10
| | | | | dump geom configuration when 'pp' and 'cp' are NULL. - Use tabs instead of spaces.
* - Don't take sectorsize from first disk. Calculate it by findingpjd2004-03-091-19/+48
| | | | | | | 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.
* Correct year in copyrights.pjd2004-03-041-1/+1
|
* - Remove d_valid field, we can use d_consumer field to check if diskpjd2004-03-031-7/+7
| | | | | is valid. - Use SYSCTL_DECL() instead of using own, ugly extern.
* We don't need d_length field.pjd2004-03-011-2/+0
|
* Even if we're sure that we can't be orphaned here, we have to definepjd2004-02-271-1/+2
| | | | | | | | | orphan field - we're enforcing it in GEOM. This will reach KASSERT in INVARIANTS case. Add missing space. Approved by: scottl (mentor)
* Introduce CONCAT GEOM class for disk concatenation.pjd2004-02-191-0/+749
It allows manual and automatic (based on on-disk metadata) concatenation. Reviewed by: phk, scottl Approved by: scottl (mentor)
OpenPOWER on IntegriCloud