nilfs_bmap_mark(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– nilfs_bmap_mark(9) πŸ’–

okay so this page is from the Kernel API Manual, and the main character is nilfs_bmap_mark(9). It’s giving kernel API realness, and we’re reading it together, bestie. 🫢

πŸŽ€ NAME πŸŽ€

nilfs_bmap_mark - mark block dirty.

✨ SYNOPSIS ✨

int nilfs_bmap_mark (struct nilfs_bmap *bmap , __u64 key , int level );

🌸 ARGUMENTS 🌸

  • bmap β€” bmap. Yes, literally just β€œbmap” β€” we are not inventing extra lore. πŸ’…
  • key β€” key.
  • level β€” level.

πŸ¦‹ DESCRIPTION πŸ¦‹

nilfs_bmap_mark marks the block specified by key and level as dirty. That’s the whole plot, bestie: key + level β†’ dirty block, periodt. ✨

πŸ”₯ RETURN πŸ”₯

0 on success, or one of the following negative error codes on failure:

  • -EIO β€” I/O error (including metadata corruption).
  • -ENOMEM β€” Insufficient memory available.

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./fs/nilfs2/bmap.c, plus this whole friend group:


source/version: ./fs/nilfs2 β€’ date: October 2026 β€’ page: nilfs_bmap_mark(9) β€” byeee bestie, go mark those blocks dirty and slay πŸ’…πŸŽ€βœ¨

πŸ“¦ where this page comes from