# # ChangeLog for uspace/srv/bd in mainline # # Generated by Trac 1.6 # 2025-10-31T07:18:25Z Tue, 10 Jun 2025 01:23:06 GMT Miroslav Cimerman [e0622a6] * uspace/srv/bd/hr/raid1.c (modified) hr: raid1.c: increment meta counter on first write Tue, 10 Jun 2025 00:30:43 GMT Miroslav Cimerman [13ada52] * uspace/srv/bd/hr/hr.c (modified) hr: make failing an extent erase the superblock Mon, 09 Jun 2025 23:47:11 GMT Miroslav Cimerman [6791fbf] * uspace/srv/bd/hr/metadata/foreign/geom/hr_g_mirror.c (modified) * uspace/srv/bd/hr/metadata/foreign/geom/hr_g_stripe.c (modified) * uspace/srv/bd/hr/metadata/foreign/softraid/hr_softraid.c (modified) hr: foreign metadata: un-silent save() Mon, 09 Jun 2025 23:41:50 GMT Miroslav Cimerman [7fba146] * uspace/srv/bd/hr/metadata/foreign/geom/hr_g_mirror.c (modified) * uspace/srv/bd/hr/metadata/foreign/geom/hr_g_stripe.c (modified) * uspace/srv/bd/hr/metadata/foreign/softraid/hr_softraid.c (modified) * uspace/srv/bd/hr/metadata/native.c (modified) * uspace/srv/bd/hr/raid1.c (modified) * uspace/srv/bd/hr/superblock.c (modified) * uspace/srv/bd/hr/superblock.h (modified) * uspace/srv/bd/hr/util.c (modified) * uspace/srv/bd/hr/var.h (modified) hr: RAID 1: inc meta counter on first write Mon, 09 Jun 2025 22:41:51 GMT Miroslav Cimerman [83ff12f] * uspace/srv/bd/hr/raid0.c (modified) hr: raid0.c: no need to increment md_counter Mon, 09 Jun 2025 22:41:33 GMT Miroslav Cimerman [177f6ff] * uspace/srv/bd/hr/hr.c (modified) hr: stop all volumes: ignore != EOK Mon, 09 Jun 2025 22:40:41 GMT Miroslav Cimerman [b5c95da5] * uspace/srv/bd/hr/raid0.c (modified) * uspace/srv/bd/hr/raid1.c (modified) * uspace/srv/bd/hr/raid5.c (modified) hr: raid*_{create,init}(): replace asserts with EINVAL Mon, 09 Jun 2025 21:28:55 GMT Miroslav Cimerman [9ee9c60b] * uspace/srv/bd/hr/raid5.c (modified) hr: raid5.c: use RAID 4 layout with RAID 4 level Mon, 09 Jun 2025 21:24:57 GMT Miroslav Cimerman [0fce1a6] * uspace/app/hrctl/hrctl.c (modified) * uspace/lib/device/include/hr.h (modified) * uspace/lib/device/src/hr.c (modified) * uspace/srv/bd/hr/metadata/foreign/geom/hr_g_mirror.c (modified) * uspace/srv/bd/hr/metadata/foreign/geom/hr_g_stripe.c (modified) * uspace/srv/bd/hr/metadata/foreign/softraid/hr_softraid.c (modified) * uspace/srv/bd/hr/raid5.c (modified) hr: rename HR_RLQ_* to HR_LAYOUT_* Mon, 09 Jun 2025 21:11:16 GMT Miroslav Cimerman [eabc094c] * uspace/srv/bd/hr/metadata/native.c (modified) * uspace/srv/bd/hr/superblock.h (modified) hr: add superblock erasure op Mon, 09 Jun 2025 20:42:55 GMT Miroslav Cimerman [f34568c] * uspace/app/hrctl/hrctl.c (modified) * uspace/lib/device/include/hr.h (modified) * uspace/srv/bd/hr/hr.c (modified) hr: print % done of REBUILD operation Mon, 09 Jun 2025 20:02:26 GMT Miroslav Cimerman [e2a8fd2] * uspace/srv/bd/hr/hr.c (modified) hr: try automatic assembly on server start Mon, 09 Jun 2025 20:01:03 GMT Miroslav Cimerman [e0bbecb] * uspace/app/hrctl/hrctl.c (modified) * uspace/app/hrctl/meson.build (modified) * uspace/lib/device/include/hr.h (modified) * uspace/lib/device/include/ipc/hr.h (modified) * uspace/lib/device/src/hr.c (modified) * uspace/srv/bd/hr/hr.c (modified) hr: move state printing to hrctl One IPC call is for short volume ... Sat, 07 Jun 2025 11:52:34 GMT Miroslav Cimerman [da80de9] * uspace/srv/bd/hr/hr.c (modified) * uspace/srv/bd/hr/io.c (modified) * uspace/srv/bd/hr/metadata/native.c (modified) * uspace/srv/bd/hr/raid0.c (modified) * uspace/srv/bd/hr/raid1.c (modified) * uspace/srv/bd/hr/raid5.c (modified) * uspace/srv/bd/hr/util.c (modified) * uspace/srv/bd/hr/var.h (modified) hr: move state callback to hr_ops_t Tue, 20 May 2025 19:24:46 GMT Miroslav Cimerman [49da044] * uspace/srv/bd/hr/fge.c (modified) * uspace/srv/bd/hr/fge.h (modified) hr: fge: move types to fge.h Tue, 20 May 2025 18:38:22 GMT Miroslav Cimerman [c5b60e25] * uspace/srv/bd/hr/hr.c (modified) hr: use PRIun to print service_id_t Tue, 20 May 2025 11:01:31 GMT Miroslav Cimerman [6f13257] * uspace/app/hrctl/hrctl.c (modified) * uspace/lib/device/include/hr.h (modified) * uspace/srv/bd/hr/fge.c (modified) * uspace/srv/bd/hr/fge.h (modified) * uspace/srv/bd/hr/io.h (modified) * uspace/srv/bd/hr/metadata/foreign/geom/hr_g_mirror.c (modified) * uspace/srv/bd/hr/metadata/foreign/geom/hr_g_stripe.c (modified) * uspace/srv/bd/hr/metadata/foreign/softraid/hr_softraid.c (modified) * uspace/srv/bd/hr/metadata/native.c (modified) * uspace/srv/bd/hr/metadata/native.h (modified) * uspace/srv/bd/hr/raid0.c (modified) * uspace/srv/bd/hr/raid1.c (modified) * uspace/srv/bd/hr/raid5.c (modified) * uspace/srv/bd/hr/superblock.h (modified) * uspace/srv/bd/hr/util.c (modified) * uspace/srv/bd/hr/util.h (modified) * uspace/srv/bd/hr/var.h (modified) hr: cstyle: don't align struct members and fcn decls Sat, 17 May 2025 11:35:38 GMT Miroslav Cimerman [a2281efc] * uspace/srv/bd/hr/hr.c (modified) hr: print service id of created volume Thu, 15 May 2025 19:24:51 GMT Miroslav Cimerman [c9ce6d22] * uspace/srv/bd/hr/hr.c (modified) * uspace/srv/bd/hr/util.c (modified) * uspace/srv/bd/hr/util.h (modified) hr: refactor volume removal Thu, 15 May 2025 19:23:42 GMT Miroslav Cimerman [9a3eec1] * uspace/srv/bd/hr/util.c (modified) * uspace/srv/bd/hr/util.h (modified) hr: util: hr_get_volume_svcs() Thu, 15 May 2025 18:27:50 GMT Miroslav Cimerman [287b2ea] * uspace/srv/bd/hr/util.c (modified) hr: don't add "devices/" prefix on vol registration Fri, 09 May 2025 14:36:55 GMT Miroslav Cimerman [7e68d61] * uspace/srv/bd/hr/metadata/foreign/geom/hr_g_stripe.c (modified) hr: metadata/geom/stripe: don't dump in vol init Fri, 09 May 2025 14:35:49 GMT Miroslav Cimerman [e1ed6ec0] * uspace/srv/bd/hr/util.c (modified) hr: auto assembly: detect bogus label type Thu, 08 May 2025 21:20:23 GMT Miroslav Cimerman [af73327a] * uspace/srv/bd/hr/hr.c (modified) * uspace/srv/bd/hr/raid0.c (modified) * uspace/srv/bd/hr/raid1.c (modified) * uspace/srv/bd/hr/raid5.c (modified) hr: use the term 'volume' instead of 'array' Thu, 08 May 2025 17:41:46 GMT Miroslav Cimerman [00d80c6] * uspace/srv/bd/hr/raid5.c (modified) hr: raid5.c: REBUILD fix Make it work until RAID 5 rewrite is complete. Thu, 08 May 2025 17:40:57 GMT Miroslav Cimerman [2f21cd4] * uspace/srv/bd/hr/util.c (modified) hr: util.c: fix hotspare blkno check Thu, 08 May 2025 17:11:26 GMT Miroslav Cimerman [1cfce3f] * uspace/srv/bd/hr/raid5.c (modified) hr: raid5.c: set default layout Wed, 07 May 2025 18:38:51 GMT Miroslav Cimerman [ed41962] * uspace/srv/bd/hr/metadata/native.c (modified) hr: metadata/native: fix possible deadlock Wed, 07 May 2025 11:27:25 GMT Miroslav Cimerman [56602e0] * uspace/app/hrctl/hrctl.c (modified) * uspace/lib/device/include/hr.h (modified) * uspace/lib/device/src/hr.c (modified) * uspace/srv/bd/hr/hr.c (modified) * uspace/srv/bd/hr/metadata/foreign/geom/hr_g_mirror.c (modified) * uspace/srv/bd/hr/metadata/foreign/geom/hr_g_stripe.c (modified) * uspace/srv/bd/hr/metadata/foreign/softraid/hr_softraid.c (modified) * uspace/srv/bd/hr/metadata/native.c (modified) * uspace/srv/bd/hr/raid0.c (modified) * uspace/srv/bd/hr/raid1.c (modified) * uspace/srv/bd/hr/raid5.c (modified) * uspace/srv/bd/hr/util.c (modified) * uspace/srv/bd/hr/util.h (modified) * uspace/srv/bd/hr/var.h (modified) hr: rename all strings `status' -> `state' Wed, 07 May 2025 11:08:31 GMT Miroslav Cimerman [155d34f] * uspace/lib/device/include/hr.h (modified) * uspace/lib/device/src/hr.c (modified) * uspace/srv/bd/hr/raid1.c (modified) * uspace/srv/bd/hr/raid5.c (modified) * uspace/srv/bd/hr/util.c (modified) hr: rename hr_get_*_status_msg -> hr_get_*_state_str Wed, 07 May 2025 10:39:54 GMT Miroslav Cimerman [ac4b70b] * uspace/srv/bd/hr/hr.c (modified) hr: fail only failable extents Tue, 06 May 2025 22:27:00 GMT Miroslav Cimerman [31eb568] * uspace/srv/bd/hr/hr.c (modified) hr: comment hr.c a bit Tue, 06 May 2025 22:05:28 GMT Miroslav Cimerman [13c2365] * uspace/srv/bd/hr/metadata/foreign/softraid/hr_softraid.c (modified) hr: metadata/softraid: checksum in original endianness Tue, 06 May 2025 21:31:40 GMT Miroslav Cimerman [c2f0160] * uspace/srv/bd/hr/util.c (modified) hr: util: add more checks for hotspare addition Tue, 06 May 2025 21:30:30 GMT Miroslav Cimerman [d1d355f] * uspace/app/hrctl/hrctl.c (modified) * uspace/lib/device/include/hr.h (modified) * uspace/lib/device/include/ipc/hr.h (modified) * uspace/lib/device/src/hr.c (modified) * uspace/srv/bd/hr/hr.c (modified) * uspace/srv/bd/hr/util.c (modified) * uspace/srv/bd/hr/util.h (modified) hr: refactor hrctl and some hr IPC methods Fri, 02 May 2025 15:02:22 GMT Miroslav Cimerman [40f56a4] * uspace/srv/bd/hr/metadata/foreign/softraid/softraid.c (modified) hr: metadata/softraid: use inttypes.h specifiers Thu, 24 Apr 2025 08:43:41 GMT Miroslav Cimerman [9bf95d4] * uspace/srv/bd/hr/metadata/foreign/softraid/hr_softraid.c (modified) hr: hr_softraid.c: remove dead code Wed, 23 Apr 2025 11:04:03 GMT Miroslav Cimerman [59ec1c50] * uspace/srv/bd/hr/util.c (modified) hr: util.c: fix possible null deref Wed, 23 Apr 2025 11:02:38 GMT Miroslav Cimerman [c9ef864] * uspace/srv/bd/hr/util.c (modified) hr: util.c: hr_create_vol_struct: HR_LVL_4 fallthrough Wed, 23 Apr 2025 10:43:28 GMT Miroslav Cimerman [a261634] * uspace/srv/bd/hr/meson.build (modified) * uspace/srv/bd/hr/metadata/foreign/softraid/hr_softraid.c (added) * uspace/srv/bd/hr/metadata/foreign/softraid/softraid.c (added) * uspace/srv/bd/hr/metadata/foreign/softraid/softraidvar.h (added) * uspace/srv/bd/hr/superblock.c (modified) hr: OpenBSD softraid metadata support Tue, 22 Apr 2025 22:42:19 GMT Miroslav Cimerman [af1b25d] * uspace/srv/bd/hr/metadata/foreign/geom/g_mirror.h (modified) hr: metadata/geom/g_mirror.h: fix checksums Tue, 22 Apr 2025 22:39:09 GMT Miroslav Cimerman [dd76b46] * uspace/srv/bd/hr/metadata/native.c (modified) hr: metadata/native.c: use uint64_t for counter Tue, 22 Apr 2025 11:13:11 GMT Miroslav Cimerman [d85ee06] * uspace/srv/bd/hr/meson.build (modified) * uspace/srv/bd/hr/metadata/foreign/geom/hr_g_mirror.c (moved) * uspace/srv/bd/hr/metadata/foreign/geom/hr_g_stripe.c (moved) * uspace/srv/bd/hr/superblock.c (modified) hr: geom g{mirror, stripe}: rename files, remove saving We cannot ... Mon, 21 Apr 2025 20:32:29 GMT Miroslav Cimerman [a056759] * uspace/srv/bd/hr/hr.c (modified) hr: hr.c: style Accepting connections. message Mon, 21 Apr 2025 14:04:48 GMT Miroslav Cimerman [c6d2af8] * uspace/srv/bd/hr/hr.c (modified) hr: hr.c: more specific message for unsupported hotspare Mon, 21 Apr 2025 13:20:05 GMT Miroslav Cimerman [fb06476f] * uspace/lib/device/include/hr.h (modified) * uspace/lib/device/src/hr.c (modified) * uspace/srv/bd/hr/metadata/foreign/geom/mirror.c (modified) * uspace/srv/bd/hr/metadata/foreign/geom/stripe.c (modified) * uspace/srv/bd/hr/metadata/native.c (modified) * uspace/srv/bd/hr/var.h (modified) hr: use enum for RAID layouts Mon, 21 Apr 2025 12:50:28 GMT Miroslav Cimerman [5cb1631] * uspace/srv/bd/hr/meson.build (modified) * uspace/srv/bd/hr/metadata/foreign/geom/g_stripe.h (added) * uspace/srv/bd/hr/metadata/foreign/geom/stripe.c (added) * uspace/srv/bd/hr/superblock.c (modified) hr: FreeBSD GEOM::STRIPE metadata support Mon, 21 Apr 2025 12:47:58 GMT Miroslav Cimerman [b883aa8] * uspace/lib/device/include/hr.h (modified) * uspace/lib/device/src/hr.c (modified) * uspace/srv/bd/hr/metadata/foreign/geom/mirror.c (modified) * uspace/srv/bd/hr/metadata/native.c (modified) * uspace/srv/bd/hr/superblock.c (modified) * uspace/srv/bd/hr/superblock.h (modified) * uspace/srv/bd/hr/util.c (modified) * uspace/srv/bd/hr/util.h (modified) hr: move metadata_type_t to lib/hr for type printing Also renames ... Mon, 21 Apr 2025 12:37:19 GMT Miroslav Cimerman [75262d2f] * uspace/srv/bd/hr/util.c (modified) hr: util.c: hr_create_vol_struct() style Mon, 21 Apr 2025 12:34:02 GMT Miroslav Cimerman [80c760e] * uspace/lib/device/include/hr.h (modified) * uspace/srv/bd/hr/metadata/foreign/geom/mirror.c (modified) * uspace/srv/bd/hr/metadata/native.c (modified) * uspace/srv/bd/hr/raid0.c (modified) * uspace/srv/bd/hr/raid1.c (modified) * uspace/srv/bd/hr/raid5.c (modified) * uspace/srv/bd/hr/util.c (modified) * uspace/srv/bd/hr/util.h (modified) hr: remove truncated_blkno calculation from raid*.c Calculate the ... Mon, 21 Apr 2025 12:26:28 GMT Miroslav Cimerman [18c3658] * uspace/srv/bd/hr/raid0.c (modified) * uspace/srv/bd/hr/raid1.c (modified) * uspace/srv/bd/hr/raid5.c (modified) hr: raid{0,1,5}.c: unusable volume creation message Mon, 21 Apr 2025 12:24:11 GMT Miroslav Cimerman [f09b75b] * uspace/srv/bd/hr/metadata/foreign/geom/g_mirror.h (modified) * uspace/srv/bd/hr/metadata/foreign/geom/sys_endian.h (added) hr: metadata/foreign/geom: add Sun, 20 Apr 2025 14:50:11 GMT Miroslav Cimerman [10291a23] * uspace/srv/bd/hr/meson.build (modified) * uspace/srv/bd/hr/metadata/foreign/geom/g_mirror.h (added) * uspace/srv/bd/hr/metadata/foreign/geom/mirror.c (added) * uspace/srv/bd/hr/metadata/native.c (modified) * uspace/srv/bd/hr/superblock.c (modified) * uspace/srv/bd/hr/superblock.h (modified) hr: FreeBSD GEOM::MIRROR metadata support Sun, 20 Apr 2025 14:34:22 GMT Miroslav Cimerman [afec52b4] * uspace/srv/bd/hr/superblock.c (modified) srv/bd/hr/superblock.c: fix memory leak Sun, 20 Apr 2025 14:32:32 GMT Miroslav Cimerman [f647b87] * uspace/srv/bd/hr/hr.c (modified) * uspace/srv/bd/hr/metadata/native.c (modified) * uspace/srv/bd/hr/metadata/native.h (modified) * uspace/srv/bd/hr/raid0.c (modified) * uspace/srv/bd/hr/raid1.c (modified) * uspace/srv/bd/hr/raid5.c (modified) * uspace/srv/bd/hr/var.h (modified) srv/bd/hr: remove unused nblocks variable Sun, 20 Apr 2025 14:18:34 GMT Miroslav Cimerman [d3a23c9] * uspace/srv/bd/hr/util.c (modified) * uspace/srv/bd/hr/util.h (modified) srv/hr/util.c: change log level LVL_WARN to LVL_NOTE Sun, 20 Apr 2025 14:03:44 GMT Miroslav Cimerman [372a9fc] * uspace/srv/bd/hr/util.c (modified) srv/hr/util.c: don't dump metadata Sun, 20 Apr 2025 13:49:36 GMT Miroslav Cimerman [6a854c5] * uspace/srv/bd/hr/metadata/native.c (modified) srv/hr/metadata/native.c: no explicit arg casting Sun, 20 Apr 2025 13:46:15 GMT Miroslav Cimerman [58c43d4] * uspace/srv/bd/hr/util.c (modified) hr: util.c: matching type as well Sun, 20 Apr 2025 13:45:48 GMT Miroslav Cimerman [14394141] * uspace/srv/bd/hr/util.c (modified) hr: util.c: style Sun, 20 Apr 2025 10:09:26 GMT Miroslav Cimerman [50603405] * uspace/srv/bd/hr/hr.c (modified) * uspace/srv/bd/hr/meson.build (modified) * uspace/srv/bd/hr/metadata/native.c (added) * uspace/srv/bd/hr/metadata/native.h (added) * uspace/srv/bd/hr/raid0.c (modified) * uspace/srv/bd/hr/raid1.c (modified) * uspace/srv/bd/hr/raid5.c (modified) * uspace/srv/bd/hr/superblock.c (modified) * uspace/srv/bd/hr/superblock.h (modified) * uspace/srv/bd/hr/util.c (modified) * uspace/srv/bd/hr/util.h (modified) * uspace/srv/bd/hr/var.h (modified) hr: metadata format agnostic superblock ops Put metadata specific ... Fri, 18 Apr 2025 18:25:55 GMT Miroslav Cimerman [e77c3ed] * uspace/srv/bd/hr/superblock.c (modified) * uspace/srv/bd/hr/superblock.h (modified) hr: superblock.c,h: const quals for args Tue, 15 Apr 2025 07:00:31 GMT Miroslav Cimerman [800d188] * uspace/srv/bd/hr/hr.c (modified) * uspace/srv/bd/hr/io.c (modified) * uspace/srv/bd/hr/io.h (modified) * uspace/srv/bd/hr/raid0.c (modified) * uspace/srv/bd/hr/raid1.c (modified) * uspace/srv/bd/hr/raid5.c (modified) * uspace/srv/bd/hr/superblock.c (modified) * uspace/srv/bd/hr/superblock.h (modified) * uspace/srv/bd/hr/util.c (modified) * uspace/srv/bd/hr/var.h (modified) hr: metadata saving on stop New bool argument for ... Wed, 02 Apr 2025 18:24:11 GMT Miroslav Cimerman [ca7fa5b] * uspace/app/hrctl/hrctl.c (modified) * uspace/lib/device/src/hr.c (modified) * uspace/srv/bd/hr/io.c (modified) * uspace/srv/bd/hr/raid1.c (modified) * uspace/srv/bd/hr/raid5.c (modified) * uspace/srv/bd/hr/superblock.c (modified) * uspace/srv/bd/hr/util.c (modified) hr: use macro specifiers Tue, 01 Apr 2025 10:20:06 GMT Miroslav Cimerman [bbcd06e] * uspace/srv/bd/hr/superblock.c (modified) * uspace/srv/bd/hr/util.c (modified) * uspace/srv/bd/hr/var.h (modified) hr: keep counter only in memory saved metadata Tue, 01 Apr 2025 10:02:37 GMT Miroslav Cimerman [52be5fa] * uspace/srv/bd/hr/superblock.c (modified) * uspace/srv/bd/hr/util.c (modified) hr: increment metadata counter on volume assembly For now increment ... Tue, 01 Apr 2025 08:54:01 GMT Miroslav Cimerman [44da6c8] * uspace/srv/bd/hr/util.c (modified) hr: util.c: initialize empty extents to MISSING Tue, 01 Apr 2025 08:51:52 GMT Miroslav Cimerman [0277ec2] * uspace/srv/bd/hr/hr.c (modified) * uspace/srv/bd/hr/raid1.c (modified) * uspace/srv/bd/hr/raid5.c (modified) * uspace/srv/bd/hr/superblock.c (modified) * uspace/srv/bd/hr/superblock.h (modified) * uspace/srv/bd/hr/util.c (modified) hr: refactor metadata handling Mon, 31 Mar 2025 17:08:27 GMT Miroslav Cimerman [a5ec426] * uspace/srv/bd/hr/superblock.c (modified) * uspace/srv/bd/hr/superblock.h (modified) hr: superblock: move to last block Mon, 31 Mar 2025 17:07:34 GMT Miroslav Cimerman [baa4929] * uspace/srv/bd/hr/hr.c (modified) * uspace/srv/bd/hr/raid0.c (modified) * uspace/srv/bd/hr/raid1.c (modified) * uspace/srv/bd/hr/raid5.c (modified) * uspace/srv/bd/hr/util.c (modified) * uspace/srv/bd/hr/util.h (modified) * uspace/srv/bd/hr/var.h (modified) hr: extent init refactor, blkno truncation Sun, 30 Mar 2025 19:38:58 GMT Miroslav Cimerman [6d0fc11] * uspace/srv/bd/hr/fge.c (modified) * uspace/srv/bd/hr/fge.h (modified) * uspace/srv/bd/hr/hr.c (modified) * uspace/srv/bd/hr/io.h (modified) * uspace/srv/bd/hr/raid0.c (modified) * uspace/srv/bd/hr/raid1.c (modified) * uspace/srv/bd/hr/raid5.c (modified) * uspace/srv/bd/hr/superblock.h (modified) * uspace/srv/bd/hr/util.c (modified) hr: style: align structures, function prototypes Sun, 30 Mar 2025 16:17:37 GMT Miroslav Cimerman [746e636] * uspace/srv/bd/hr/raid0.c (modified) * uspace/srv/bd/hr/raid1.c (modified) * uspace/srv/bd/hr/raid5.c (modified) hr: add comments to raid init() Sat, 29 Mar 2025 14:04:37 GMT Miroslav Cimerman [d082801] * uspace/app/hrctl/hrctl.c (modified) * uspace/lib/device/include/hr.h (modified) * uspace/lib/device/src/hr.c (modified) * uspace/srv/bd/hr/hr.c (modified) * uspace/srv/bd/hr/util.c (modified) * uspace/srv/bd/hr/util.h (modified) hr: refactor manual assembly Sat, 29 Mar 2025 14:00:25 GMT Miroslav Cimerman [1a28518] * uspace/srv/bd/hr/superblock.c (modified) hr: superblock.c: fix bsize decoding Sat, 29 Mar 2025 13:59:46 GMT Miroslav Cimerman [7e8c0e7] * uspace/srv/bd/hr/superblock.c (modified) hr: superblock.c: remove UUID generation for each extent Sat, 29 Mar 2025 13:59:08 GMT Miroslav Cimerman [2e7df2e] * uspace/srv/bd/hr/superblock.c (modified) hr: superblock.c: fix UUID memcpy() Sat, 29 Mar 2025 13:58:15 GMT Miroslav Cimerman [d946c27] * uspace/srv/bd/hr/superblock.c (modified) * uspace/srv/bd/hr/util.c (modified) hr: initialize and populate in memory metadata Sat, 29 Mar 2025 13:57:12 GMT Miroslav Cimerman [49de61c] * uspace/srv/bd/hr/util.c (modified) hr: util.c: fix hr_register_volume() Sat, 29 Mar 2025 12:09:58 GMT Miroslav Cimerman [56214383] * uspace/srv/bd/hr/raid1.c (modified) * uspace/srv/bd/hr/raid5.c (modified) * uspace/srv/bd/hr/util.c (modified) * uspace/srv/bd/hr/util.h (modified) hr: util: hr_util_add_hotspare() Sat, 29 Mar 2025 11:50:54 GMT Miroslav Cimerman [8a65373] * uspace/srv/bd/hr/hr.c (modified) * uspace/srv/bd/hr/raid0.c (modified) * uspace/srv/bd/hr/raid1.c (modified) * uspace/srv/bd/hr/raid5.c (modified) * uspace/srv/bd/hr/util.c (modified) hr: move registering out of specific RAIDs Fri, 28 Mar 2025 23:40:33 GMT Miroslav Cimerman [7a80c63] * uspace/srv/bd/hr/raid0.c (modified) * uspace/srv/bd/hr/raid1.c (modified) * uspace/srv/bd/hr/raid5.c (modified) hr: raid{0,1,5}.c: increment open() count Fri, 28 Mar 2025 23:38:07 GMT Miroslav Cimerman [0437dd5] * uspace/srv/bd/hr/util.c (modified) hr: util.c: block_fini() hotspares Fri, 28 Mar 2025 23:37:16 GMT Miroslav Cimerman [8b51009] * uspace/app/hrctl/hrctl.c (modified) * uspace/lib/device/include/hr.h (modified) * uspace/lib/device/include/ipc/hr.h (modified) * uspace/lib/device/src/hr.c (modified) * uspace/srv/bd/hr/hr.c (modified) * uspace/srv/bd/hr/superblock.c (modified) * uspace/srv/bd/hr/superblock.h (modified) * uspace/srv/bd/hr/util.c (modified) * uspace/srv/bd/hr/util.h (modified) * uspace/srv/bd/hr/var.h (modified) hr: auto assembly, refactor Added automatic assembly (with hrctl ... Fri, 28 Mar 2025 21:30:03 GMT Miroslav Cimerman [7bfe468] * uspace/srv/bd/hr/hr.c (modified) hr: hr.c: hr_client_conn() return ENOENT Fri, 28 Mar 2025 21:29:10 GMT Miroslav Cimerman [b04f7af] * uspace/srv/bd/hr/hr.c (modified) hr: hr.c: add headers Fri, 28 Mar 2025 21:28:21 GMT Miroslav Cimerman [a57dde4] * uspace/srv/bd/hr/hr.c (modified) * uspace/srv/bd/hr/raid0.c (modified) * uspace/srv/bd/hr/raid1.c (modified) * uspace/srv/bd/hr/superblock.c (modified) * uspace/srv/bd/hr/util.c (modified) hr: use __func__ for DEBUG printing fcn names Mon, 24 Mar 2025 13:22:03 GMT Miroslav Cimerman [5fe0b9b5] * uspace/srv/bd/hr/var.h (modified) hr: var.h: comment cstyle Sun, 23 Mar 2025 16:36:48 GMT Miroslav Cimerman [2958e70] * uspace/srv/bd/hr/var.h (modified) hr: var.h: revert hotspare no. back from invalidations Sun, 23 Mar 2025 16:35:34 GMT Miroslav Cimerman [de81104] * uspace/lib/device/include/hr.h (modified) * uspace/srv/bd/hr/var.h (modified) hr: style headers Fri, 14 Mar 2025 20:53:40 GMT Miroslav Cimerman [e3e53cc] * uspace/srv/bd/hr/var.h (modified) hr: var.h: remove struct hr_deferred_invalidation Fri, 07 Mar 2025 20:54:30 GMT Miroslav Cimerman [e494d7b] * uspace/srv/bd/hr/util.c (modified) hr: initialize hotspare states to MISSING Fri, 07 Mar 2025 20:53:54 GMT Miroslav Cimerman [e24c064] * uspace/lib/device/include/hr.h (modified) * uspace/lib/device/src/hr.c (modified) * uspace/srv/bd/hr/raid1.c (modified) hr: add NONE state (use INVALID for inconsistent) Thu, 06 Mar 2025 23:15:08 GMT Miroslav Cimerman [d2da1be] * uspace/srv/bd/hr/hr.c (modified) * uspace/srv/bd/hr/raid1.c (modified) * uspace/srv/bd/hr/util.c (modified) * uspace/srv/bd/hr/var.h (modified) hr: rename vol->state_changed -> vol->state_dirty Thu, 06 Mar 2025 21:47:13 GMT Miroslav Cimerman [f1be66bf] * uspace/srv/bd/hr/raid5.c (modified) hr: raid5.c: fast patch to make new asserts pass Thu, 06 Mar 2025 20:42:44 GMT Miroslav Cimerman [d6fe2a1] * uspace/srv/bd/hr/hr.c (modified) * uspace/srv/bd/hr/raid1.c (modified) * uspace/srv/bd/hr/util.c (modified) * uspace/srv/bd/hr/util.h (modified) hr: hr_mark_vol_state_dirty() helper Thu, 06 Mar 2025 20:13:51 GMT Miroslav Cimerman [10005fd] * uspace/srv/bd/hr/hr.c (modified) * uspace/srv/bd/hr/raid1.c (modified) * uspace/srv/bd/hr/var.h (modified) hr: remove vol->halt_please bit and vol->halt_lock RW locks are not ... Thu, 06 Mar 2025 20:13:11 GMT Miroslav Cimerman [4d42a1b] * uspace/srv/bd/hr/hr.c (modified) * uspace/srv/bd/hr/raid1.c (modified) * uspace/srv/bd/hr/util.c (modified) * uspace/srv/bd/hr/util.h (modified) * uspace/srv/bd/hr/var.h (modified) hr: remove deferred invalidations Thu, 06 Mar 2025 19:42:14 GMT Miroslav Cimerman [6123753] * uspace/srv/bd/hr/raid1.c (modified) hr: raid1.c: print rebuild progress every 5% Thu, 06 Mar 2025 19:40:24 GMT Miroslav Cimerman [4d30c475] * uspace/srv/bd/hr/raid1.c (modified) hr: raid1.c: fix rebuild Thu, 06 Mar 2025 18:16:31 GMT Miroslav Cimerman [b15e534] * uspace/srv/bd/hr/fge.c (modified) hr/fge.c: add some comments