mbox series

[RESEND,0/2] scsi: target: user configurable IEEE Company ID

Message ID 20210420185920.42431-1-s.samoylenko@yadro.com (mailing list archive)
Headers show
Series scsi: target: user configurable IEEE Company ID | expand

Message

Sergey Samoylenko April 20, 2021, 6:59 p.m. UTC
The series allows to change IEEE Company ID component
of NAA LUN identifier returned on the SCSI INQUIRY VPD
page (aka WWID). Company ID can be changed via the
target/core/$backstore/$name/wwn/company_id ConfigFS path.

Sergey Samoylenko (2):
  scsi: target: core: Unify NAA identifer generation
  scsi: target: core: Add IEEE Company ID attribute

 drivers/target/target_core_configfs.c | 50 +++++++++++++++++++++++++++
 drivers/target/target_core_device.c   |  5 +++
 drivers/target/target_core_pr.h       |  2 +-
 drivers/target/target_core_spc.c      | 47 ++++++++++++-------------
 drivers/target/target_core_xcopy.c    | 17 ++-------
 include/target/target_core_base.h     |  1 +
 6 files changed, 82 insertions(+), 40 deletions(-)

Comments

Martin K. Petersen May 15, 2021, 6:14 p.m. UTC | #1
Sergey,

> The series allows to change IEEE Company ID component of NAA LUN
> identifier returned on the SCSI INQUIRY VPD page (aka WWID). Company
> ID can be changed via the target/core/$backstore/$name/wwn/company_id
> ConfigFS path.

Applied to 5.14/scsi-staging, thanks!
Martin K. Petersen May 22, 2021, 4:41 a.m. UTC | #2
On Tue, 20 Apr 2021 21:59:18 +0300, Sergey Samoylenko wrote:

> The series allows to change IEEE Company ID component
> of NAA LUN identifier returned on the SCSI INQUIRY VPD
> page (aka WWID). Company ID can be changed via the
> target/core/$backstore/$name/wwn/company_id ConfigFS path.
> 
> Sergey Samoylenko (2):
>   scsi: target: core: Unify NAA identifer generation
>   scsi: target: core: Add IEEE Company ID attribute
> 
> [...]

Applied to 5.14/scsi-queue, thanks!

[1/2] scsi: target: core: Unify NAA identifer generation
      https://git.kernel.org/mkp/scsi/c/17f947b8b06f
[2/2] scsi: target: core: Add IEEE Company ID attribute
      https://git.kernel.org/mkp/scsi/c/2469f1e0412c