source: mainline/uspace/srv/bd/hr/raid1.c

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @09e01d23   2 weeks mc hr: type fixes for 32-bit archs
(edit) @1162b6c   4 weeks mc hr: raid1.c: split read: abort on 0 good extents
(edit) @3b14bda   4 weeks mc hr: raid1.c: retry split in case of failure
(edit) @c76bf33   4 weeks mc hr: raid1.c: update rebuild extent's last seek pos
(edit) @974f9ba   4 weeks mc hr: different RAID 1 read strategies First - take first usable …
(edit) @6aafb48   4 weeks mc hr: rebuild: fix deadlock on extents_lock
(edit) @996d31ac   4 weeks mc hr: retire level specific add_hotspare() hr_ops_t
(edit) @95ca19d   5 weeks mc hr: add —read-only volume flag
(edit) @e5c3580   5 weeks mc hr: add HR_METADATA_ALLOW_REBUILD flag For now we want to be …
(edit) @6a8c1569   5 weeks mc hr: add option to save metadata on single extent
(edit) @e0695ce   5 weeks mc hr: save REBUILD position
(edit) @09c195e8   5 weeks mc hr: move rebuild init to util.c
(edit) @13f4c85   6 weeks mc hr: raid1.c: allow rebuild on INVALID extents
(edit) @263a2389   6 weeks mc hr: rename volume state ONLINE to OPTIMAL
(edit) @f0360ec   6 weeks mc hr: RAID 0, 1: use ENOMEM safe primitives
(edit) @3c518fc   6 weeks mc hr: remove HR_BD_SYNC All syncs are now done with common util …
(edit) @137f7cf5   6 weeks mc hr: add common hr_sync_extents() fcn
(edit) @b22ea202   6 weeks mc hr: rai1.c: make rebuild_blk evaluation more conservative
(edit) @234212a   6 weeks mc hr: rename data_dirty to first_write
(edit) @e0622a6   7 weeks mc hr: raid1.c: increment meta counter on first write
(edit) @7fba146   7 weeks mc hr: RAID 1: inc meta counter on first write
(edit) @b5c95da5   7 weeks mc hr: raid*_{create,init}(): replace asserts with EINVAL
(edit) @da80de9   8 weeks mc hr: move state callback to hr_ops_t
(edit) @6f13257   2 months mc hr: cstyle: don't align struct members and fcn decls
(edit) @af73327a   3 months mc hr: use the term 'volume' instead of 'array'
(edit) @56602e0   3 months mc hr: rename all strings status' -> state'
(edit) @155d34f   3 months mc hr: rename hr_get_*_status_msg → hr_get_*_state_str
(edit) @80c760e   3 months mc hr: remove truncated_blkno calculation from raid*.c Calculate the …
(edit) @18c3658   3 months mc hr: raid{0,1,5}.c: unusable volume creation message
(edit) @f647b87   3 months mc srv/bd/hr: remove unused nblocks variable
(edit) @50603405   3 months mc hr: metadata format agnostic superblock ops Put metadata specific …
(edit) @800d188   4 months mc hr: metadata saving on stop New bool argument for hr_metadata_save() …
(edit) @ca7fa5b   4 months mc hr: use <inttypes.h> macro specifiers
(edit) @0277ec2   4 months mc hr: refactor metadata handling
(edit) @baa4929   4 months mc hr: extent init refactor, blkno truncation
(edit) @6d0fc11   4 months mc hr: style: align structures, function prototypes
(edit) @746e636   4 months mc hr: add comments to raid init()
(edit) @56214383   4 months mc hr: util: hr_util_add_hotspare()
(edit) @8a65373   4 months mc hr: move registering out of specific RAIDs
(edit) @7a80c63   4 months mc hr: raid{0,1,5}.c: increment open() count
(edit) @a57dde4   4 months mc hr: use func for DEBUG printing fcn names
(edit) @e24c064   5 months mc hr: add NONE state (use INVALID for inconsistent)
(edit) @d2da1be   5 months mc hr: rename vol→state_changed → vol→state_dirty
(edit) @d6fe2a1   5 months mc hr: hr_mark_vol_state_dirty() helper
(edit) @10005fd   5 months mc hr: remove vol→halt_please bit and vol→halt_lock RW locks are not …
(edit) @4d42a1b   5 months mc hr: remove deferred invalidations
(edit) @6123753   5 months mc hr: raid1.c: print rebuild progress every 5%
(edit) @4d30c475   5 months mc hr: raid1.c: fix rebuild
(edit) @23df41b   7 months mc hr: move hr_process_deferred_invalidations() to util
(edit) @35f2a877   7 months mc hr: raid1.c: move around static functions
(edit) @d773bea9   7 months mc hr: RAID1: handle state edge cases in a rebuild
(edit) @dec4150   7 months mc hr: RAID1: fix unsafe access in add_hotspare()
(edit) @401b9e42   7 months mc hr: state_changed and peding_invalidation atomic flags These flags …
(edit) @e2b417f   7 months mc hr: RAID1: use update_svc_id() wrappers from util
(edit) @5ee041e   7 months mc hr: RAID1: deferred extent invalidation
(edit) @58d82fa   7 months mc hr: parallelize RAID1 changes in main hr_volume_t struct: - new mutex …
(edit) @a0c3080   8 months mc hr: util: hotspare and volume change state functions
(edit) @65706f1   8 months mc hr: rename dev_no → extent_no in hr_volume_t
(edit) @40bf2c6   8 months mc hr: allow IO requests to be served during rebuild
(edit) @bf0a791   8 months mc hr: cstyle
(edit) @f81960c5   8 months mc hr: RAID1: style
(edit) @b8409b9   8 months mc hr: RAID1: fix WRITE to rebuilt extent When writing to extent that is …
(edit) @d0f0744   8 months mc hr: RAID1: break after first successful read
(edit) @5b320ac   8 months mc hr: hotspares + RAID1 rebuild
(edit) @7b359f5   9 months mc hr: status/state event function for each RAID
(edit) @d199a6f   9 months mc hr: DPRINTF, ERR_PRINTF → HR_DEBUG, HR_ERROR Also add HR_WARN for …
(edit) @733564a   9 months mc hr: add all fcn prototypes in raid implementations Also restructure …
(edit) @5d96f427   9 months mc hr: use DPRINTF and ERR_PRINTF macros from util.h
(edit) @13ce552   9 months mc hr: add DEGRADED volume state Use it for weakened mirror as well.
(edit) @182ffcc   9 months mc hr: allow unsupported sync in RAID 0,1
(edit) @d84773a   9 months mc hr: RAID 1 state handling
(edit) @fad91b9   9 months mc hr: make bd op functions more compact A single function now handles …
(edit) @50bed55d   10 months mc hr: rename levels to upper case
(edit) @08fa9e8   10 months mc hr: style: simplify return value in create functions
(edit) @abc2c4b   10 months mc hr: remove big lock, add lock for individual volumes
(edit) @6b8e89b0   10 months mc hr: init fuction for each RAID level Compute total blocks, data …
(edit) @dbd91da   10 months mc hr: remake structures to include extent status Also rename .devs → …
(edit) @4a2a6b8b   11 months mc hr: add initial RAID 4 0 (non-rotating parity on disk 0)
(edit) @b0f1366   11 months mc hr: write persistent metadata, assemble array from metadata
(edit) @12cbf25e   11 months mc hr: disk size checking
(edit) @da5c257   11 months mc hr: create util.c
(add) @94d84a0   11 months mc hr: initial trivial mirroring implementation
Note: See TracRevisionLog for help on using the revision log.