gfs2_update_reply_times(9)
π gfs2_update_reply_times(9) β like, the Kernel API Manual era β¨
okay so bestie, welcome to gfs2_update_reply_times β the little function whose whole personality is Update locking statistics π no cap, that's the vibe.
β¨ SYNOPSIS β¨
void gfs2_update_reply_times (struct gfs2_glock *gl , bool blocking );
that's it, that's the whole signature, she's compact and she knows it π
π«Ά ARGUMENTS π«Ά
glβ the glock we're updating, bestie. that's the one. the main character πblockingβ aboolthat says whether the operation may have been blocking π note the "may have been", she's not making promises
πΈ DESCRIPTION πΈ
okay so first thing's first: this function assumes that gl->gl_dstamp has been set earlier β like, that's a prerequisite, not a suggestion β she's not checking, she's just trusting you. iykyk π
now, the rtt (lock round trip time, and yes that's the acronym, keep up π¦) is an estimate of the time taken to perform a dlm lock request. we update it on each reply from the dlm β every single reply, no skips, fr fr π₯
and then there's the blocking flag π it gets set on the glock for all dlm requests which may potentially block due to lock requests from other nodes. so which ones count as non-blocking, you ask?? let me put you on:
- DLM requests where the current lock state is exclusive
- DLM requests where the requested state is null (or unlocked)
- DLM requests where the
TRYorTRY_1CBflags are set
those get classified as non-blocking β¨ and literally all other DLM requests are counted as (potentially) blocking β potentially, bestie, the parenthesis is doing so much work there π
π SEE ALSO π
- Kernel file
./fs/gfs2/lock_dlm.cβ go read her, she's iconic π gfs2_update_stats(9)gfs2_update_request_times(9)
and that's the page!! π this whole thing lives in ./fs/gfs2 and the version vibes are dated October 2026 β so like, future girlie energy, slay π periodt, go update those locking statistics 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