|
Basic Solution File System - BSFS
|
Represents a contiguous span of blocks in the BSFS file system. More...
#include <filesystem_bsfs.h>
Public Attributes | |
| uint32_t | file_blk |
| uint32_t | disk_blk |
| uint16_t | length |
| uint16_t | padding |
Represents a contiguous span of blocks in the BSFS file system.
This structure maps a logical file block index to a sequence of physical blocks on disk. It reduces metadata overhead by describing where file data is stored when multiple blocks are allocated consecutively.
| uint32_t bspan_t::disk_blk |
The physical block number on disk where this span begins.
| uint32_t bspan_t::file_blk |
The logical block index within the file. Indicates the position of this span in the file's logical address space.
| uint16_t bspan_t::length |
The number of consecutive blocks starting from disk_blk.
| uint16_t bspan_t::padding |
Unused field for padding/alignment. Ensures 12-byte total size.