summaryrefslogtreecommitdiff
path: root/sys/dev/softraid_crypto.c
AgeCommit message (Expand)Author
2013-04-01Rename sr_crypto_rw2() to sr_crypto_dev_rw(), which actually reflects theJoel Sing
2013-04-01Validate the I/O request when it is first received, rather than waitingJoel Sing
2013-03-31Use consistent error handling when validating the number of chunksJoel Sing
2013-03-31The return value of sd_free_resources() is never checked and all of theJoel Sing
2013-03-30Provide a default discipline interrupt handling function and migrate all ofJoel Sing
2013-03-29sd_wu_pending is only decremented when scsi_done() or scsi_io_put() areJoel Sing
2013-03-02sr_alloc_resources() and sr_free_resources() can never be called withoutJoel Sing
2013-01-18Convert softraid crypto to the new ccb and workunit completion functions.Joel Sing
2013-01-16Set resid to zero if the scsi transfer completed without error.Joel Sing
2013-01-15Always initialise the discipline name, not just when we are doing a create.Joel Sing
2013-01-15Keep a function pointer to the per-discipline I/O interrupt handler in theJoel Sing
2012-10-09Provide a mechanism for the kernel to directly pass a mask key through toJoel Sing
2012-10-08Provide a mechanism for the kernel to pass data through to the disciplineJoel Sing
2012-01-30Prevent softraid from being used with devices that do not have a sectorJoel Sing
2012-01-22Convert softraid(4) to new bio(4) status interface. This allows bioctl(8)Joel Sing
2012-01-22Move list initialisation to the start of the function - this prevents usJoel Sing
2011-12-26Provide default set chunk state and set volume state functions whichJoel Sing
2011-12-25Initialise discipline function pointers with defaults and only overrideJoel Sing
2011-09-20Mark softraid crypto volumes as being capable of auto assembly, since theyJoel Sing
2011-09-20Simplify the crypto descriptor handling by changing the list head, insteadJoel Sing
2011-09-18Add support for variable length optional metadata in softraid(4). ThisJoel Sing
2011-09-18Rename the optional metadata handler function and factor out the optionalJoel Sing
2011-07-07only allocate and copyin the length of kdfinfo data.Ted Unangst
2011-07-05ENOMEM causing EIO errors is bad juju. Softraid crypto did this.Owain Ainsworth
2011-06-18Change sizeof(&kdfinfo2) to sizeof(kdfinfo2).Matthew Dempsky
2011-06-17M_WAITOK cleanup of two cases:Michael Knudsen
2011-06-05Fix function names in debug printfs and use a more user-friendly errorStefan Sperling
2011-05-20sr_scsi_cmd copes with failed i/o just fine so there's no needMike Belopuhov
2011-04-06make crypto work with bigmemMarco Peereboom
2011-04-05Iopoolification. Testing by marco@.Kenneth R Westerback
2011-03-06fix function name in error/debug messages; ok marcoStefan Sperling
2011-01-12stray tabMarco Peereboom
2011-01-12explicit zeroing of key information in the softraid ioctl codeTheo de Raadt
2011-01-12more explicit_bzero to delete keys.Marco Peereboom
2011-01-12lots of explicit_bzero for things which contain parts of keysTheo de Raadt
2010-11-06Move raid1 and crypto io to a workq. This is to avoid a potential VOP_Marco Peereboom
2010-09-27A few M_ZEROs without any M_WAITOK/M_NOWAITs.Thordur I. Bjornsson
2010-09-27tedu's shiny new pool_get kassert found an instance of PR_NOWAIT orMarco Peereboom
2010-09-23The only sensible argument for VOP_* calls that take a struct proc pointer isOwain Ainsworth
2010-07-02Rename the volume specific flags variable.Joel Sing
2010-07-02Determine the data offset using a variable specified within the softraidJoel Sing
2010-05-18dont let sys/ioctl.h imply that you get the ioctls in dkio.h. thisDavid Gwynne
2010-04-18Make key disks use their own optional metadata type, rather than reusingJoel Sing
2010-03-28Completely overhaul optional metadata handling, allowing for multipleJoel Sing
2010-03-28Correctly initialise variables to prevent possible free without malloc inJoel Sing
2010-03-26Add storage for the boot block and boot loader to the softraid metadata.Joel Sing
2010-01-09Zap all setting of ITSDONE in drivers that don't look at it. NobodyKenneth R Westerback
2009-12-31Assert copyright.Joel Sing
2009-12-31Add support for key disks. This allows a crypto volume to be constructedJoel Sing
2009-12-15Factor out discipline specific create/assemble code.Joel Sing