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

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @73a2780   2 weeks mc hr: remove old comments
(edit) @ca212a51   3 weeks mc hr: RAID 0, 5: init strip size to closest (down) pow of 2
(edit) @b127da2f   3 weeks mc hr: careful assembly
(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) @93ea452   5 weeks mc hr: util.c: catch meta2vol() error
(edit) @aa9bad8   5 weeks mc hr: let each format implement own probe This will allow metadata to …
(edit) @78433bb   5 weeks mc hr: allocate in-memory metadata in format code This will allow some …
(edit) @e0695ce   5 weeks mc hr: save REBUILD position
(edit) @cdfcaea   5 weeks mc hr: RAID 5 rebuild
(edit) @09c195e8   5 weeks mc hr: move rebuild init to util.c
(edit) @a5a2dcf   6 weeks mc hr: util.c: make state changes logs mostly DEBUG level
(edit) @81b4c795   6 weeks mc hr: rename malloc_waitok() to hr_malloc_waitok()
(edit) @4c103ee   6 weeks mc hr: util.c: remove debug print
(edit) @817cb83   6 weeks mc hr: update loc_service_register() calls
(edit) @f0360ec   6 weeks mc hr: RAID 0, 1: use ENOMEM safe primitives
(edit) @137f7cf5   6 weeks mc hr: add common hr_sync_extents() fcn
(edit) @a3486f2   6 weeks mc hr: parallel RAID 5
(edit) @66ef60b   6 weeks mc hr: range locks: add noalloc lock acquire
(edit) @f0950d2   6 weeks mc hr: add malloc_waitok() and calloc_waitok()
(edit) @234212a   6 weeks mc hr: rename data_dirty to first_write
(edit) @7fba146   7 weeks mc hr: RAID 1: inc meta counter on first write
(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) @c9ce6d22   3 months mc hr: refactor volume removal
(edit) @9a3eec1   3 months mc hr: util: hr_get_volume_svcs()
(edit) @287b2ea   3 months mc hr: don't add "devices/" prefix on vol registration
(edit) @e1ed6ec0   3 months mc hr: auto assembly: detect bogus label type
(edit) @2f21cd4   3 months mc hr: util.c: fix hotspare blkno check
(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) @c2f0160   3 months mc hr: util: add more checks for hotspare addition
(edit) @d1d355f   3 months mc hr: refactor hrctl and some hr IPC methods
(edit) @59ec1c50   3 months mc hr: util.c: fix possible null deref
(edit) @c9ef864   3 months mc hr: util.c: hr_create_vol_struct: HR_LVL_4 fallthrough
(edit) @b883aa8   3 months mc hr: move metadata_type_t to lib/hr for type printing Also renames …
(edit) @75262d2f   3 months mc hr: util.c: hr_create_vol_struct() style
(edit) @80c760e   3 months mc hr: remove truncated_blkno calculation from raid*.c Calculate the …
(edit) @d3a23c9   3 months mc srv/hr/util.c: change log level LVL_WARN to LVL_NOTE
(edit) @372a9fc   3 months mc srv/hr/util.c: don't dump metadata
(edit) @58c43d4   3 months mc hr: util.c: matching type as well
(edit) @14394141   3 months mc hr: util.c: style
(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) @bbcd06e   4 months mc hr: keep counter only in memory saved metadata
(edit) @52be5fa   4 months mc hr: increment metadata counter on volume assembly For now increment …
(edit) @44da6c8   4 months mc hr: util.c: initialize empty extents to MISSING
(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) @d082801   4 months mc hr: refactor manual assembly
(edit) @d946c27   4 months mc hr: initialize and populate in memory metadata
(edit) @49de61c   4 months mc hr: util.c: fix hr_register_volume()
(edit) @56214383   4 months mc hr: util: hr_util_add_hotspare()
(edit) @8a65373   4 months mc hr: move registering out of specific RAIDs
(edit) @0437dd5   4 months mc hr: util.c: block_fini() hotspares
(edit) @8b51009   4 months mc hr: auto assembly, refactor Added automatic assembly (with hrctl -A). …
(edit) @a57dde4   4 months mc hr: use func for DEBUG printing fcn names
(edit) @e494d7b   5 months mc hr: initialize hotspare states to MISSING
(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) @4d42a1b   5 months mc hr: remove deferred invalidations
(edit) @23df41b   7 months mc hr: move hr_process_deferred_invalidations() to util
(edit) @edc89bd8   7 months mc hr: util: add hr_update_{ext,hotspare}_svc_id() Provides easy way to …
(edit) @36661772   7 months mc hr: util.c: add assertions for locks
(edit) @7a3529a8   7 months mc hr: util.c: bounds check on state updates
(edit) @38e3c0a7   7 months mc hr: range locks
(edit) @37ffa4d   8 months mc hr: modify change state message
(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) @e76e12d8   8 months mc hr: add hr_count_extents(volume, state) Counts volume extents in some …
(edit) @d199a6f   9 months mc hr: DPRINTF, ERR_PRINTF → HR_DEBUG, HR_ERROR Also add HR_WARN for …
(edit) @5d96f427   9 months mc hr: use DPRINTF and ERR_PRINTF macros from util.h
(edit) @52af125   9 months mc hr: add hr_sync_all_extents()
(edit) @1cfa162   9 months mc hr: assert block size to be a multiple of 512
(edit) @e47a032   9 months mc hr: base for status handling
(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) @44ea48e   11 months mc hr: register hr array under "devices/XXXX"
(add) @da5c257   11 months mc hr: create util.c
Note: See TracRevisionLog for help on using the revision log.