| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
volume sector size. Determine volume sector size in sr_meta_init().
Pointed out, tweaked and ok jsing@
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
ok jsing@
|
|
|
|
|
|
|
|
|
| |
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@
|
| |
|
|
|
|
| |
to include that than rdnvar.h. ok deraadt dlg
|
|
|
|
| |
ok mpi@ kspillner@
|
|
|
|
|
|
| |
workq to taskq
ok jsing@
|
|
|
|
| |
ok dlg@
|
| |
|
|
|
|
|
|
| |
variables. Some random whitespace/knf repairs encountered on the way.
ok miod@ on inspection, feedback & more suggestions from millert@
|
|
|
|
|
| |
test period; i think 3 years ago the last bugs fell out.
ok otto beck others
|
|
|
|
|
|
|
| |
simplifies the discipline code, avoids code duplication and moves the
scheduling logic into a single location.
ok krw@
|
|
|
|
| |
scheduled, rather than trying to imply this from the rebuild flag.
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
| |
provided.
|
| |
|
|
|
|
| |
disciplines except for AOE and CRYPTO, which require custom handlers.
|
| |
|
|
|
|
|
|
| |
performed.
ok krw@
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
| |
code is sufficient.
ok krw@
|
|
|
|
| |
a valid struct sr_discipline. Remove redundant NULL pointer checks.
|
|
|
|
| |
ok krw@
|
|
|
|
|
|
|
| |
certain that we need one. Also make code more consistent with other
disciplines.
ok krw@
|
|
|
|
| |
ok krw@
|
|
|
|
|
|
| |
not necessarily terminal (i.e. we have redundancy).
ok krw@
|
|
|
|
| |
ok krw@
|
|
|
|
| |
ok krw@
|
| |
|
|
|
|
| |
discipline data structure. To be used with an upcoming diff.
|
|
|
|
| |
during volume assembly.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
cover the no redundancy/no rebuild case. Use these for the AOE, crypto and
RAID 0 disciplines.
|
|
|
|
| |
those that are needed by a specific discipline.
|
| |
|
|
|
|
| |
ok dlg@ marco@
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
| |
one memset -> bzero.
ok marco@, jsing@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
|
| |
else cares so it's just noise. Drivers that actually look at ITSDONE
are unchanged.
ok marco@ (for his files) dlg@ beck@
|
|
|
|
| |
"in, in, in!" marco@
|
|
|
|
| |
"shiny!!" marco@
|
|
|
|
|
|
| |
d_open/d_close.
tested by many, ok jsing, thib, krw
|
|
|
|
| |
ok marco@
|
|
|
|
| |
ok marco@
|
|
|
|
|
|
| |
rename the abort flag so that it is more generalised.
ok marco@
|