Changeset 8b51009 in mainline for uspace/lib/device/include/ipc/hr.h


Ignore:
Timestamp:
2025-03-28T23:37:16Z (2 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
0437dd5
Parents:
7bfe468
git-author:
Miroslav Cimerman <mc@…> (2025-03-28 23:25:57)
git-committer:
Miroslav Cimerman <mc@…> (2025-03-28 23:37:16)
Message:

hr: auto assembly, refactor

Added automatic assembly (with hrctl -A). All disks or their partitions
are scanned for HelenRAID metadata and assembly is attempted.

Main volume list is now locked with RW lock. The volume list
manipulation functions are moved into util.c.

hr_{create,destroy}_vol_struct() are implemented for better reusability
and modularity.

Volume destroy/stop (hrctl -D) now returns EBUSY if someone has still
the volume open()-ed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/device/include/ipc/hr.h

    r7bfe468 r8b51009  
    11/*
    2  * Copyright (c) 2024 Miroslav Cimerman
     2 * Copyright (c) 2025 Miroslav Cimerman
    33 * All rights reserved.
    44 *
     
    4141        HR_CREATE = IPC_FIRST_USER_METHOD,
    4242        HR_ASSEMBLE,
     43        HR_AUTO_ASSEMBLE,
    4344        HR_STOP,
    4445        HR_ADD_HOTSPARE,
Note: See TracChangeset for help on using the changeset viewer.