nilfs_scan_dsync_log(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– nilfs_scan_dsync_log(9) πŸ’–

okay bestie, welcome to the Kernel API Manual β€” the page is literally named nilfs_scan_dsync_log(9), and it's giving β€œlet me get the block info from a log written for data sync.” no cap, that's the whole vibe. ✨

πŸ’– NAME πŸ’–

nilfs_scan_dsync_log β€” get block information of a log written for data sync.

✨ SYNOPSIS ✨

int nilfs_scan_dsync_log (struct the_nilfs *nilfs , sector_t
start_blocknr , struct nilfs_segment_summary *sum , struct list_head
*head );

πŸŽ€ ARGUMENTS πŸŽ€

  • nilfs β€” the nilfs object, obvi πŸ’…
  • start_blocknr β€” start block number of the log. yes, literally that.
  • sum β€” log summary information.
  • head β€” list head to add nilfs_recovery_block struct. that's the assignment, bestie.

🌸 RETURN 🌸

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

  • -EIO β€” I/O error. πŸ’€
  • -ENOMEM β€” insufficient memory available. 😭

🫢 SEE ALSO 🫢

Kernel file ./fs/nilfs2/recovery.c, plus these besties: nilfs_compute_checksum(9), nilfs_read_super_root_block(9), nilfs_read_log_header(9), nilfs_validate_log(9), nilfs_read_summary_info(9), nilfs_skip_summary_info(9), nilfs_do_roll_forward(9), nilfs_abort_roll_forward(9), nilfs_salvage_orphan_logs(9), nilfs_search_super_root(9). iykyk πŸ”₯


and that's the vibe check: source/version is ./fs/nilfs2, dated October 2026, and this iconic page is nilfs_scan_dsync_log(9) β€” periodt, bye bestie! πŸ’œπŸŽ€

πŸ“¦ where this page comes from