Changeset 52be5fa in mainline for uspace/srv/bd/hr/superblock.c


Ignore:
Timestamp:
2025-04-01T10:02:37Z (3 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
bbcd06e
Parents:
c7e6a3e
Message:

hr: increment metadata counter on volume assembly

For now increment the metadata counter right on assembly, but in the
future it can be deferred until the first write I/O comes our way,
to allow "read-only assembly" of volumes.

File:
1 edited

Legend:

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

    rc7e6a3e r52be5fa  
    8787}
    8888
     89/*
     90 * TODO: think about thread safety, if hr_metadata_save() can
     91 * be called from multiple threads, and if, maybe will need
     92 * md_lock... or whatever, but dont want to stall I/Os...
     93 */
    8994errno_t hr_metadata_save(hr_volume_t *vol)
    9095{
Note: See TracChangeset for help on using the changeset viewer.