ENUM ZFCP_ERP_ACT_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hey bestie, welcome to the Kernel API Manual page for enum zfcp_erp_act_type β€” it's giving β€œthe type of an ERP action object,” and we're gonna get into it πŸ’…βœ¨

πŸŽ€ NAME πŸŽ€

enum zfcp_erp_act_type β€” type of ERP action object. Periodt.

🌸 SYNOPSIS 🌸

enum zfcp_erp_act_type {
    ZFCP_ERP_ACTION_REOPEN_LUN ,
    ZFCP_ERP_ACTION_REOPEN_PORT ,
    ZFCP_ERP_ACTION_REOPEN_PORT_FORCED ,
    ZFCP_ERP_ACTION_REOPEN_ADAPTER

};

✨ Constants ✨

okay so these are the four constants in the squad, no cap:

  • ZFCP_ERP_ACTION_REOPEN_LUN β€” LUN recovery. literally what it says 🫢
  • ZFCP_ERP_ACTION_REOPEN_PORT β€” Port recovery. iconic port behavior πŸ’–
  • ZFCP_ERP_ACTION_REOPEN_PORT_FORCED β€” Forced port recovery. highkey forceful, but make it recovery 😭
  • ZFCP_ERP_ACTION_REOPEN_ADAPTER β€” Adapter recovery. adapter said β€œmain character energy” πŸ‘‘

πŸ¦‹ Description πŸ¦‹

Values must fit into u8 because of code dependencies: zfcp_dbf_rec_trig, zfcp_dbf_rec_trigger.want, zfcp_dbf_rec_trigger.need; zfcp_dbf_rec_run_lvl, zfcp_dbf_rec_run, zfcp_dbf_rec_running.rec_action.

bestie, this is the important part: they must fit into u8 because of those code dependencies. not optional, not a vibe check, fr fr πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

go peek at the Kernel file ./drivers/s390/scsi/zfcp_def.h, plus these cuties:


xoxo, your kernel bestie πŸ’– β€” source/version: ./drivers/s390/scsi, dated October 2026 πŸŽ€βœ¨

πŸ“¦ where this page comes from