after_state_ch(9)
after_state_ch(9) π
okay so this is the after_state_ch(9) page from the Kernel API Manual, and it's giving βperform after state change actions that may sleepβ π΄. Yes bestie, these actions may sleep β noted, important, no cap.
β¨ NAME β¨
after_state_ch β perform after state change actions that may sleep. Thatβs the whole vibe: after-state-change actions, and sleeping is allowed π€.
π οΈ SYNOPSIS π οΈ
void after_state_ch (struct drbd_device *device , union drbd_state os , union drbd_state ns , enum chg_state_flags flags , struct drbd_state_change *state_change );
π ARGUMENTS π
deviceβ DRBD device. literally the device weβre working with πosβ old state. the before pic πΈnsβ new state. the glow-up β¨flagsβ Flags. yes, just flags π©state_changeβ state change to broadcast. put it on the group chat π£
π SEE ALSO π
Kernel file ./drivers/block/drbd/drbd_state.c and the whole friend group:
cl_wide_st_chg(9)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)
bye bestie π«Ά this page is from ./drivers/block/drbd and itβs dated October 2026 π
π¦ 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