Age | Commit message (Collapse) | Author |
|
This is more clear, and as thib pointed out, the default in softraid was
wrong. ok thib.
|
|
ok marco@
|
|
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@
|
|
step in elminating 'struct scsi_device' entirely.
Spotted and initial diff from matthew@.
ok matthew@ dlg@ deraadt@ marco@ miod@
|
|
not supported.
this prevents a panic caused by recursively entering the ioctl handler that
now happens on boot when sd tries to enable write cache on all disks.
found by ckeuthe@
tested by todd@
|
|
ioctl requests, and dont pass the proc pointers around for any ioctl
requests in scsi land at all. neither were used, so trim the fat.
ok krw@ marco@
|
|
|
|
low-hanging splbio/splx pairs that are no longer needed and see if
this reveals any hidden scsi flaws.
ok dlg@
|
|
gets rid of #include <sys/dkio.h> in sys/ioctl.h and adds #include
<sys/dkio.h> to the places that actually want and use the disk
ioctls.
this became an issue when krw@'s X build failed when he was testing
a change to dkio.h.
tested by krw@
help from and ok miod@
|
|
optional metadata per volume and discipline specific optional metadata
processing.
ok marco@
|
|
Found by jsg@ using the clang static analyser.
ok marco@
|
|
splx() call.
Found by jsg@ using the clang static analyser.
ok marco@
|
|
Found by clang static analyser.
|
|
installed on a softraid volume. This is work in progress but can continue
in tree.
ok marco@
|
|
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@
|
|
void. Use XS_NO_CCB error in the scsi command (xs) to report the
NO_CCB condition. Eliminates all SUCCESSFULLY_QUEUED and COMPLETE
confusion and untangles the midlayer from the adapter a bit more.
Eyes and some fixes by miod@
There may be some compile issues on little used (i.e. I don't have
any) drivers but the change is mechanical and thus easy to remedy.
ok dlg@
|
|
chunks from being reordered on an existing volume.
ok marco@
|
|
ok marco@
|
|
ok @marco
|
|
ok marco@
|
|
other devices do. Silences complaints about missing media on removable
media devices.
ok marco@ jsing@
|
|
else cares so it's just noise. Drivers that actually look at ITSDONE
are unchanged.
ok marco@ (for his files) dlg@ beck@
|
|
without using a passphrase - instead the encryption mask key is stored on
the specified key disk partition (ideally being one on a removable device).
This also enables automatic assembly of crypto volumes at boot time.
ok marco@
|
|
"Love it!" marco@
|
|
"in, in, in!" marco@
|
|
panic that is caused by vnode aliasing, where checkalias() switches the
vnode ops for our vnode. This means that we end up using ufs unlocking
rather than specfs unlocking (which is a no-op).
ok marco@
|
|
ok marco@
|
|
"shiny!!" marco@
|
|
you backup your data and lock up your pets prior to using this.
Tested by todd@
ok marco@
|
|
ok marco@
|
|
ok marco@
|
|
ok marco@
|
|
ok marco@ deraadt@
|
|
rather than the start of the device name. Also, be inclusive with devices
probed rather than exclusive - this means we now only look for RAID
partitions on sd(4) and wd(4) devices.
prodded by deraadt@
ok marco@ deraadt@
|
|
spotted and ok jsing
|
|
This is needed for the addition of further suspend/resume actions.
Okay deraadt@, marco@.
|
|
Found by jsing, tested and ok jsing.
|
|
ok marco@
|
|
ok marco@
|
|
ok marco@, jsing@
|
|
d_open/d_close.
tested by many, ok jsing, thib, krw
|
|
ok marco@
|
|
ok marco@
|
|
suggested by and ok marco@
|
|
ok marco@
|
|
ok marco@
|
|
we do for roaming volumes.
ok marco@
|
|
sr_ioctl_createraid().
ok marco@
|
|
remco at d-compu dot dyndns dot org.
OK marco@
|
|
including a "chunk id already in use" bug that occurred when assembling
more than one volume at boot. Volumes are now kept in order, as are the
chunks which they are assembled from. Duplicated chunk IDs are now handled
appropriately, with the chunk that has the most recent ondisk metadata
being used.
Also tested by nicm@ who got bitten by the "chunk id already in use" bug.
ok marco@
|