| 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @e77c3ed
                 
               | 
              7 months | 
              mc | 
              
                hr: superblock.c,h: const quals for args
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @800d188
                 
               | 
              7 months | 
              mc | 
              
                hr: metadata saving on stop
New bool argument for hr_metadata_save() …
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @ca7fa5b
                 
               | 
              7 months | 
              mc | 
              
                hr: use <inttypes.h> macro specifiers
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @bbcd06e
                 
               | 
              7 months | 
              mc | 
              
                hr: keep counter only in memory saved metadata
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @52be5fa
                 
               | 
              7 months | 
              mc | 
              
                hr: increment metadata counter on volume assembly
For now increment …
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @44da6c8
                 
               | 
              7 months | 
              mc | 
              
                hr: util.c: initialize empty extents to MISSING
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @0277ec2
                 
               | 
              7 months | 
              mc | 
              
                hr: refactor metadata handling
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @a5ec426
                 
               | 
              7 months | 
              mc | 
              
                hr: superblock: move to last block
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @baa4929
                 
               | 
              7 months | 
              mc | 
              
                hr: extent init refactor, blkno truncation
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @6d0fc11
                 
               | 
              7 months | 
              mc | 
              
                hr: style: align structures, function prototypes
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @746e636
                 
               | 
              7 months | 
              mc | 
              
                hr: add comments to raid init()
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @d082801
                 
               | 
              7 months | 
              mc | 
              
                hr: refactor manual assembly
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @1a28518
                 
               | 
              7 months | 
              mc | 
              
                hr: superblock.c: fix bsize decoding
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @7e8c0e7
                 
               | 
              7 months | 
              mc | 
              
                hr: superblock.c: remove UUID generation for each extent
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @2e7df2e
                 
               | 
              7 months | 
              mc | 
              
                hr: superblock.c: fix UUID memcpy()
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @d946c27
                 
               | 
              7 months | 
              mc | 
              
                hr: initialize and populate in memory metadata
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @49de61c
                 
               | 
              7 months | 
              mc | 
              
                hr: util.c: fix hr_register_volume()
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @56214383
                 
               | 
              7 months | 
              mc | 
              
                hr: util: hr_util_add_hotspare()
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @8a65373
                 
               | 
              7 months | 
              mc | 
              
                hr: move registering out of specific RAIDs
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @7a80c63
                 
               | 
              7 months | 
              mc | 
              
                hr: raid{0,1,5}.c: increment open() count
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @0437dd5
                 
               | 
              7 months | 
              mc | 
              
                hr: util.c: block_fini() hotspares
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @8b51009
                 
               | 
              7 months | 
              mc | 
              
                hr: auto assembly, refactor
Added automatic assembly (with hrctl -A). …
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @7bfe468
                 
               | 
              7 months | 
              mc | 
              
                hr: hr.c: hr_client_conn() return ENOENT
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @b04f7af
                 
               | 
              7 months | 
              mc | 
              
                hr: hr.c: add headers
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @a57dde4
                 
               | 
              7 months | 
              mc | 
              
                hr: use func for DEBUG printing fcn names
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @5fe0b9b5
                 
               | 
              7 months | 
              mc | 
              
                hr: var.h: comment cstyle
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @2958e70
                 
               | 
              8 months | 
              mc | 
              
                hr: var.h: revert hotspare no. back from invalidations
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @de81104
                 
               | 
              8 months | 
              mc | 
              
                hr: style headers
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @e3e53cc
                 
               | 
              8 months | 
              mc | 
              
                hr: var.h: remove struct hr_deferred_invalidation
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @e494d7b
                 
               | 
              8 months | 
              mc | 
              
                hr: initialize hotspare states to MISSING
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @e24c064
                 
               | 
              8 months | 
              mc | 
              
                hr: add NONE state (use INVALID for inconsistent)
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @d2da1be
                 
               | 
              8 months | 
              mc | 
              
                hr: rename vol→state_changed → vol→state_dirty
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @f1be66bf
                 
               | 
              8 months | 
              mc | 
              
                hr: raid5.c: fast patch to make new asserts pass
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @d6fe2a1
                 
               | 
              8 months | 
              mc | 
              
                hr: hr_mark_vol_state_dirty() helper
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @10005fd
                 
               | 
              8 months | 
              mc | 
              
                hr: remove vol→halt_please bit and vol→halt_lock
