summaryrefslogtreecommitdiff
path: root/sys/dev/softraid.c
AgeCommit message (Expand)Author
2013-11-19Print daddr_t's with %lld, size_t's with %zu, int's with %d andKenneth R Westerback
2013-11-04substantial namespace cleanup. Might go a little bit too far, but weTheo de Raadt
2013-11-01Sprinkle (long long) casts where %lld is being used to print daddr_tKenneth R Westerback
2013-07-19Don't use uninitialized variable when a simple 0 will do.Kenneth R Westerback
2013-07-01When an I/O error occurs on a softraid chunk, only take it offline if theJoel Sing
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
2013-05-21Ensure that sc_lock is held when calling sr_meta_native_bootprobe() - theJoel Sing
2013-05-21sr_raid_startwu() is no longer called from interrupt context, hence doesJoel Sing
2013-05-21Provide a function that handles the scheduling of work units. ThisJoel Sing
2013-05-21Make the sr_raid_startwu() function handle deferred work units, instead ofJoel Sing
2013-05-21Fix missing work unit state initialisations.Joel Sing
2013-05-21Use a state to indicate that a work unit should only be constructed and notJoel Sing
2013-04-26Add a SR_WUF_DISCIPLINE flag that identifies work units that have resultedJoel Sing
2013-04-23Rename ccb_flag to ccb_flags.Joel Sing
2013-04-21Convert RAID1 to the new work unit completion functions and genericJoel Sing
2013-03-31Use the discipline name instead of the product string when reporting theJoel Sing
2013-03-31The return value of sd_free_resources() is never checked and all of theJoel Sing
2013-03-31Fix compilation with debug.Joel Sing
2013-03-31Provide default resource allocation and free functions. Convert allJoel Sing
2013-03-30Provide wrappers for scsi_io_get() and scsi_io_put(), that also includeJoel Sing
2013-03-30Provide a default discipline interrupt handling function and migrate all ofJoel Sing
2013-03-29Decouple wakeups on work unit completion from the type of I/O beingJoel Sing
2013-03-29sd_wu_pending is only decremented when scsi_done() or scsi_io_put() areJoel Sing
2013-03-25Factor out the code that is used to recreate work units - one copy of theJoel Sing
2013-03-10Rename sc_dis to sc_targets, since it is an array of targets that alsoJoel Sing
2013-03-05Track attached softraid disciplines via a queue. This prevents the need toJoel Sing
2013-01-18The workunit completion needs to run at IPL_BIO, at least for now.Joel Sing
2013-01-18Tweak workunit completion.Joel Sing
2013-01-18Implement common workunit completion functions and handle the completionJoel Sing
2013-01-18Reset I/O counters when releasing ccbs.Joel Sing
2013-01-16Add a function that handles the completion of a ccb.Joel Sing
2013-01-16Set resid to zero if the scsi transfer completed without error.Joel Sing
2013-01-16Factor out code used to release ccbs from a workunit.Joel Sing
2013-01-15Implement a function that gets and correctly initialises a ccb for I/O,Joel Sing
2013-01-15Keep a function pointer to the per-discipline I/O interrupt handler in theJoel Sing
2013-01-15Factor out workunit initialisation code.Joel 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-10-08Change handling for volumes that are marked no-auto assemble. If we bootedJoel Sing
2012-10-08bzero the right variable.Joel Sing
2012-01-30Prevent softraid from being used with devices that do not have a sectorJoel Sing
2012-01-28Only pass bio ioctls through to the softraid bio ioctl handler. Rename theJoel Sing
2012-01-22Convert softraid(4) to new bio(4) status interface. This allows bioctl(8)Joel Sing
2012-01-22Disable the softraid disk attach hook on detach.Joel Sing
2012-01-22Ensure that the sc_lock is held before the status functions are called.Joel Sing
2012-01-21Split sr_uuid_print() into two functions - one that formats and one thatJoel Sing
2012-01-20Add bio(4) status interface structs and utility functions to softraid(4).Joel Sing
2012-01-17Check the metadata level against the assembly level before proceeding withJoel Sing
2012-01-17Add missing ioctl DNPRINTFs and nuke some rogue commas.Joel Sing
2012-01-11Move softraid root mapping to later in the boot process - this will allowJoel Sing