lpfc_enable_oas_lun(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– lpfc_enable_oas_lun(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” this page is all about lpfc_enable_oas_lun, and yes, it's giving very specific kernel-nerd energy in the best way. Let's get into it πŸ’…


🌸 NAME 🌸

lpfc_enable_oas_lun β€” enables a lun for OAS operations


✨ SYNOPSIS ✨

bool lpfc_enable_oas_lun (struct lpfc_hba *phba , struct lpfc_name
       *vport_wwpn , struct lpfc_name *target_wwpn , uint64_t lun , uint8_t pri
       );

πŸŽ€ ARGUMENTS πŸŽ€

  • phba β€” Pointer to host bus adapter structure. like, the HBA itself, bestie 🫢
  • vport_wwpn β€” Pointer to vport's wwpn information ✨
  • target_wwpn β€” Pointer to target's wwpn information ✨
  • lun β€” Lun. yep, that's the whole description, periodt πŸ’…
  • pri β€” Priority

πŸ¦‹ DESCRIPTION πŸ¦‹

This routine enables a lun for oas operations. The routine does so by doing the following:

  1. Checks to see if the device data for the lun has been created.
  2. If found, sets the OAS enabled flag if not set and returns.
  3. Otherwise, creates a device data structure.
  4. If successfully created, indicates the device data is for an OAS lun, indicates the lun is not available and add to the list of luns.

Return codes:

  • false β€” Error
  • true β€” Success
lowkey important: false is the error vibe, true is the success vibe. no cap 😭

πŸ”Ž SEE ALSO πŸ”Ž


mwah πŸ’‹ and that’s the page! source/version situation: ./drivers/scsi/lpfc; date on the stamp: October 2026; manual energy: Kernel API Manual. bye bestie πŸ«ΆπŸ’–

πŸ“¦ where this page comes from