| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
|
| |
|
|
| |
Abort rebuild and drain IO when shutting down.
|
| |
|
|
|
| |
provided by Parfait
ok oga
|
| |
|
|
| |
KNF & spelling too
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
signature, rather than just assuming that a partition of type RAID always
has metadata. Add a similar test when validating native metadata. Whilst
here, make sure that the metadata version is printed correctly.
ok marco@
|
| |
|
|
|
|
|
|
| |
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@
|
| |
|
|
|
| |
about having enough WU + CCB during rebuilds. This also brings softraid
closer to behaving like the other SCSI devices.
|
| | |
|
| |
|
|
| |
use with caution...
|
| | |
|
| |
|
|
|
|
| |
as additional argument. This will allow intermediate layers between
scsi devices such as sd and scsi host adapters to take appropriate
action if necessary.
|
| |
|
|
|
|
|
|
|
|
| |
is such a beast because it doesn't physically add a device to the OS but
exports a RAID partition. It creates a kernel thread for each
exported aoe target. Since it reuses all the goodies in softraid upon
reboot the metadata is discovered and therefore the partition is exported
at boot time.
ok tedu dlg
|
| | |
|
| | |
|
| |
|
|
|
|
| |
part of a server. there's no configuration yet, and several other drawbacks,
but it can be hammered into shape. i haven't moved the code forward in a year,
and marco wants it in the tree to hack on.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
values in all cases.
ok marco@
|
| |
|
|
| |
Noticed by todd, proded by miod.
|
| |
|
|
| |
pretty-print the UUID in RFC4122 form
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
instead of malloc;
OK hshoexer@ and macro@
|
| |
|
|
|
|
|
| |
able to distinguish cleanly an failing ioctl (ie. return value -1) from
trying to retrieve a KDF hint from a not yet initialized volume.
ok marco djm
|
| |
|
|
|
|
| |
crypto. It's still considered experimental!
ok djm marco
|
| |
|
|
|
|
|
|
|
| |
mask key from userland. Thus, modify sr_crypto_get_kdf() do correclty handle
copying kdf hint and/or mask key.
While there, remove superflous sr_read_meta().
ok marco djm
|
| |
|
|
|
|
|
|
| |
retrieving the kdf blobb. Pointed out by marco.
while there, use %lld instead of %d when printing b_blkno, which daddr64_t.
ok marco
|
| | |
|
| |
|
|
|
|
|
|
|
| |
generation used by user space in the meta data.
Actually use the masking key for encryption and decryption of on-disk key
at run time.
ok djm marco
|
| |
|
|
| |
ok hshoexer
|
| |
|
|
|
| |
discussed with krw, kettenis & drahn
ok hshoexer
|
| |
|
|
|
|
| |
disabled, of course, and still work in progress.
help by djm@, ok marco@
|
| |
|
|
| |
ok deraadt@
|
| |
|
|
|
|
| |
from Rainer Giedat
ok marco@
|
| | |
|
| |
|
|
| |
ok tedu@ marco@
|
| |
|
|
|
| |
Randomize Crypto password and add salt array.
Add mock key encryption functions.
|
| |
|
|
|
| |
fucntion. Fix bug in the crypto code that could casuse data corruption as
a bonus, bad cut & past tedu!
|
| | |
|
| |
|
|
|
|
|
|
| |
same code in all disciplines. This shaves of a few bytes.
crypto 3185 -> 2690
raid 0 2843 -> 2378
raid 1 3474 -> 2689
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Decrypt only once on entry or exit instead of on in and out regardless of
direction.
There is still room for improvement but this is the first stab.
Tested by many ok tedu
|
| |
|
|
|
|
| |
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.
|
| |
|
|
| |
Fix bioctl size output which was off by *512; diagnosed by otto
|
| | |
|
| | |
|
| |
|
|
| |
Much prodding todd
|
| | |
|
| |
|
|
| |
ok krw@ deraadt@ dlg@
|