RW locks are not …
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @4d42a1b
                 
               | 
              8 months | 
              mc | 
              
                hr: remove deferred invalidations
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @6123753
                 
               | 
              8 months | 
              mc | 
              
                hr: raid1.c: print rebuild progress every 5%
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @4d30c475
                 
               | 
              8 months | 
              mc | 
              
                hr: raid1.c: fix rebuild
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @b15e534
                 
               | 
              8 months | 
              mc | 
              
                hr/fge.c: add some comments
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @0fcb011
                 
               | 
              8 months | 
              mc | 
              
                hr: raid0.c: early break if (left == 0)
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @d30e067
                 
               | 
              8 months | 
              mc | 
              
                Merge 'upstream/master' into helenraid-para
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @4285f384
                 
               | 
              8 months | 
              jiri | 
              
                Allow physically ejecting CD-ROM using vol eject -s
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @7debda3
                 
               | 
              10 months | 
              mc | 
              
                hr: fge: make group→wu_cnt an upper bound
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @9f15da1
                 
               | 
              10 months | 
              mc | 
              
                hr: fge: fix fibril unsafe assert
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @a6fb937
                 
               | 
              10 months | 
              mc | 
              
                hr: RAID0: handle hr_fgroup_create() → ENOMEM
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @23df41b
                 
               | 
              10 months | 
              mc | 
              
                hr: move hr_process_deferred_invalidations() to util
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @35f2a877
                 
               | 
              10 months | 
              mc | 
              
                hr: raid1.c: move around static functions
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @d773bea9
                 
               | 
              10 months | 
              mc | 
              
                hr: RAID1: handle state edge cases in a rebuild
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @dec4150
                 
               | 
              10 months | 
              mc | 
              
                hr: RAID1: fix unsafe access in add_hotspare()
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @401b9e42
                 
               | 
              10 months | 
              mc | 
              
                hr: state_changed and peding_invalidation atomic flags
These flags …
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @e2b417f
                 
               | 
              10 months | 
              mc | 
              
                hr: RAID1: use update_svc_id() wrappers from util
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @edc89bd8
                 
               | 
              10 months | 
              mc | 
              
                hr: util: add hr_update_{ext,hotspare}_svc_id()
Provides easy way to …
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @36661772
                 
               | 
              10 months | 
              mc | 
              
                hr: util.c: add assertions for locks
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @5ee041e
                 
               | 
              10 months | 
              mc | 
              
                hr: RAID1: deferred extent invalidation
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @58d82fa
                 
               | 
              10 months | 
              mc | 
              
                hr: parallelize RAID1
changes in main hr_volume_t struct:
- new mutex …
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @ee47537
                 
               | 
              10 months | 
              mc | 
              
                hr: RAID0: refactor hr_raid0_update_vol_status()
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @4660649
                 
               | 
              10 months | 
              mc | 
              
                hr: RAID0: return ENOMEM on out-of-memory READs
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @0d77d30
                 
               | 
              10 months | 
              mc | 
              
                hr: hr_io_worker(): ENOMEM handling for WRITEs
Call state callback on …
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @efc6259
                 
               | 
              10 months | 
              mc | 
              
                hr: fge: aggregate ENOMEM final errno
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @a5c2960e
                 
               | 
              10 months | 
              mc | 
              
                hr: RAID0: pass actual block address to workers
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @bc3d695
                 
               | 
              10 months | 
              mc | 
              
                hr: RAID0 parallelization
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @685c0ab
                 
               | 
              10 months | 
              mc | 
              
                hr: superblock.c: style
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @7a3529a8
                 
               | 
              10 months | 
              mc | 
              
                hr: util.c: bounds check on state updates
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @723f1d9
                 
               | 
              10 months | 
              mc | 
              
                hr: fge: fgroup_create(): assert worker count > 0
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @5ee5f67
                 
               | 
              10 months | 
              mc | 
              
                hr: fge: make finished_{okay,failed} not atomic
