Up to [local] / src / sys / dev
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.67 / (download) - annotate - [select for diffs], Sun May 16 15:12:37 2021 UTC (3 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0,
HEAD
Changes since 1.66: +5 -5 lines
Diff to previous 1.66 (colored)
panic does not require a \n at the end. When one is provided, it looks wrong.
Revision 1.66 / (download) - annotate - [select for diffs], Tue Dec 8 17:33:49 2020 UTC (3 years, 6 months ago) by stsp
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE,
OPENBSD_6_9
Changes since 1.65: +3 -3 lines
Diff to previous 1.65 (colored)
fix wrong function names in softraid RAID1 debug print statements ok jsing@ as part of a larger diff
Revision 1.65 / (download) - annotate - [select for diffs], Tue Apr 12 16:26:54 2016 UTC (8 years, 2 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6,
OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2,
OPENBSD_6_1_BASE,
OPENBSD_6_1,
OPENBSD_6_0_BASE,
OPENBSD_6_0
Changes since 1.64: +1 -10 lines
Diff to previous 1.64 (colored)
No need to rescan chunks in each discipline to find appropriate volume sector size. Determine volume sector size in sr_meta_init(). Pointed out, tweaked and ok jsing@
Revision 1.64 / (download) - annotate - [select for diffs], Mon Apr 4 18:48:39 2016 UTC (8 years, 2 months ago) by krw
Branch: MAIN
Changes since 1.63: +10 -1 lines
Diff to previous 1.63 (colored)
Enable creation of softraid volumes using disks with non-512 byte sectors. Volumes created will present a sector size equal to the largest sector size of the constituent disks. Softraid Metadata version cranks to 6 due to new field. ok jsing@ with tweaks that will follow soon.
Revision 1.63 / (download) - annotate - [select for diffs], Tue Jul 21 03:30:51 2015 UTC (8 years, 10 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE,
OPENBSD_5_9,
OPENBSD_5_8_BASE,
OPENBSD_5_8
Changes since 1.62: +5 -5 lines
Diff to previous 1.62 (colored)
A few more daddr_t fixes. Rename 'phys_off' variables to 'offset' since they are now relative to chunks. Use 'blkno' as normal variable name for daddr_t items rather than mix of 'blkno, blk, offset. Change field name ssd_data_offset to ssd_data_blkno since it is a block and not byte quantity. No intentional functional change.
Revision 1.62 / (download) - annotate - [select for diffs], Sun Jul 19 21:06:04 2015 UTC (8 years, 10 months ago) by krw
Branch: MAIN
Changes since 1.61: +1 -2 lines
Diff to previous 1.61 (colored)
Remove unneeded #include <disklabel.h>. ok jsing@
Revision 1.61 / (download) - annotate - [select for diffs], Sun Jul 19 17:04:31 2015 UTC (8 years, 10 months ago) by krw
Branch: MAIN
Changes since 1.60: +1 -4 lines
Diff to previous 1.60 (colored)
Stop adding and subtracting data offset. Just keep to chunk relative block offsets until actual i/o is constructed and needs the physical offset. Eliminate a number of <<DEV_BSIZE shifts as a bonus. No intentional functional change. Fixed and ok jsing@
Revision 1.60 / (download) - annotate - [select for diffs], Tue Jan 27 10:12:45 2015 UTC (9 years, 4 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE,
OPENBSD_5_7
Changes since 1.59: +1 -2 lines
Diff to previous 1.59 (colored)
remove #include <sys/workq.h>. it wont exist anymore soon.
Revision 1.59 / (download) - annotate - [select for diffs], Tue Nov 18 02:37:30 2014 UTC (9 years, 6 months ago) by tedu
Branch: MAIN
Changes since 1.58: +1 -2 lines
Diff to previous 1.58 (colored)
move arc4random prototype to systm.h. more appropriate for most code to include that than rdnvar.h. ok deraadt dlg
Revision 1.58 / (download) - annotate - [select for diffs], Sun Sep 14 14:17:24 2014 UTC (9 years, 8 months ago) by jsg
Branch: MAIN
Changes since 1.57: +1 -2 lines
Diff to previous 1.57 (colored)
remove uneeded proc.h includes ok mpi@ kspillner@
Revision 1.57 / (download) - annotate - [select for diffs], Sat Jul 12 07:39:12 2014 UTC (9 years, 11 months ago) by blambert
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE,
OPENBSD_5_6
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored)
essentially mechanical conversion of softraid rebuild from workq to taskq ok jsing@
Revision 1.56 / (download) - annotate - [select for diffs], Wed Jan 22 04:24:29 2014 UTC (10 years, 4 months ago) by jsing
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE,
OPENBSD_5_5
Changes since 1.55: +4 -2 lines
Diff to previous 1.55 (colored)
Switch metadata saves from the system workq to the system taskq. ok dlg@
Revision 1.55 / (download) - annotate - [select for diffs], Tue Jan 21 10:25:25 2014 UTC (10 years, 4 months ago) by jsing
Branch: MAIN
Changes since 1.54: +10 -10 lines
Diff to previous 1.54 (colored)
Order the volume state transitions by state value.
Revision 1.54 / (download) - annotate - [select for diffs], Fri Nov 1 17:36:19 2013 UTC (10 years, 7 months ago) by krw
Branch: MAIN
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored)
Sprinkle (long long) casts where %lld is being used to print daddr_t variables. Some random whitespace/knf repairs encountered on the way. ok miod@ on inspection, feedback & more suggestions from millert@
Revision 1.53 / (download) - annotate - [select for diffs], Tue Jun 11 16:42:13 2013 UTC (11 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE,
OPENBSD_5_4
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)
final removal of daddr64_t. daddr_t has been 64 bit for a long enough test period; i think 3 years ago the last bugs fell out. ok otto beck others
Revision 1.52 / (download) - annotate - [select for diffs], Tue May 21 15:01:53 2013 UTC (11 years ago) by jsing
Branch: MAIN
Changes since 1.51: +3 -21 lines
Diff to previous 1.51 (colored)
Provide a function that handles the scheduling of work units. This simplifies the discipline code, avoids code duplication and moves the scheduling logic into a single location. ok krw@
Revision 1.51 / (download) - annotate - [select for diffs], Tue May 21 14:25:23 2013 UTC (11 years ago) by jsing
Branch: MAIN
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored)
Use a state to indicate that a work unit should only be constructed and not scheduled, rather than trying to imply this from the rebuild flag.
Revision 1.50 / (download) - annotate - [select for diffs], Sun Apr 21 13:00:21 2013 UTC (11 years, 1 month ago) by jsing
Branch: MAIN
Changes since 1.49: +26 -71 lines
Diff to previous 1.49 (colored)
Convert RAID1 to the new work unit completion functions and generic interrupt handler. Disciplines such as RAID1/4/5/6 need a way to intercept I/O when the work unit is complete, but before the SCSI xfer is complete. This is provided via a sd_scsi_wu_done hook, which enables work units to be restarted or otherwise modified before the SCSI xfer completion occurs. ok krw@
Revision 1.49 / (download) - annotate - [select for diffs], Sun Mar 31 15:44:52 2013 UTC (11 years, 2 months ago) by jsing
Branch: MAIN
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)
Use consistent error handling when validating the number of chunks provided.
Revision 1.48 / (download) - annotate - [select for diffs], Sun Mar 31 13:31:44 2013 UTC (11 years, 2 months ago) by jsing
Branch: MAIN
Changes since 1.47: +8 -4 lines
Diff to previous 1.47 (colored)
More runtime value initialisation functions.
Revision 1.47 / (download) - annotate - [select for diffs], Sun Mar 31 11:12:06 2013 UTC (11 years, 2 months ago) by jsing
Branch: MAIN
Changes since 1.46: +1 -38 lines
Diff to previous 1.46 (colored)
Provide default resource allocation and free functions. Convert all disciplines except for AOE and CRYPTO, which require custom handlers.
Revision 1.46 / (download) - annotate - [select for diffs], Fri Mar 29 15:26:45 2013 UTC (11 years, 2 months ago) by jsing
Branch: MAIN
Changes since 1.45: +2 -3 lines
Diff to previous 1.45 (colored)
Properly release ccbs when restarting a work unit.
Revision 1.45 / (download) - annotate - [select for diffs], Fri Mar 29 12:00:59 2013 UTC (11 years, 2 months ago) by jsing
Branch: MAIN
Changes since 1.44: +6 -9 lines
Diff to previous 1.44 (colored)
Decouple wakeups on work unit completion from the type of I/O being performed. ok krw@
Revision 1.44 / (download) - annotate - [select for diffs], Fri Mar 29 11:46:45 2013 UTC (11 years, 2 months ago) by jsing
Branch: MAIN
Changes since 1.43: +1 -4 lines
Diff to previous 1.43 (colored)
sd_wu_pending is only decremented when scsi_done() or scsi_io_put() are called. As a result, factor out the the sd_sync check/wakeup code and move it to after the scsi_done() call in sr_scsi_done(). Perform the same sd_sync check/wakeup after scsi_io_put() calls (including the addition of some that were previously missed). ok krw@
Revision 1.43 / (download) - annotate - [select for diffs], Wed Mar 27 14:30:11 2013 UTC (11 years, 2 months ago) by jsing
Branch: MAIN
Changes since 1.42: +52 -69 lines
Diff to previous 1.42 (colored)
Rewrite the work unit handling code in the RAID 1/4/5/6 interrupt handlers. This simplifies the code and will allow for easier conversion to the workq based work unit completion routines. It also ensures that work units are always removed from the pending queue and that colliders are started, even in the event of an I/O failure. ok krw@
Revision 1.42 / (download) - annotate - [select for diffs], Mon Mar 25 16:01:49 2013 UTC (11 years, 2 months ago) by jsing
Branch: MAIN
Changes since 1.41: +2 -24 lines
Diff to previous 1.41 (colored)
Factor out the code that is used to recreate work units - one copy of the code is sufficient. ok krw@
Revision 1.41 / (download) - annotate - [select for diffs], Sat Mar 2 12:50:01 2013 UTC (11 years, 3 months ago) by jsing
Branch: MAIN
Changes since 1.40: +1 -7 lines
Diff to previous 1.40 (colored)
sr_alloc_resources() and sr_free_resources() can never be called without a valid struct sr_discipline. Remove redundant NULL pointer checks.
Revision 1.40 / (download) - annotate - [select for diffs], Fri Jan 18 05:59:28 2013 UTC (11 years, 4 months ago) by jsing
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE,
OPENBSD_5_3
Changes since 1.39: +8 -69 lines
Diff to previous 1.39 (colored)
Convert RAID1 to new ccb functions. ok krw@
Revision 1.39 / (download) - annotate - [select for diffs], Thu Jan 17 03:37:31 2013 UTC (11 years, 4 months ago) by jsing
Branch: MAIN
Changes since 1.38: +48 -49 lines
Diff to previous 1.38 (colored)
Restructure the RAID1 I/O path so that we only get a ccb once we are certain that we need one. Also make code more consistent with other disciplines. ok krw@
Revision 1.38 / (download) - annotate - [select for diffs], Wed Jan 16 09:21:50 2013 UTC (11 years, 4 months ago) by jsing
Branch: MAIN
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)
Consistently call sr_scsi_done instead of scsi_done. ok krw@
Revision 1.37 / (download) - annotate - [select for diffs], Wed Jan 16 07:06:29 2013 UTC (11 years, 4 months ago) by jsing
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)
Add a new capability flag to identify disciplines where read failures are not necessarily terminal (i.e. we have redundancy). ok krw@
Revision 1.36 / (download) - annotate - [select for diffs], Wed Jan 16 06:42:22 2013 UTC (11 years, 4 months ago) by jsing
Branch: MAIN
Changes since 1.35: +1 -2 lines
Diff to previous 1.35 (colored)
Set resid to zero if the scsi transfer completed without error. ok krw@
Revision 1.35 / (download) - annotate - [select for diffs], Wed Jan 16 06:29:14 2013 UTC (11 years, 4 months ago) by jsing
Branch: MAIN
Changes since 1.34: +2 -9 lines
Diff to previous 1.34 (colored)
Factor out code used to release ccbs from a workunit. ok krw@
Revision 1.34 / (download) - annotate - [select for diffs], Tue Jan 15 09:28:29 2013 UTC (11 years, 4 months ago) by jsing
Branch: MAIN
Changes since 1.33: +2 -3 lines
Diff to previous 1.33 (colored)
Always initialise the discipline name, not just when we are doing a create.
Revision 1.33 / (download) - annotate - [select for diffs], Tue Jan 15 04:03:01 2013 UTC (11 years, 4 months ago) by jsing
Branch: MAIN
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored)
Keep a function pointer to the per-discipline I/O interrupt handler in the discipline data structure. To be used with an upcoming diff.
Revision 1.32 / (download) - annotate - [select for diffs], Mon Oct 8 14:22:41 2012 UTC (11 years, 8 months ago) by jsing
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)
Provide a mechanism for the kernel to pass data through to the discipline during volume assembly.
Revision 1.31 / (download) - annotate - [select for diffs], Sun Jan 22 11:13:32 2012 UTC (12 years, 4 months ago) by jsing
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1
Changes since 1.30: +4 -2 lines
Diff to previous 1.30 (colored)
Convert softraid(4) to new bio(4) status interface. This allows bioctl(8) to provide useful feedback, rather than reporting an ioctl failure and leaving the user to consult dmesg. For now we continue to print most things to the console, even if the message is a result of an ioctl.
Revision 1.30 / (download) - annotate - [select for diffs], Mon Dec 26 14:54:52 2011 UTC (12 years, 5 months ago) by jsing
Branch: MAIN
Changes since 1.29: +3 -1 lines
Diff to previous 1.29 (colored)
Provide default set chunk state and set volume state functions which cover the no redundancy/no rebuild case. Use these for the AOE, crypto and RAID 0 disciplines.
Revision 1.29 / (download) - annotate - [select for diffs], Sun Dec 25 15:28:17 2011 UTC (12 years, 5 months ago) by jsing
Branch: MAIN
Changes since 1.28: +4 -11 lines
Diff to previous 1.28 (colored)
Initialise discipline function pointers with defaults and only override those that are needed by a specific discipline.
Revision 1.28 / (download) - annotate - [select for diffs], Sun Dec 25 15:16:21 2011 UTC (12 years, 5 months ago) by jsing
Branch: MAIN
Changes since 1.27: +8 -7 lines
Diff to previous 1.27 (colored)
Move chunk state debugging code to a more useful location.
Revision 1.27 / (download) - annotate - [select for diffs], Tue Apr 5 19:52:02 2011 UTC (13 years, 2 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE,
OPENBSD_5_0
Changes since 1.26: +1 -5 lines
Diff to previous 1.26 (colored)
Iopoolification. Testing by marco@. ok dlg@ marco@
Revision 1.26 / (download) - annotate - [select for diffs], Sat Nov 6 23:01:56 2010 UTC (13 years, 7 months ago) by marco
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE,
OPENBSD_4_9
Changes since 1.25: +8 -1 lines
Diff to previous 1.25 (colored)
Move raid1 and crypto io to a workq. This is to avoid a potential VOP_ call while in interrupt context. Contains an additional spl dance as found by thib. Tested by many opn various arches. Note that raid 0/4/5/6 have not been moved over yet.
Revision 1.25 / (download) - annotate - [select for diffs], Fri Jul 2 09:20:26 2010 UTC (13 years, 11 months ago) by jsing
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE,
OPENBSD_4_8
Changes since 1.24: +1 -1 lines
Diff to previous 1.24 (colored)
Determine the data offset using a variable specified within the softraid metadata. This allows us to implement seamless transitions from the previous metadata version to the current version, avoiding the need to recreate the softraid volume. Joint work with marco@ during c2k10. ok marco@
Revision 1.24 / (download) - annotate - [select for diffs], Thu Jul 1 19:31:04 2010 UTC (13 years, 11 months ago) by thib
Branch: MAIN
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored)
make sure that buf's on the stack set the b_bq to NULL. one memset -> bzero. ok marco@, jsing@
Revision 1.23 / (download) - annotate - [select for diffs], Fri Mar 26 11:20:34 2010 UTC (14 years, 2 months ago) by jsing
Branch: MAIN
Changes since 1.22: +1 -1 lines
Diff to previous 1.22 (colored)
Add storage for the boot block and boot loader to the softraid metadata. Also add a new optional metadata type for boot data. This is the first step (of many) towards being able to boot from softraid volumes. WARNING: This version of the softraid metadata is not compatible with previous versions. As a result, any softraid volumes created with older kernels will not assemble. Data on existing softraid volumes should be backed up before upgrading. The volume should then be recreated and the data restored. ok marco@
Revision 1.22 / (download) - annotate - [select for diffs], Sat Jan 9 23:15:06 2010 UTC (14 years, 5 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE,
OPENBSD_4_7
Changes since 1.21: +1 -3 lines
Diff to previous 1.21 (colored)
Zap all setting of ITSDONE in drivers that don't look at it. Nobody else cares so it's just noise. Drivers that actually look at ITSDONE are unchanged. ok marco@ (for his files) dlg@ beck@
Revision 1.21 / (download) - annotate - [select for diffs], Tue Dec 15 13:19:37 2009 UTC (14 years, 5 months ago) by jsing
Branch: MAIN
Changes since 1.20: +32 -1 lines
Diff to previous 1.20 (colored)
Factor out discipline specific create/assemble code. "in, in, in!" marco@
Revision 1.20 / (download) - annotate - [select for diffs], Mon Dec 7 14:27:12 2009 UTC (14 years, 6 months ago) by jsing
Branch: MAIN
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored)
Define discipline capabilities using a set of flags. "shiny!!" marco@
Revision 1.19 / (download) - annotate - [select for diffs], Sun Aug 9 14:12:25 2009 UTC (14 years, 10 months ago) by marco
Branch: MAIN
Changes since 1.18: +31 -27 lines
Diff to previous 1.18 (colored)
Switch softraid to vnodes to prevent bad things from happening when using d_open/d_close. tested by many, ok jsing, thib, krw
Revision 1.18 / (download) - annotate - [select for diffs], Sun Jul 12 16:34:58 2009 UTC (14 years, 11 months ago) by jsing
Branch: MAIN
Changes since 1.17: +9 -5 lines
Diff to previous 1.17 (colored)
Clean up debug droppings in sr_raid1_set_vol_state(). ok marco@
Revision 1.17 / (download) - annotate - [select for diffs], Sun Jul 12 16:33:02 2009 UTC (14 years, 11 months ago) by jsing
Branch: MAIN
Changes since 1.16: +4 -0 lines
Diff to previous 1.16 (colored)
Enable hotspare rebuilds for softraid RAID1. ok marco@
Revision 1.16 / (download) - annotate - [select for diffs], Wed Jun 24 12:06:00 2009 UTC (14 years, 11 months ago) by jsing
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE,
OPENBSD_4_6
Changes since 1.15: +3 -0 lines
Diff to previous 1.15 (colored)
Abort the current rebuild if the rebuild chunk disappears. Whilst here also rename the abort flag so that it is more generalised. ok marco@
Revision 1.15 / (download) - annotate - [select for diffs], Thu Jun 18 15:55:15 2009 UTC (14 years, 11 months ago) by jsing
Branch: MAIN
Changes since 1.14: +18 -10 lines
Diff to previous 1.14 (colored)
Add other valid chunk state transitions for RAID 1. ok marco@
Revision 1.14 / (download) - annotate - [select for diffs], Tue Jun 2 21:23:11 2009 UTC (15 years ago) by marco
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)
Abuse bio layer a little less by marking fake buffers with B_PHYS. From beck with lots of squealing and ear bleeds. Issue originally reported by todd. ok beck
Revision 1.13 / (download) - annotate - [select for diffs], Tue Jun 2 16:32:23 2009 UTC (15 years ago) by marco
Branch: MAIN
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)
Rebuild can go to degraded
Revision 1.12 / (download) - annotate - [select for diffs], Tue Jun 2 11:38:51 2009 UTC (15 years ago) by deraadt
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)
marco needs to learn how to do his range checks better, found by Parfait ok oga guenther
Revision 1.11 / (download) - annotate - [select for diffs], Tue Jun 2 05:49:35 2009 UTC (15 years ago) by marco
Branch: MAIN
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)
Add an identifier that tells us if we can rebuild this discipline. KNF & spelling too
Revision 1.10 / (download) - annotate - [select for diffs], Tue Jun 2 00:58:16 2009 UTC (15 years ago) by marco
Branch: MAIN
Changes since 1.9: +26 -6 lines
Diff to previous 1.9 (colored)
First bits for rebuild. Disabled for now.
Revision 1.9 / (download) - annotate - [select for diffs], Mon May 11 14:06:21 2009 UTC (15 years, 1 month ago) by jsing
Branch: MAIN
Changes since 1.8: +32 -1 lines
Diff to previous 1.8 (colored)
Move the discipline initialisation code into discipline specific functions, rather than initialising everything in softraid.c. This makes a discipline more self-contained and reduces the number of function declarations needed in softraidvar.h. ok marco@
Revision 1.8 / (download) - annotate - [select for diffs], Tue Apr 28 02:54:53 2009 UTC (15 years, 1 month ago) by marco
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)
Part one of partial bringup volumes. Plenty of rope to kill your data use with caution...
Revision 1.7 / (download) - annotate - [select for diffs], Tue Nov 25 23:05:17 2008 UTC (15 years, 6 months ago) by marco
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE,
OPENBSD_4_5
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)
Add generic sr_scsi_done function that does the spl dance
Revision 1.6 / (download) - annotate - [select for diffs], Sat Jul 19 22:41:58 2008 UTC (15 years, 10 months ago) by marco
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE,
OPENBSD_4_4
Changes since 1.5: +31 -34 lines
Diff to previous 1.5 (colored)
Full rewrite of metadata handling. This fixes power failures and crashes that caused illegal checksums. The new metadata code is more or less ready to deal with other vendor's metadata formats. While here clean up the name space. Fix thib's pool mess by adding removing bad flags in interrupt context. tested on macppc, amd64, i386, sparc64 & hppa sparc64 has issues with crypto however those do not seem to be softraid specific. help from okan@ ckuethe@ Will Backman and others
Revision 1.5 / (download) - annotate - [select for diffs], Tue Feb 5 16:49:25 2008 UTC (16 years, 4 months ago) by marco
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE,
OPENBSD_4_3
Changes since 1.4: +2 -20 lines
Diff to previous 1.4 (colored)
Shave off a few more bytes by moving IO collision detection into a generic fucntion. Fix bug in the crypto code that could casuse data corruption as a bonus, bad cut & past tedu!
Revision 1.4 / (download) - annotate - [select for diffs], Tue Feb 5 16:15:35 2008 UTC (16 years, 4 months ago) by marco
Branch: MAIN
Changes since 1.3: +3 -43 lines
Diff to previous 1.3 (colored)
Create a generic function to validate IO instead of copying and pasting same code in all disciplines. This shaves of a few bytes. crypto 3185 -> 2690 raid 0 2843 -> 2378 raid 1 3474 -> 2689
Revision 1.3 / (download) - annotate - [select for diffs], Thu Jan 24 19:58:08 2008 UTC (16 years, 4 months ago) by marco
Branch: MAIN
Changes since 1.2: +197 -1 lines
Diff to previous 1.2 (colored)
Create chunk and state transition functions for RAID 0. Move RAID 1 chunk and state transition functions into proper file. Let Crypto use RAID 1 chunk and state transition functions for now but this needs fixing.
Revision 1.2 / (download) - annotate - [select for diffs], Thu Jan 24 17:50:17 2008 UTC (16 years, 4 months ago) by marco
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)
Bring softraid into the world of 16 byte commands; this allows for > 2TB disks Fix bioctl size output which was off by *512; diagnosed by otto
Revision 1.1 / (download) - annotate - [select for diffs], Tue Nov 27 17:21:52 2007 UTC (16 years, 6 months ago) by tedu
Branch: MAIN
also move softraid raid1 into own file, ok marco