cl_wide_st_chg(9)
πΈ NAME πΈ
okay so bestie, this is cl_wide_st_chg(9) from the Kernel API Manual, and it's literally the vibe check for one very specific question: true if the state change is a cluster wide one. like, is this state change the whole cluster's business or not? that's the whole main character energy of this function. π
β¨ SYNOPSIS β¨
int cl_wide_st_chg (struct drbd_device *device , union drbd_state os ,
union drbd_state ns );
π ARGUMENTS π
deviceβ the DRBD device. yes, that device.osβ old (current) state. the before pic, lowkey.nsβ new (wanted) state. the glow-up we're trying to get to.
π SEE ALSO π
the kernel file is ./drivers/block/drbd/drbd_state.c, and these are the besties you should also check out:
drbd_force_state(9)drbd_req_state(9)_drbd_request_state(9)is_valid_state(9)is_valid_soft_transition(9)is_valid_transition(9)sanitize_state(9)_drbd_set_state(9)after_state_ch(9)
and that's the whole page, fr fr π«Ά source/version: ./drivers/block/drbd; date: October 2026; page: cl_wide_st_chg(9) β bye bestie, slay your state changes responsibly πβ¨
π¦ 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