Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | A few more daddr_t fixes. Rename 'phys_off' variables to 'offset' | 2015-07-21 | 1 | -14/+14 | |
| | | | | | | | | | 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. | ||||
* | Stop adding and subtracting data offset. Just keep to chunk relative | 2015-07-19 | 1 | -2/+1 | |
| | | | | | | | | | 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@ | ||||
* | Stray missing (long long) on a daddr_t variable being printed. | 2013-11-22 | 1 | -2/+2 | |
| | | | | ok jsing@ | ||||
* | Don't cast int64_t variables to (long long) when using %lld. | 2013-11-21 | 1 | -4/+2 | |
| | |||||
* | Change a bunch of daddr_t variables that don't (obviously) contain | 2013-11-21 | 1 | -4/+5 | |
| | | | | | | 512-byte-block information to int64_t, the underlying type of daddr_t at the moment. No change to .o files. Removal of now unneeded (long long) casts is next. | ||||
* | Sprinkle (long long) casts where %lld is being used to print daddr_t | 2013-11-01 | 1 | -2/+4 | |
| | | | | | | variables. Some random whitespace/knf repairs encountered on the way. ok miod@ on inspection, feedback & more suggestions from millert@ | ||||
* | final removal of daddr64_t. daddr_t has been 64 bit for a long enough | 2013-06-11 | 1 | -4/+4 | |
| | | | | | test period; i think 3 years ago the last bugs fell out. ok otto beck others | ||||
* | Provide a function that handles the scheduling of work units. This | 2013-05-21 | 1 | -7/+3 | |
| | | | | | | | simplifies the discipline code, avoids code duplication and moves the scheduling logic into a single location. ok krw@ | ||||
* | Use consistent error handling when validating the number of chunks | 2013-03-31 | 1 | -2/+3 | |
| | | | | provided. | ||||
* | More runtime value initialisation functions. | 2013-03-31 | 1 | -4/+10 | |
| | |||||
* | Provide default resource allocation and free functions. Convert all | 2013-03-31 | 1 | -38/+1 | |
| | | | | disciplines except for AOE and CRYPTO, which require custom handlers. | ||||
* | Provide a default discipline interrupt handling function and migrate all of | 2013-03-30 | 1 | -23/+1 | |
| | | | | | | the disciplines that now have the same interrupt code. ok krw@ | ||||
* | sr_alloc_resources() and sr_free_resources() can never be called without | 2013-03-02 | 1 | -8/+1 | |
| | | | | a valid struct sr_discipline. Remove redundant NULL pointer checks. | ||||
* | Unbreak softraid compilation with debug enabled. | 2013-03-02 | 1 | -2/+2 | |
| | | | | Prompted by Dmitry Bogdan. | ||||
* | Convert softraid concat to new workunit completion functions. | 2013-01-18 | 1 | -41/+13 | |
| | |||||
* | Clean up and rework workunit completion for concat. Ensure that we remove | 2013-01-18 | 1 | -31/+21 | |
| | | | | | | | the workunit from the pending queue and restart deferred workunits, even in error conditions. ok krw@ | ||||
* | Convert softraid concat to the new ccb functions. | 2013-01-17 | 1 | -63/+8 | |
| | | | | ok krw@ | ||||
* | Set resid to zero if the scsi transfer completed without error. | 2013-01-16 | 1 | -2/+1 | |
| | | | | ok krw@ | ||||
* | Always initialise the discipline name, not just when we are doing a create. | 2013-01-15 | 1 | -4/+2 | |
| | |||||
* | Keep a function pointer to the per-discipline I/O interrupt handler in the | 2013-01-15 | 1 | -1/+2 | |
| | | | | discipline data structure. To be used with an upcoming diff. | ||||
* | Provide a mechanism for the kernel to pass data through to the discipline | 2012-10-08 | 1 | -3/+3 | |
| | | | | during volume assembly. | ||||
* | Convert softraid(4) to new bio(4) status interface. This allows bioctl(8) | 2012-01-22 | 1 | -2/+4 | |
| | | | | | | 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. | ||||
* | Implement a concatenating discipline for softraid. | 2011-12-31 | 1 | -0/+329 | |
Many thanks to Marco Peereboom for his assistance with testing and debugging. Thanks also to Josh Grosse and Chris Jackman for testing. |