From owner-cvs-all Sat Aug 7 1:15:13 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 2DBAA14DC3; Sat, 7 Aug 1999 01:15:11 -0700 (PDT) (envelope-from grog@FreeBSD.org) Received: (from grog@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id BAA67401; Sat, 7 Aug 1999 01:13:25 -0700 (PDT) (envelope-from grog@FreeBSD.org) Message-Id: <199908070813.BAA67401@freefall.freebsd.org> From: Greg Lehey Date: Sat, 7 Aug 1999 01:13:24 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/vinum vinumrequest.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk grog 1999/08/07 01:13:24 PDT Modified files: sys/dev/vinum vinumrequest.c Log: Import RAID-5 code. Add Cybernet copyright. OK'd-by: Chuck Jacobus 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. Revision Changes Path 1.29 +155 -86 src/sys/dev/vinum/vinumrequest.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message