Changeset 6b8e89b0 in mainline for uspace/srv/bd/hr/superblock.h


Ignore:
Timestamp:
2024-10-05T13:11:11Z (8 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
dceb6e7
Parents:
dbd91da
git-author:
Miroslav Cimerman <mc@…> (2024-10-05 12:39:13)
git-committer:
Miroslav Cimerman <mc@…> (2024-10-05 13:11:11)
Message:

hr: init fuction for each RAID level

Compute total blocks, data blocks and set block size, data offset, strip
size there.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/hr/superblock.h

    rdbd91da r6b8e89b0  
    4141#define HR_META_SIZE 1  /* in blocks */
    4242#define HR_META_OFF 7   /* in blocks */
     43#define HR_DATA_OFF (HR_META_SIZE + HR_META_OFF)
    4344
    4445#define HR_MAGIC 0x4420492041205248LLU
Note: See TracChangeset for help on using the changeset viewer.