From: Bart Van Assche <bvanassche@acm.org>
To: "Martin K . Petersen" <martin.petersen@oracle.com>
Cc: linux-scsi@vger.kernel.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Christoph Hellwig <hch@lst.de>, Hannes Reinecke <hare@suse.com>,
Bart Van Assche <bvanassche@acm.org>
Subject: [PATCH 0/2] Register SCSI sysfs attributes earlier
Date: Fri, 24 Sep 2021 16:26:33 -0700 [thread overview]
Message-ID: <20210924232635.1637763-1-bvanassche@acm.org> (raw)
Hi Martin,
For certain user space software, e.g. udev, it is important that sysfs
attributes are registered before the KOBJ_ADD uevent is emitted. Hence
this patch series that removes the device_create_file() and
sysfs_create_groups() calls from the SCSI core. Please consider this
patch series for kernel v5.16.
Thanks,
Bart.
Bart Van Assche (2):
scsi: Register SCSI host sysfs attributes earlier
scsi: Register SCSI device sysfs attributes earlier
drivers/ata/ahci.h | 4 +-
drivers/ata/ata_piix.c | 4 +-
drivers/ata/libahci.c | 30 +--
drivers/ata/libata-sata.c | 8 +-
drivers/ata/libata-scsi.c | 4 +-
drivers/firewire/sbp2.c | 4 +-
drivers/infiniband/ulp/srp/ib_srp.c | 44 ++--
drivers/message/fusion/mptscsih.c | 26 +-
drivers/message/fusion/mptscsih.h | 2 +-
drivers/s390/scsi/zfcp_ext.h | 4 +-
drivers/s390/scsi/zfcp_sysfs.c | 34 +--
drivers/scsi/3w-9xxx.c | 4 +-
drivers/scsi/3w-sas.c | 4 +-
drivers/scsi/3w-xxxx.c | 4 +-
drivers/scsi/aacraid/linit.c | 30 +--
drivers/scsi/arcmsr/arcmsr.h | 2 +-
drivers/scsi/arcmsr/arcmsr_attr.c | 24 +-
drivers/scsi/be2iscsi/be_main.c | 17 +-
drivers/scsi/bfa/bfad_attr.c | 52 ++--
drivers/scsi/bfa/bfad_im.h | 4 +-
drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 4 +-
drivers/scsi/bnx2i/bnx2i.h | 2 +-
drivers/scsi/bnx2i/bnx2i_sysfs.c | 6 +-
drivers/scsi/csiostor/csio_scsi.c | 16 +-
drivers/scsi/cxlflash/main.c | 32 +--
drivers/scsi/fnic/fnic.h | 2 +-
drivers/scsi/fnic/fnic_attrs.c | 8 +-
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c | 4 +-
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 4 +-
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 10 +-
drivers/scsi/hosts.c | 10 +-
drivers/scsi/hpsa.c | 36 +--
drivers/scsi/hptiop.c | 6 +-
drivers/scsi/ibmvscsi/ibmvfc.c | 18 +-
drivers/scsi/ibmvscsi/ibmvscsi.c | 18 +-
drivers/scsi/ipr.c | 30 +--
drivers/scsi/isci/init.c | 4 +-
drivers/scsi/lpfc/lpfc_attr.c | 296 +++++++++++-----------
drivers/scsi/lpfc/lpfc_crtn.h | 4 +-
drivers/scsi/megaraid/megaraid_mbox.c | 8 +-
drivers/scsi/megaraid/megaraid_sas_base.c | 20 +-
drivers/scsi/mpt3sas/mpt3sas_base.h | 4 +-
drivers/scsi/mpt3sas/mpt3sas_ctl.c | 66 ++---
drivers/scsi/mvsas/mv_init.c | 8 +-
drivers/scsi/myrb.c | 20 +-
drivers/scsi/myrs.c | 32 +--
drivers/scsi/ncr53c8xx.c | 4 +-
drivers/scsi/pcmcia/sym53c500_cs.c | 4 +-
drivers/scsi/pm8001/pm8001_ctl.c | 56 ++--
drivers/scsi/pm8001/pm8001_sas.h | 2 +-
drivers/scsi/pmcraid.c | 8 +-
drivers/scsi/qedf/qedf.h | 2 +-
drivers/scsi/qedf/qedf_attr.c | 6 +-
drivers/scsi/qedi/qedi_gbl.h | 2 +-
drivers/scsi/qedi/qedi_sysfs.c | 6 +-
drivers/scsi/qla2xxx/qla_attr.c | 98 +++----
drivers/scsi/qla2xxx/qla_gbl.h | 3 +-
drivers/scsi/qla4xxx/ql4_attr.c | 32 +--
drivers/scsi/qla4xxx/ql4_glbl.h | 2 +-
drivers/scsi/scsi_priv.h | 2 +-
drivers/scsi/scsi_sysfs.c | 60 ++---
drivers/scsi/smartpqi/smartpqi_init.c | 38 +--
drivers/scsi/snic/snic.h | 2 +-
drivers/scsi/snic/snic_attrs.c | 10 +-
drivers/usb/storage/scsiglue.c | 4 +-
include/linux/libata.h | 4 +-
include/scsi/scsi_device.h | 2 +
include/scsi/scsi_host.h | 6 +-
68 files changed, 660 insertions(+), 666 deletions(-)
next reply other threads:[~2021-09-24 23:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-24 23:26 Bart Van Assche [this message]
2021-09-24 23:26 ` [PATCH 1/2] scsi: Register SCSI host sysfs attributes earlier Bart Van Assche
2021-09-25 9:02 ` Greg Kroah-Hartman
2021-09-27 17:35 ` Bart Van Assche
2021-09-24 23:26 ` [PATCH 2/2] scsi: Register SCSI device " Bart Van Assche
2021-09-25 9:03 ` Greg Kroah-Hartman
2021-09-27 17:37 ` Bart Van Assche
2021-09-28 4:48 ` Greg Kroah-Hartman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210924232635.1637763-1-bvanassche@acm.org \
--to=bvanassche@acm.org \
--cc=gregkh@linuxfoundation.org \
--cc=hare@suse.com \
--cc=hch@lst.de \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).