freebsd-src/sys/dev/vinum
Greg Lehey 780f9fa3e3 Import RAID-5 code.
Add Cybernet copyright.

OK'd-by:     Chuck Jacobus <chuck@cybernet.com>

logrq: save device major and minor numbers to compensate for lost
  dev_t.

launch_requests: Don't issue requests which are marked
  XFR_BAD_SUBDISK.  This may make things easier in bre().

bre:
  Rearrange.
  - Change some comments
  - Recognize holes in plex structure.  Formerly this could lead to
    incorrect write to the plex.  Return REQUEST_DEGRADED on a read
    request, but carry on to the bitter end on a write request, and
    mark the requests for the inaccessible subdisks with
    XFR_BAD_SUBDISK.
  - return REQUEST_EOF if the requested transfer goes beyond the end
    of the plex.  This is not an error, since other plexes may go
    further into the volume address space.

build_read_request:
  Handle REQUEST_DEGRADED returned from bre().

sdio:
  Lock buffer before issuing the requests.
1999-08-07 08:13:23 +00:00
..
COPYRIGHT If I've done this right, revive the vinum code in it's now home after it 1998-12-28 04:56:24 +00:00
makestatetext Include the copyright notice in the script, making the file COPYRIGHT 1999-01-21 00:29:20 +00:00
request.h Rework many comments. 1999-08-07 08:05:19 +00:00
statetexts.h Add 'referenced' states to subdisks and plexes. 1999-03-28 08:52:11 +00:00
vinum.c vinumopen: add code to open raw subdisks. This is now used to 1999-08-07 08:05:46 +00:00
vinumconfig.c free_drive: 1999-06-24 08:53:14 +00:00
vinumdaemon.c Close a memory leak. 1999-08-07 08:06:05 +00:00
vinumext.h Implement daemonrq_closedrive function to close a drive. 1999-06-24 08:54:09 +00:00
vinumhdr.h Include opt_vinum.h to get the VINUMDEBUG definition as early as 1999-05-07 08:08:02 +00:00
vinuminterrupt.c Import RAID-5 code. 1999-08-07 08:11:22 +00:00
vinumio.c Remove code to accept partitions of type 'unused'. From now on, Vinum 1999-08-07 08:07:05 +00:00
vinumio.h Add definition of new ioctl (READPOL) for setting the read policy of a 1999-08-07 08:08:18 +00:00
vinumioctl.c Import RAID-5 code. 1999-08-07 08:09:36 +00:00
vinumkw.h Add keywords 'mirror' and 'stripe' when not in kernel mode. 1999-07-02 07:58:09 +00:00
vinumlock.c Import RAID-5 code. 1999-08-07 08:11:22 +00:00
vinummemory.c Make Vinum compile correctly without VINUMDEBUG 1999-05-08 02:50:44 +00:00
vinumparser.c Add keywords 'mirror' and 'stripe' when not in kernel mode. 1999-07-02 07:58:09 +00:00
vinumrequest.c Import RAID-5 code. 1999-08-07 08:13:23 +00:00
vinumrevive.c Import RAID-5 code. 1999-08-07 08:11:22 +00:00
vinumstate.c Allow to unconditionally up subdisks with the -f option. 1999-07-02 07:57:28 +00:00
vinumstate.h Add 'referenced' states to subdisks and plexes. 1999-03-28 08:52:11 +00:00
vinumutil.c Modify to work with new style dev_t. 1999-05-15 05:49:21 +00:00
vinumvar.h Modify device numbering method to work with latest -CURRENT. Briefly, 1999-07-22 08:40:37 +00:00