gfs2_log_reserve(9)
β¨ gfs2_log_reserve(9) β¨
okay so welcome to this Kernel API Manual page, bestie β it's all about gfs2_log_reserve, and the vibe is literally βmake a log reservation.β π
β¨ NAME β¨
gfs2_log_reserve β Make a log reservation. periodt. π
β¨ SYNOPSIS β¨
void gfs2_log_reserve (struct gfs2_sbd *sdp , struct gfs2_trans *tr ,
unsigned int *extra_revokes );
β¨ ARGUMENTS β¨
sdpβ the GFS2 superblock. That's the main character struct here. πtrβ the transaction. Yep, the transaction itself. πextra_revokesβ the number of additional revokes reserved (output). It's giving output parameter, so pay attention. π
β¨ DESCRIPTION β¨
Okay so listen: sdp->sd_log_flush_lock must not be held. Not βmaybe don't,β not βtry not toβ β it must not be held. That's the whole description, no cap. π«π
β¨ SEE ALSO β¨
Kernel file: ./fs/gfs2/log.c
gfs2_struct2blk(9)gfs2_remove_from_ail(9)gfs2_ail1_start_one(9)gfs2_ail1_flush(9)gfs2_ail1_start(9)gfs2_ail1_empty_one(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)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)
xoxo, bestie π β source/version: ./fs/gfs2; date: October 2026; page: gfs2_log_reserve(9).
π¦ 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