]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
scsi: libsas: make the event threshold configurable
authorJason Yan <yanaijie@huawei.com>
Fri, 8 Dec 2017 09:42:06 +0000 (17:42 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Wed, 28 Feb 2018 14:47:02 +0000 (08:47 -0600)
commit3a878c41142b5094d556db7c9faea37f4e526fbf
treee3bb444099326b5c5db3af5684a622f6e7ae4294
parentef84e289414f15e2a904bbfcd773673dcb14a605
scsi: libsas: make the event threshold configurable

BugLink: https://bugs.launchpad.net/bugs/1752146
Add a sysfs attr that LLDD can configure it for every host. We made an
example in hisi_sas. Other LLDDs using libsas can implement it if they
want.

Suggested-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
CC: John Garry <john.garry@huawei.com>
CC: Johannes Thumshirn <jthumshirn@suse.de>
CC: Ewan Milne <emilne@redhat.com>
CC: Christoph Hellwig <hch@lst.de>
CC: Tomas Henzl <thenzl@redhat.com>
CC: Dan Williams <dan.j.williams@intel.com>
Acked-by: John Garry <john.garry@huawei.com> #for hisi_sas part
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit 8eea9dd84e450e5262643823691108f2a208a2ac)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/scsi/hisi_sas/hisi_sas_main.c
drivers/scsi/libsas/sas_init.c
include/scsi/libsas.h