diff options
| author | Niklas Cassel <cassel@kernel.org> | 2025-12-02 13:21:35 +0100 |
|---|---|---|
| committer | Damien Le Moal <dlemoal@kernel.org> | 2025-12-15 16:32:05 +0900 |
| commit | ad50d922f4857ca58dbda172d5d6356ab53e7845 (patch) | |
| tree | 288b1dad06a8763c2e6aa0cc16e60af24f5569f5 /include | |
| parent | 45c4c5a6156a5ab450a7595dd1c8985e2d459403 (diff) | |
ata: libata: Add libata.force parameter max_sec
Add a new libata.force parameter called max_sec.
The parameter can take an arbitrary value using the format:
libata.force=max_sec=<number of 512B sectors>
e.g. libata.force=max_sec=8191
or
libata.force=max_sec=2048
This will allow the user to set an arbitrary maximum command size
(dev->max_sectors) using libata.force.
We cannot remove the existing libata.force parameters "max_sec_128" and
"max_sec_1024", as these are a part of the exising user facing API.
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
