HomeFreeBSD

ctl: Update some core data paths to be protocol agnostic

Description

ctl: Update some core data paths to be protocol agnostic

  • Add wrapper routines for invoking the be_move_done and io_continue callbacks in SCSI and NVMe I/O requests.
  • Use wrapper routines for access to shared fields between SCSI and NVMe I/O requests.
  • ctl_config_write_done is not fully updated since it resubmits SCSI commands via ctl_scsiio. This will be completed in a subsequent commit when ctl_nvmeio is added.

Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D44846

Details

Provenance
jhbAuthored on May 2 2024, 11:31 PM
Differential Revision
D44846: ctl: Update some core data paths to be protocol agnostic
Parents
rG6f308bcf5724: ctl: Support NVMe requests in debug trace functions
Branches
Unknown
Tags
Unknown