Changeset bbcd06e in mainline for uspace/srv/bd/hr/var.h


Ignore:
Timestamp:
2025-04-01T10:20:06Z (3 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
ca7fa5b
Parents:
52be5fa
Message:

hr: keep counter only in memory saved metadata

File:
1 edited

Legend:

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

    r52be5fa rbbcd06e  
    7272        hr_fpool_t      *fge;                   /* fibril pool */
    7373
    74         uint32_t         metadata_version; /* XXX: yet unused */
     74        /*
     75         * TODO: also print in info, doesn't have
     76         * to be part of hr_volume_t but just the info
     77         * that is passed to be printed
     78         *
     79         * Probably just defer this decition until foreign md
     80         * will be handled.
     81         */
     82        uint32_t         metadata_version;
    7583
    76         hr_metadata_t   *in_mem_md; /* TODO: implement */
     84        hr_metadata_t   *in_mem_md;
    7785
    7886        /* invariants */
     
    102110        _Atomic uint64_t rebuild_blk;           /* rebuild position */
    103111        _Atomic int      open_cnt;              /* open/close() counter */
    104         uint64_t         counter;               /* TODO: metadata syncing */
    105112        hr_vol_status_t  status;                /* volume status */
    106113} hr_volume_t;
Note: See TracChangeset for help on using the changeset viewer.