STRUCT NILFS_MDT_INFO(9)
β¨ struct nilfs_mdt_info(9) β¨
okay so bestie, welcome to the Kernel API Manual π this one's all about struct nilfs_mdt_info and tbh it's giving "backstage pass to the meta data files" energy. it's the on-memory private data of meta data files β like, the little private stash of info that meta data files keep in memory. no cap. π
πΈ NAME πΈ
struct nilfs_mdt_info β on-memory private data of meta data files π
β¨ SYNOPSIS β¨
struct nilfs_mdt_info {
struct rw_semaphore mi_sem;
struct blockgroup_lock *mi_bgl;
unsigned int mi_entry_size;
unsigned int mi_first_entry_offset;
unsigned long mi_entries_per_block;
struct nilfs_palloc_cache *mi_palloc_cache;
struct nilfs_shadow_map *mi_shadow;
unsigned long mi_blocks_per_group;
unsigned long mi_blocks_per_desc_block;
};
π¦ Members π¦
so here's the whole cast, member by member, and yes they all ate π₯
mi_semβ a reader/writer semaphore for meta data operations. it's the vibe-check bouncer for reading and writing, periodt.mi_bglβ per-blockgroup locking. locked per blockgroup, iykyk πmi_entry_sizeβ the size of an entry.mi_first_entry_offsetβ the offset to the first entry. where the entries start, literally.mi_entries_per_blockβ the number of entries in a block.mi_palloc_cacheβ the persistent object allocator cache. it's the cache for the palloc, iconic.mi_shadowβ the shadow of bmap and page caches. spooky little shadow πmi_blocks_per_groupβ the number of blocks in a group.mi_blocks_per_desc_blockβ the number of blocks per descriptor block.
π SEE ALSO π
- Kernel file
./fs/nilfs2/mdt.h struct nilfs_shadow_map(9)
okay that's the whole page, bestie β go be a main character with your meta data structs ππ
sign-off time: this little gem lives in ./fs/nilfs2, dated October 2026, and it's the struct nilfs_mdt_info(9) page of the Kernel API Manual. mwah ππ«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms