History log of /freebsd-9.3-release/sys/geom/nop/
Revision Date Author Comments
267654 20-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


251924 18-Jun-2013 mav

MFC r248721:
GEOM NOP does not touch the data, so pass G_PF_ACCEPT_UNMAPPED flag through.


251922 18-Jun-2013 mav

MFC r248720:
Remove extra bio_data and bio_length copying to child request after calling
g_clone_bio(), that already copied them.


248085 09-Mar-2013 marius

MFC: r227309 (partial)

Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs.

The SYSCTL_NODE macro defines a list that stores all child-elements of
that node. If there's no SYSCTL_DECL macro anywhere else, there's no
reason why it shouldn't be static.


244547 21-Dec-2012 jh

MFC r243333:

- Don't pass geom and provider names as format strings.
- Add __printflike() attributes.
- Remove an extra argument for the g_new_geomf() call in swapongeom_ev().


225736 23-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


223921 11-Jul-2011 ae

Include sys/sbuf.h directly.

Reviewed by: pjd


220184 31-Mar-2011 ae

Remove unneeded checks, g_new_xxx functions can not return NULL.

Reviewed by: pjd
MFC after: 1 week


217303 12-Jan-2011 ae

Sector size can not be greater than MAXPHYS.

MFC after: 1 week


217263 11-Jan-2011 ae

Remove redundant check.

MFC after: 1 week


217262 11-Jan-2011 ae

Round GNOP provider's mediasize to its sectorsize. This prevents KASSERT
in g_io_request when geom classes doing tasting.

PR: kern/147852
MFC after: 1 week


162834 30-Sep-2006 pjd

Remove trailing spaces.


162153 08-Sep-2006 pjd

Fix format character.

Reported by: andre


162142 08-Sep-2006 pjd

- Split failure probability configuration into read failure probability and
write failure probability.
- Allow to specify an error number to return of failure.

MFC after: 3 days


155174 01-Feb-2006 pjd

Remove trailing spaces.


154459 17-Jan-2006 pjd

Log situation when EIO is returned.


154458 17-Jan-2006 pjd

Remove bio leak when EIO error is emulated.

Found by: Coverity Prevent(tm)
MFC after: 3 days


153532 19-Dec-2005 pjd

MFp4: Typo fix (without it the XML GEOM tree wasn't consistent).

Reported by: Eric Anderson <anderson@centtech.com>


153265 09-Dec-2005 pjd

Fix build breakage by fixing typo.

Reported by: glebius


153250 08-Dec-2005 pjd

Teach NOP GEOM class how to gather the following statistics:
- number of read I/O requests,
- number of write I/O requests,
- number of read bytes,
- number of written bytes.
Add 'reset' subcommand for resetting statistics.


135302 16-Sep-2004 fjoe

g_nop_create: destroy newly created provider in case of errors.


133981 18-Aug-2004 pjd

NOP class doesn't operate on metadata, so the spoil event can be safely
ignored.


133318 08-Aug-2004 phk

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


132988 02-Aug-2004 pjd

- Fix unloading by the same way it is done in my other classes:
set gp->softc to NULL and return ENXIO when it is NULL, so GEOM
will not panic or hang, but unload one device on every 'unload'.
This make 'unload' command usable, but it have to be executed
<number of devices> + 1 times.
- Made use of 'pp' variable.


132877 30-Jul-2004 pjd

- Add '-S' option, which allow to specify sector size for transparent
provider.
- Bump version number.

This allows for a quite interesting trick. One can setup a stripe with
stripe size of 512 bytes and create transparent provider on top of it
with sector size equal to <ndisks> * 512. The result will be something
like RAID3 without parity disk (every access will touch all disks).


132665 26-Jul-2004 pjd

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


132381 19-Jul-2004 pjd

MFp4: Add two options for gnop(8)'s 'create' command:
-o offset - specifies where to start on the original provider
-s size - specifies size of the transparent provider


130193 07-Jun-2004 pjd

Fix format string.


130191 07-Jun-2004 pjd

Don't allow for duplicated entries creation.


129548 21-May-2004 pjd

- Change command name from 'config' to 'configure'.
- Bump version number.


129471 20-May-2004 pjd

Introduce NOP GEOM class. This is totally transparent GEOM class, but
it is very useful for tests. One is able to destroy its provider
forcibly if wants to test how other class handle such events.
One is also able to specify failure probability to check how other
classes handle I/O errors.

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