nilfs_prepare_write_logs(9)
π
nilfs_prepare_write_logs(9) β Kernel API Manual β¨
πΈ NAME πΈ
nilfs_prepare_write_logs β okay bestie, this one is literally βprepare to write logs.β No cap. π«Ά
β¨ SYNOPSIS β¨
void nilfs_prepare_write_logs (struct list_head *logs , u32 seed );
π ARGUMENTS π
logsβ the logs youβre getting ready for writing, bestie. πseedβ the checksum seed value. β
π¦ DESCRIPTION π¦
Okay so hereβs the vibe: nilfs_prepare_write_logs adds checksums and prepares the block buffers/folios for writing logs. β¨ In order to stabilize folios of memory-mapped file blocks by putting them in writeback state before calculating the checksums, it first prepares to write payload blocks other than segment summary and super root blocks β the ones where the checksums will be embedded. π
π SEE ALSO π
Kernel file ./fs/nilfs2/segment.c is the main-character file here. π
nilfs_transaction_begin(9)nilfs_transaction_commit(9)nilfs_segctor_reset_segment_buffer(9)nilfs_segctor_zeropad_segsum(9)nilfs_write_root_mdt_inode(9)nilfs_free_segments(9)nilfs_segctor_begin_construction(9)nilfs_segctor_start_timer(9)nilfs_construct_segment(9)nilfs_construct_dsync_segment(9)nilfs_segctor_accept(9)nilfs_segctor_notify(9)nilfs_segctor_construct(9)nilfs_log_write_required(9)nilfs_segctor_thread(9)nilfs_segctor_destroy(9)nilfs_attach_log_writer(9)nilfs_detach_log_writer(9)
mwah π β this page is from source/version ./fs/nilfs2, dated October 2026. periodt. ππ
π¦ 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