diff options
| author | Martin K. Petersen <[email protected]> | 2017-09-28 01:38:59 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-10-03 02:16:25 +0000 |
| commit | 77082ca503bed061f7fbda7cfd7c93beda967a41 (patch) | |
| tree | dc722721e00d0a3f6ec06f379fd679a76684214b /tools/lib/api/fs/tracing_path.c | |
| parent | scsi: sd: Implement blacklist option for WRITE SAME w/ UNMAP (diff) | |
| download | kernel-77082ca503bed061f7fbda7cfd7c93beda967a41.tar.gz kernel-77082ca503bed061f7fbda7cfd7c93beda967a41.zip | |
scsi: sd: Do not override max_sectors_kb sysfs setting
A user may lower the max_sectors_kb setting in sysfs to accommodate
certain workloads. Previously we would always set the max I/O size to
either the block layer default or the optional preferred I/O size
reported by the device.
Keep the current heuristics for the initial setting of max_sectors_kb.
For subsequent invocations, only update the current queue limit if it
exceeds the capabilities of the hardware.
Cc: <[email protected]>
Reported-by: Don Brace <[email protected]>
Reviewed-by: Martin Wilck <[email protected]>
Tested-by: Don Brace <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/lib/api/fs/tracing_path.c')
0 files changed, 0 insertions, 0 deletions
