zfcp_erp_lun_shutdown_wait(9)
π NAME π
okay bestie, welcome to the Kernel API Manual page for zfcp_erp_lun_shutdown_wait(9) β Shutdown LUN and wait for erp completion π«Άβ¨
β¨ SYNOPSIS β¨
void zfcp_erp_lun_shutdown_wait (struct scsi_device *sdev , char *dbftag
);
π ARGUMENTS π
sdevβ the SCSI device / LUN to shut down π―dbftagβ tag for the debug trace event π·οΈ
π¦ DESCRIPTION π¦
okay so here's the whole vibe, bestie: this function is literally giving patient main character energy β it shuts down the LUN and waits for the ERP to complete before it dips π .
safety note, no cap: when creating the ERP action, it does not acquire a reference for the LUN. That's safe, fr fr, because this function waits for the ERP to complete first β she is not leaving you on read, she's waiting for the whole thing to finish π«Ά.
and the way that this is useful?? it lets you shutdown the LUN even when the SCSI device is in the state SDEV_DEL β which is exactly the situation where scsi_device_get will fail π. iconic, honestly. slay. periodt.
πΈ SEE ALSO πΈ
Kernel file: ./drivers/s390/scsi/zfcp_erp.c π§ iykyk
zfcp_erp_adapter_reopen(9)zfcp_erp_adapter_shutdown(9)zfcp_erp_port_shutdown(9)zfcp_erp_port_forced_reopen(9)zfcp_erp_port_reopen(9)zfcp_erp_lun_reopen(9)zfcp_erp_lun_shutdown(9)zfcp_erp_notify(9)zfcp_erp_timeout_handler(9)zfcp_erp_try_rport_unblock(9)zfcp_erp_thread_setup(9)zfcp_erp_thread_kill(9)zfcp_erp_wait(9)zfcp_erp_set_adapter_status(9)zfcp_erp_clear_adapter_status(9)zfcp_erp_set_port_status(9)zfcp_erp_clear_port_status(9)zfcp_erp_set_lun_status(9)zfcp_erp_clear_lun_status(9)zfcp_erp_adapter_reset_sync(9)
that's a wrap, bestie π β source/version: ./drivers/s390/scsi; date: October 2026; page: zfcp_erp_lun_shutdown_wait(9); mwah π
π¦ 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