summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-05-08 07:12:06 +0000
committermav <mav@FreeBSD.org>2014-05-08 07:12:06 +0000
commit878513ca7de9e1d7eac37951bb6895c636b49c91 (patch)
tree8712f8c5c8761ae00225967010f1cde080dd740a /lib/libc/stdlib
parentc2e87a80269e468724d9cfe6f22abb751e19e0bb (diff)
downloadFreeBSD-src-878513ca7de9e1d7eac37951bb6895c636b49c91.zip
FreeBSD-src-878513ca7de9e1d7eac37951bb6895c636b49c91.tar.gz
MFC r265150:
Do not reread SCSI disk VPD pages on every device open. Instead of rereading VPD pages on every device open, do it only on initial device probe, and in cases when device reported via UNIT ATTENTIONs that something has changed. Capacity is still rereaded on every open because it is more critical for operation and more probable to change in run time. On my tests with Intel 530 SSDs on mps(4) HBA this change reduces time GEOM needs to retaste the device (that includes few open/close cycles) from ~150ms to ~30ms.
Diffstat (limited to 'lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud