zfcp_scsi_adapter_register(9)
π zfcp_scsi_adapter_register(9) β Kernel API Manual, bestie edition π
Okay so we are in the Kernel API Manual, and this page is literally zfcp_scsi_adapter_register(9). Itβs giving βset up the SCSI and FC host situation with the SCSI midlayerβ energy, and Iβm obsessed. π
β¨ NAME β¨
zfcp_scsi_adapter_register β allocate and register SCSI and FC host with SCSI midlayer. Slay.
π SYNOPSIS π
int zfcp_scsi_adapter_register (struct zfcp_adapter *adapter );
π«Ά ARGUMENTS π«Ά
adapterβ the zfcp adapter to register with the SCSI midlayer. Thatβs the whole assignment, fr fr. π
π DESCRIPTION π
So what this does: it allocates the SCSI host object for the given adapter, sets basic properties (such as the transport template, QDIO limits, ...), and registers it with the midlayer. Iconic behavior. β¨
During registration with the midlayer, the corresponding FC host object for the referenced transport class is also implicitely allocated. π
Upon success, adapter->scsi_host is set, and upon failure it remains NULL. If adapter->scsi_host is already set, nothing is done. No extra drama, no extra work. π
π₯ RETURN π₯
0β allocation and registration was successful. Periodt. π-EEXISTβ the SCSI and FC host did already exist, nothing was done, nothing was changed. No notes. π-EIOβ allocation or registration failed. Sad but informative. π
π SEE ALSO π
- Kernel file
./drivers/s390/scsi/zfcp_scsi.c zfcp_scsi_task_mgmt_function(9)zfcp_scsi_sysfs_host_reset(9)zfcp_scsi_adapter_unregister(9)zfcp_scsi_terminate_rport_io(9)zfcp_scsi_set_prot(9)zfcp_scsi_dif_sense_error(9)
Thatβs the whole page, bestie. This one comes from ./drivers/s390/scsi, dated October 2026, and itβs the zfcp_scsi_adapter_register(9) page β 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