]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cam(4): Limit search for disks in SES enclosure by single bus
authorAlexander Motin <mav@FreeBSD.org>
Tue, 5 Oct 2021 19:01:16 +0000 (15:01 -0400)
committerAlexander Motin <mav@FreeBSD.org>
Tue, 19 Oct 2021 15:06:52 +0000 (11:06 -0400)
commit7e321b97917dce5274972a6bc5eee94c6ad4cfc4
treee58a92e6875e80ce20cb7e4334d2ebd5aad064fb
parent7d7168478380f08b3a7fd58ca7cf83182fae6850
cam(4): Limit search for disks in SES enclosure by single bus

At least for SAS that we only support now disks are typically
connected to the same bus as the enclosure.  Limiting the search
scope makes it much faster on systems with multiple buses and
thousands of disks.

Reviewed by: imp
MFC after: 2 weeks
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D32305

(cherry picked from commit 730ea72c706ef8e025616772cfd86fd89ed3d42e)
sys/cam/scsi/scsi_enc_ses.c