Project

General

Profile

Actions

Bug #14458

closed

scsi_hba_tgtmap_create(9F): various issues

Added by Yuri Pankov 6 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Category:
manpage - manual pages
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

     The dip argument should correspond to the HBA driver's device node or one
     of its iports.

However I was trying to do without iports, and scsi_hba_tgtmap_create() was refusing to succeed for some unknown reason. Checking the source, scsi_hba_tgtmap_create() explicitly verifies that dip belongs to iport.

     Otherwise, the driver should set the mode argument to SCSI_TM_PERADDR and
     use the scsi_hba_tgtmap_tgt_add() and scsi_hba_tgtmap_tgt_destroy()
     functions.  See the section Per-Address Reporting for more information.

The latter should likely read scsi_hba_tgtmap_tgt_remove().

Actions #1

Updated by Robert Mustacchi 6 months ago

  • Assignee set to Robert Mustacchi
Actions #2

Updated by Electric Monk 6 months ago

  • Gerrit CR set to 1990
Actions #3

Updated by Robert Mustacchi 6 months ago

I tested this by looking at the new page in man.

Actions #4

Updated by Electric Monk 6 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 094cd349c8e33cc6119847f48b8ec86874a7c947

commit  094cd349c8e33cc6119847f48b8ec86874a7c947
Author: Robert Mustacchi <rm@fingolfin.org>
Date:   2022-02-01T15:40:56.000Z

    14458 scsi_hba_tgtmap_create(9F): various issues
    Reviewed by: Yuri Pankov <ypankov@tintri.com>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Approved by: Rich Lowe <richlowe@richlowe.net>

Actions

Also available in: Atom PDF