#
f6d8fcae |
| 16-May-2021 |
deraadt <deraadt@openbsd.org> |
panic does not require a \n at the end. When one is provided, it looks wrong.
|
#
9c0431ce |
| 08-Dec-2020 |
stsp <stsp@openbsd.org> |
fix wrong function names in softraid RAID1 debug print statements
ok jsing@ as part of a larger diff
|
#
8db7cce2 |
| 12-Apr-2016 |
krw <krw@openbsd.org> |
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@
|
#
bccb2f38 |
| 04-Apr-2016 |
krw <krw@openbsd.org> |
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 ver
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.
show more ...
|
#
d9ec6765 |
| 21-Jul-2015 |
krw <krw@openbsd.org> |
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.
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.
show more ...
|
#
95df8ca1 |
| 19-Jul-2015 |
krw <krw@openbsd.org> |
Remove unneeded #include <disklabel.h>.
ok jsing@
|
#
bd56a12f |
| 19-Jul-2015 |
krw <krw@openbsd.org> |
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.
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@
show more ...
|
#
ca58f28e |
| 27-Jan-2015 |
dlg <dlg@openbsd.org> |
remove #include <sys/workq.h>. it wont exist anymore soon.
|
#
3811cf15 |
| 18-Nov-2014 |
tedu <tedu@openbsd.org> |
move arc4random prototype to systm.h. more appropriate for most code to include that than rdnvar.h. ok deraadt dlg
|
#
7f58a11f |
| 14-Sep-2014 |
jsg <jsg@openbsd.org> |
remove uneeded proc.h includes ok mpi@ kspillner@
|
#
3b545d8f |
| 12-Jul-2014 |
blambert <blambert@openbsd.org> |
essentially mechanical conversion of softraid rebuild from workq to taskq
ok jsing@
|
#
e328a933 |
| 22-Jan-2014 |
jsing <jsing@openbsd.org> |
Switch metadata saves from the system workq to the system taskq.
ok dlg@
|
#
97e41644 |
| 21-Jan-2014 |
jsing <jsing@openbsd.org> |
Order the volume state transitions by state value.
|
#
bb4f4fae |
| 01-Nov-2013 |
krw <krw@openbsd.org> |
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 mi
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@
show more ...
|
#
1abdbfde |
| 11-Jun-2013 |
deraadt <deraadt@openbsd.org> |
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
|
#
60781f8c |
| 21-May-2013 |
jsing <jsing@openbsd.org> |
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@
|
#
97ec8a20 |
| 21-May-2013 |
jsing <jsing@openbsd.org> |
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.
|
#
38cf722e |
| 21-Apr-2013 |
jsing <jsing@openbsd.org> |
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
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@
show more ...
|
#
984c6b2d |
| 31-Mar-2013 |
jsing <jsing@openbsd.org> |
Use consistent error handling when validating the number of chunks provided.
|
#
ceed1c06 |
| 31-Mar-2013 |
jsing <jsing@openbsd.org> |
More runtime value initialisation functions.
|
#
fc627a5c |
| 31-Mar-2013 |
jsing <jsing@openbsd.org> |
Provide default resource allocation and free functions. Convert all disciplines except for AOE and CRYPTO, which require custom handlers.
|
#
f4e69389 |
| 29-Mar-2013 |
jsing <jsing@openbsd.org> |
Properly release ccbs when restarting a work unit.
|
#
51e9de4c |
| 29-Mar-2013 |
jsing <jsing@openbsd.org> |
Decouple wakeups on work unit completion from the type of I/O being performed.
ok krw@
|
#
47299ab6 |
| 29-Mar-2013 |
jsing <jsing@openbsd.org> |
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().
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@
show more ...
|
#
2b14bff0 |
| 27-Mar-2013 |
jsing <jsing@openbsd.org> |
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 ens
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@
show more ...
|