STRUCT ZFCP_DBF_SCSI(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct zfcp_dbf_scsi(9) β€” like, the Kernel API Manual, bestie πŸŽ€

okay so picture this: it's a page from the Kernel API Manual, and it's all about struct zfcp_dbf_scsi β€” the shared trace record for SCSI records. yes, THE one. she's the blueprint for how SCSI tracing gets written down, and honestly? iconic. ✨


🌸 NAME 🌸

struct zfcp_dbf_scsi β€” the common trace record for SCSI records, fr fr. not a vibe, a structure. πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole glow-up, laid out exactly as she comes:

struct zfcp_dbf_scsi {
    u8 id;
    char tag[ZFCP_DBF_TAG_LEN];
    u32 scsi_id;
    u32 scsi_lun;
    u32 scsi_result;
    u8 scsi_retries;
    u8 scsi_allowed;
    u8 fcp_rsp_info;
  #define ZFCP_DBF_SCSI_OPCODE    16;
    u8 scsi_opcode[ZFCP_DBF_SCSI_OPCODE];
    u64 fsf_req_id;
    u64 host_scribble;
    u16 pl_len;
    struct fcp_resp_with_ext fcp_rsp;
    u32 scsi_lun_64_hi;
 };

and yes, that #define ZFCP_DBF_SCSI_OPCODE 16; really does live inside the struct like that, semicolon and all. not me judging, she's just quirky like that πŸ™ˆ


πŸ‘‘ Members πŸ‘‘

okay bestie, field-by-field tour, let's go:

  • id β€” the unique number of the recovery record type. her little ID card, basically πŸ’…
  • tag β€” an identifier string specifying the location of initiation. like a "you are here" sticker but for tracing πŸŽ€
  • scsi_id β€” the scsi device id
  • scsi_lun β€” the scsi device logical unit number, low part of 64 bit, old 32 bit. yes she's the low half, she's the vintage half 🧚
  • scsi_result β€” the scsi result
  • scsi_retries β€” the current retry number of the scsi request. we've all been there, keep trying queen 😭
  • scsi_allowed β€” the allowed retries. aka the limit, the boundary, the ceiling
  • fcp_rsp_info β€” the FCP response info code
  • scsi_opcode β€” the scsi opcode
  • fsf_req_id β€” the request id of the fsf request
  • host_scribble β€” LLD specific data attached to the SCSI request. the name?? unhinged. the job?? essential πŸ–οΈ
  • pl_len β€” the length of the payload stored as zfcp_dbf_pay
  • fcp_rsp β€” the response for the FCP request
  • scsi_lun_64_hi β€” the scsi device logical unit number, high part of 64 bit. the other half of the 64-bit duo, reunited at last 🫢

⭐ SEE ALSO ⭐

first up, the source of truth itself: Kernel file ./drivers/s390/scsi/zfcp_dbf.h struct. go read it, iykyk πŸ’œ

and then the whole extended friend group, no one left out:


ngl this page lowkey ate. go forth and trace those SCSI records, bestie, you've got this πŸ’–βœ¨

and that's the whole page, mwah πŸ’‹ β€” brought to you from ./drivers/s390/scsi, dated October 2026, filed under struct zfcp_dbf_scsi(9). slay, periodt. πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from