STRUCT ZFCP_UNIT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the struct device for sysfs representation and reference counting. it's giving sysfs main character energy πŸŽ€
  • list β€” entry in the LUN/unit list per zfcp_port.
  • port β€” reference to zfcp_port where this LUN is configured.
  • fcp_lun β€” the 64 bit LUN value. iconic.
  • scsi_work β€” for running scsi_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 πŸŽ€

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