History log of /freebsd/sys/geom/stripe/g_stripe.c (Results 76 – 100 of 134)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/5.3.0_cvs, release/5.3.0
# 201dfcf1 20-Sep-2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>

This is not needed anymore, it is forced in GEOM now.
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 ca

This is not needed anymore, it is forced in GEOM now.
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>

show more ...


# 6d7b8aec 30-Aug-2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Allow to configure debug level from /boot/loader.conf.


# 29c78ab3 26-Aug-2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Skip providers with not defined sector size.

Reported by: kuriyama


# f0c8658d 25-Aug-2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Dump disk number.


# a5ef629f 11-Aug-2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Increase default kern.geom.stripe.maxmem to 50 elements.


# 4ffa3fef 10-Aug-2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Fix one of the lastest commit. This bio_caller1 should also be changed to
bio_driver1 (as all the rest).
This introduced a small memory leak, but it wasn't really critical,
because maximum memory for

Fix one of the lastest commit. This bio_caller1 should also be changed to
bio_driver1 (as all the rest).
This introduced a small memory leak, but it wasn't really critical,
because maximum memory for g_stripe_zone is always set, so after few
requests gstripe was working in "economic" mode.

show more ...


# 6c74f517 09-Aug-2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>

- Introduce option for hardcoding providers' names into metadata.
It allows to fix problems when last provider's sector is shared between few
providers.
- Bump version number for CONCAT and STRIP

- Introduce option for hardcoding providers' names into metadata.
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.

show more ...


# 7e72a708 09-Aug-2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Do not use g_wither_geom(9). I doesn't work in the way which is expected
here anymore (after g_wither_washer() was introduced), i.e. geom and consumer
will not be immediately destroyed if possible.


# 5721c9c7 08-Aug-2004 Poul-Henning Kamp <phk@FreeBSD.org>

Tag all geom classes in the tree with a version number.


# cea36368 06-Aug-2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Add and document kern.geom.stripe.fast_failed sysctl, which shows how
many times "fast" mode failed.


# ec704301 06-Aug-2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Fields bio_caller[12] should be used by the consumer and fields
bio_driver[12] should be used by the provider!


# 37abacd4 06-Aug-2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Fix I/O leakage. We're cloning bios in g_stripe_start_fast(), but when
something goes wrong while running in "fast" mode, we free all bios and
falling back to "economic" mode. Freeing bios, doesn't m

Fix I/O leakage. We're cloning bios in g_stripe_start_fast(), but when
something goes wrong while running in "fast" mode, we free all bios and
falling back to "economic" mode. Freeing bios, doesn't mean decrease
bio_children, so bio_inbed couldn't be equal to bio_children and request
was never finished.
Decrease bio_children manually when destroying bios.

Reported by: Sam Lawrance <boris@brooknet.com.au>, simon

show more ...


# 1d723f1d 26-Jul-2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Improve geom(8)'s 'list' command to show geoms and their providers and
consumers. Teach STRIPE, CONCAT and NOP classes about this improvement.


# 889c5dc2 26-Jul-2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Change naming scheme from /dev/<name>.stripe to /dev/stripe/<name>.


# 2017a9d3 26-Jul-2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>

M_WAITOK is ok here, while I'm using M_WAITOK later in this function.


# 71df0725 13-Jul-2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Minor sysctl description fixes.

Submitted by: simon


# 4c55f05b 09-Jul-2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Implement "FAST" mode for GEOM_STRIPE class and turn it on by default.

In this mode you can setup even very small stripe size and you can be
sure that only one I/O request will be send to every disk

Implement "FAST" mode for GEOM_STRIPE class and turn it on by default.

In this mode you can setup even very small stripe size and you can be
sure that only one I/O request will be send to every disks in stripe.
It consumes some more memory, but if allocation fails, it will fall
back to "ECONOMIC" mode.

It is about 10 times faster for small stripe size than "ECONOMIC" mode
and other RAID0 implementations. It is even recommended to use this
mode and small stripe size, so our requests are always splitted.

One can still use "ECONOMIC" mode by setting kern.geom.stripe.fast to 0.
It is also possible to setup maximum memory which "FAST" mode can consume,
by setting kern.geom.stripe.maxmem from /boot/loader.conf.

show more ...


# a2e31b8b 05-Jul-2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>

- Add 'stop' command, which works just like 'destroy' command, but sounds
less dangerous.
- Update manual pages and extend examples.
- Bump versions.


# 3fb17452 26-May-2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Dump some more informations:
- device state
- list of used providers
- total number of disks
- number of disks online

Prodded by: Alex Deiter <tiamat@komi.mts.ru>


Revision tags: release/4.10.0_cvs, release/4.10.0
# b09121f9 20-May-2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Introduce STRIPE GEOM class. It implements RAID0 transformation and it
is intend to be fast. Just like CONCAT class it provides manual and
auto configuration methods.

Supported by: Wheel - Open Tech

Introduce STRIPE GEOM class. It implements RAID0 transformation and it
is intend to be fast. Just like CONCAT class it provides manual and
auto configuration methods.

Supported by: Wheel - Open Technologies - http://www.wheel.pl

show more ...


# f24bf752 18-Feb-2010 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Correct comment.


# 9199c09a 06-Jan-2010 Warner Losh <imp@FreeBSD.org>

Merge from head at r201628.

# This hasn't been tested, and there are at least three bad commits
# that need to be backed out before the branch will be stable again.


# f00919d2 24-Dec-2009 Alexander Motin <mav@FreeBSD.org>

Make geom_stripe report it's stripe size to upper layers.


# 874108ae 12-Nov-2009 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

MFC @199204


# f8727e71 09-Oct-2009 Pawel Jakub Dawidek <pjd@FreeBSD.org>

If provider is open for writing when we taste it, skip it for classes that
depend on on-disk metadata. This was we won't attach to providers that are used
by other classes. For example we don't want

If provider is open for writing when we taste it, skip it for classes that
depend on on-disk metadata. This was we won't attach to providers that are used
by other classes. For example we don't want to configure partitions on da0 if
it is part of gmirror, what we really want is partitions on mirror/foo.

During regular work it works like this: if provider is open for writing a class
receives the spoiled event from GEOM and detaches, once provider is closed the
taste event is send again and class can rediscover its metadata if it is still
there. This doesn't work that way when new class arrives, because GEOM gives
all existing providers for it to taste, also those open for writing. Classes
have to decided on their own if they want to deal with such providers (eg.
geom_dev) or not (classes modified by this commit).

Reported by: des, Oliver Lehmann <lehmann@ans-netz.de>
Tested by: des, Oliver Lehmann <lehmann@ans-netz.de>
Discussed with: phk, marcel
Reviewed by: marcel
MFC after: 3 days

show more ...


123456