And test if all …
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @083ce33
                 
               | 
              10 months | 
              mc | 
              
                hr: fge: hr_fpool_create(): assert max_wus > 0
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @08c98d4c
                 
               | 
              10 months | 
              mc | 
              
                hr: fge: fix deadlock
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @5a8f69e7
                 
               | 
              10 months | 
              mc | 
              
                hr: fge: cstyle
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @eb31781
                 
               | 
              10 months | 
              mc | 
              
                hr: raid5.c: cstyle
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @8137d36
                 
               | 
              11 months | 
              mc | 
              
                hr: fge: style
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @37a9c1e
                 
               | 
              11 months | 
              mc | 
              
                hr: hr_volume_t: rename RLQ → layout
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @f3b74d1
                 
               | 
              11 months | 
              mc | 
              
                hr: fge: use libc queue <adt/circ_buf.h>
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @95158dac
                 
               | 
              11 months | 
              mc | 
              
                hr: fge: can ask for wus that finished with EOK
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @57110ac8
                 
               | 
              11 months | 
              mc | 
              
                hr: initialize range lock list and list lock
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @83c8bb2
                 
               | 
              11 months | 
              mc | 
              
                hr: hr_volume_t: fix number of hotspares
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @38e3c0a7
                 
               | 
              11 months | 
              mc | 
              
                hr: range locks
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @f725787
                 
               | 
              11 months | 
              mc | 
              
                hr: fge: fibril group executor
This fibril pool allows execution of …
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @37ffa4d
                 
               | 
              11 months | 
              mc | 
              
                hr: modify change state message
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @521b387
                 
               | 
              11 months | 
              mc | 
              
                hr: RAID5: fix degraded write
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @f312fb9
                 
               | 
              11 months | 
              mc | 
              
                hr: remove RAID4 functions leftovers
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @ea0d494
                 
               | 
              11 months | 
              mc | 
              
                hr: don't set RLQ when assembling
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @4066371
                 
               | 
              11 months | 
              mc | 
              
                hr: layout info printing
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @241c3f6
                 
               | 
              11 months | 
              mc | 
              
                hr: move RAID4 to RAID5
Removes whole raid4.c, as RAID4 is …
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @d7768d11
                 
               | 
              11 months | 
              mc | 
              
                hr: add different RAID4,5 layouts
Also prepare the metadata for …
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @a0c3080
                 
               | 
              11 months | 
              mc | 
              
                hr: util: hotspare and volume change state functions
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @65706f1
                 
               | 
              11 months | 
              mc | 
              
                hr: rename dev_no → extent_no in hr_volume_t
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @40bf2c6
                 
               | 
              11 months | 
              mc | 
              
                hr: allow IO requests to be served during rebuild
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @8160e4c0
                 
               | 
              11 months | 
              mc | 
              
                hr: RAID 4,5: optimize operations with xorbuf
Read block on first …
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @bf0a791
                 
               | 
              11 months | 
              mc | 
              
                hr: cstyle
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @aa7864b
                 
               | 
              12 months | 
              mc | 
              
                hr: RAID5: hotspare + rebuild
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @a56ac5d1
                 
               | 
              12 months | 
              mc | 
              
                hr: fix RAID 4,5 parity xorring length
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @30140c1b
                 
               | 
              12 months | 
              mc | 
              
                hr: RAID4: hotspare + rebuild
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @f81960c5
                 
               | 
              12 months | 
              mc | 
              
                hr: RAID1: style
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @b8409b9
                 
               | 
              12 months | 
              mc | 
              
                hr: RAID1: fix WRITE to rebuilt extent
When writing to extent that is …
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @d0f0744
                 
               | 
              12 months | 
              mc | 
              
                hr: RAID1: break after first successful read
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @5b320ac
                 
               | 
              12 months | 
              mc | 
              
                hr: hotspares + RAID1 rebuild
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @06f2762
                 
               | 
              12 months | 
              mc | 
              
                hr: add option to write metadata to one extent
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @e76e12d8
                 
               | 
              12 months | 
              mc | 
              
                hr: add hr_count_extents(volume, state)
Counts volume extents in some …
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @7b359f5
                 
               | 
              12 months | 
              mc | 
              
                hr: status/state event function for each RAID
               | 
            
            
              | 
                
                
               | 
              
                
                  
                  
                
               | 
              
                
                  @d199a6f
                 
               | 
              12 months | 
              mc | 
              
                hr: DPRINTF, ERR_PRINTF → HR_DEBUG, HR_ERROR
Also add HR_WARN for …
               | 
            
            
              | 
                
                
               | 
               |