max_coalesce
The maximum number of bytes that the SSA disk device driver attempts to
transfer to or from an SSA logical disk in one operation.
The default value is appropriate for most environments. For applications that
perform very long sequential write operations, performance improves when
data is written in blocks of 64 KB multiplied by (n-1), where n is the number of
disks in the array. For example, if the array contains six member disks, the
data would be written in blocks of 64 KB x 5. (These operations are known as
full-stride writes.) To use full-stride writes, increase the value of this attribute to
64 KB x (n-1), or to some multiple of this number.
write_queue_mod
Alters the way in which write commands are queued to SSA logical disks. The
default value is 0 for all SSA logical disks that do not use the fast-write cache;
with this setting the SSA disk device driver maintains a single seek-ordered
queue of queue_depth operations on the disk. Read operations and write
operations are queued together in this mode.
If write_queue_mod is set to a non-zero value, the SSA disk device driver
maintains two separate seek-ordered queues: one for read operations, and
one for write operations. In this mode, the device driver issues up to
queue_depth read commands and up to write_queue_mod write commands to
the logical disk.
This facility is provided because, in some environments, it might be beneficial
to hold back write commands in the device driver so that they can be
coalesced into larger operations that can be handled as full-stride writes by the
RAID software in the adapter.
This facility is not likely to be useful, unless a large percentage of the workload
to a RAID-5 device consists of sequential write operations.
Device-Dependent Subroutines
The open, read, write, and close subroutines start typical physical volume operations.
open, read, write and close Subroutines
The open subroutine is mainly for use by the diagnostic commands and utilities.
Correct authority is required for execution. If an attempt is made to run the open
subroutine without the correct authority, the subroutine returns a value of -1, and sets
the errno global variable to a value of EPERM.
The ext parameter that is passed to the openx subroutine selects the operation for the
target device. The /usr/include/sys/ssadisk.h file defines possible values for the ext
parameter.
The ext parameter can contain any combination of the following flag values logically
ORed together:
SSADISK_PRIMARY
Opens the device by using the primary adapter as the path to the device. As a
result of hardware errors, the device driver might automatically switch to the
272
User’s Guide and Maintenance Information
Summary of Contents for Advanced SerialRAID Adapters SA33-3285-02
Page 1: ...Advanced SerialRAID Adapters User s Guide and Maintenance Information SA33 3285 02 ...
Page 2: ......
Page 3: ...Advanced SerialRAID Adapters User s Guide and Maintenance Information SA33 3285 02 ...
Page 16: ...xiv User s Guide and Maintenance Information ...
Page 18: ...xvi User s Guide and Maintenance Information ...
Page 21: ...Part 1 User Information 1 ...
Page 22: ...2 User s Guide and Maintenance Information ...
Page 48: ...28 User s Guide and Maintenance Information ...
Page 64: ...44 User s Guide and Maintenance Information ...
Page 76: ...56 User s Guide and Maintenance Information ...
Page 212: ...192 User s Guide and Maintenance Information ...
Page 228: ...208 User s Guide and Maintenance Information ...
Page 230: ...210 User s Guide and Maintenance Information ...
Page 254: ...234 User s Guide and Maintenance Information ...
Page 274: ...254 User s Guide and Maintenance Information ...
Page 330: ...310 User s Guide and Maintenance Information ...
Page 331: ...Part 2 Maintenance Information 311 ...
Page 332: ...312 User s Guide and Maintenance Information ...
Page 338: ...318 User s Guide and Maintenance Information ...
Page 430: ...410 User s Guide and Maintenance Information ...
Page 503: ...Part 3 Appendixes 483 ...
Page 504: ...484 User s Guide and Maintenance Information ...
Page 508: ...488 User s Guide and Maintenance Information ...
Page 529: ......
Page 530: ...Part Number 27H0678 Printed in the U S A SA33 3285 02 1P P N 27H0678 ...
Page 531: ...Spine information Advanced SerialRAID Adapters User s Guide and Maintenance Information ...