nilfs_scan_dsync_log(9)
π 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 addnilfs_recovery_blockstruct. 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
- 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