zfcp_scsi_te...ate_rport_io(9)
π NAME π
zfcp_scsi_terminate_rport_io β bestie, this one terminates all I/O on a rport. That's the whole vibe. All the pending stuff on that port? Gone. Closed. Done. β¨
π¦ SYNOPSIS π¦
void zfcp_scsi_terminate_rport_io (struct fc_rport *rport );
π ARGUMENTS π
rportβ the FC rport where we're gonna terminate the I/O. (The og manpage literally spells it "teminate" π iconic typo behavior, but yes: this is the port we're shutting down I/O on. π )
πΈ DESCRIPTION πΈ
Okay so here's the tea: this function aborts all pending SCSI commands for a port by closing the port. Like, not just waving at them, actually closing the port. Periodt. π₯
And the way it does it? It goes through a reopen β and that's on purpose, because using a reopen avoids a conflict with a shutdown overwriting a reopen. The manpage said it, not me. π«Ά
Also there's this "forced" situation going on, and it's there for a real reason: the "forced" ensures that a disappeared port is not opened again as valid due to the cached plogi data in non-NPIV mode. So yeah β no zombie port coming back thinking it's all that because of stale cached plogi data when you're in non-NPIV mode. Nope. Not on our watch. π
Fr fr, don't skip the forced part. A port that disappeared should stay disappeared, not ghost back in as "valid" because of the cache. π§
π¦ 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_register(9)zfcp_scsi_adapter_unregister(9)zfcp_scsi_set_prot(9)zfcp_scsi_dif_sense_error(9)
β sign-off β
This lil masterpiece comes to you from ./drivers/s390/scsi, dated October 2026, and it's filed under zfcp_scsi_te...ate_rport_io(9) β yes the title got truncated mid-name and honestly it's giving main character energy. π Go read the other zfcp_scsi pages, they're a whole fam. π
π¦ 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