STRUCT ZFCP_UNIT(9)
π NAME π
okay so bestie, this is struct zfcp_unit(9) from the Kernel API Manual β and it's literally the LUN configured via zfcp sysfs. slay π
β¨
π¦ SYNOPSIS π¦
here's the whole struct, no cap:
struct zfcp_unit {
struct device dev;
struct list_head list;
struct zfcp_port *port;
u64 fcp_lun;
struct work_struct scsi_work;
};
πΈ Members πΈ
devβ thestruct devicefor sysfs representation and reference counting. it's giving sysfs main character energy πlistβ entry in the LUN/unit list perzfcp_port.portβ reference tozfcp_portwhere this LUN is configured.fcp_lunβ the 64 bit LUN value. iconic.scsi_workβ for runningscsi_scan_target.
π Description π
This is the representation of a LUN that has been configured for usage. The main data here is the 64 bit LUN value, and data for running I/O and recovery is in struct zfcp_scsi_dev. so like, this struct is the configured-LUN vibe, and the I/O and recovery data lives over in struct zfcp_scsi_dev β iykyk π«Ά
π SEE ALSO π
- Kernel file
./drivers/s390/scsi/zfcp_def.h enum zfcp_erp_act_type(9)struct zfcp_scsi_dev(9)sdev_to_zfcp(9)zfcp_scsi_dev_lun(9)struct zfcp_fsf_req(9)
go read these too, bestie π
this page lives in ./drivers/s390/scsi, dated October 2026, and it's struct zfcp_unit(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