gfs2_ail1_empty_one(9)
π gfs2_ail1_empty_one(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this is a kernel function page, and yes it's a (9) page, which is the section for kernel routines, iykyk π§
πΈ NAME πΈ
gfs2_ail1_empty_one β the vibe check for a trans in the AIL: has it been synced or not? π
β¨ SYNOPSIS β¨
int gfs2_ail1_empty_one (struct gfs2_sbd *sdp , struct gfs2_trans *tr ,
int *max_revokes );
like literally that's the whole signature, no cap π«Ά
π ARGUMENTS π
sdpβ the filesystem, the main character of this whole operation πtrβ the transaction, the one we're checking on π¦max_revokesβ if this is nonzero, we go ahead and issue revokes for the bd items belonging to the written buffers. not zero? revokes get issued. periodt π
β RETURN β
the transaction's count of remaining active items π₯ β that's your number, that's what you get back.
π SEE ALSO π
kernel file ./fs/gfs2/log.c π and friends:
gfs2_struct2blk(9), gfs2_remove_from_ail(9), gfs2_ail1_start_one(9), gfs2_ail1_flush(9), gfs2_ail1_start(9), gfs2_ail1_empty(9), gfs2_log_is_empty(9), gfs2_log_release_revokes(9), gfs2_log_release(9), __gfs2_log_try_reserve(9), __gfs2_log_reserve(9), gfs2_log_try_reserve(9), gfs2_log_reserve(9), log_distance(9), calc_reserved(9), gfs2_flush_revokes(9), gfs2_write_log_header(9), log_write_header(9), gfs2_ail_drain(9), empty_ail1_list(9), gfs2_trans_drain(9), __gfs2_log_flush(9), gfs2_merge_trans(9), gfs2_log_commit(9), gfs2_log_shutdown(9), gfs2_logd(9)
and that's the whole page, bestie β no crumbs left π this came out of ./fs/gfs2, dated October 2026, and it's living in the Kernel API Manual forever π slay π
π¦ 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