diff options
author | Mike Christie <[email protected]> | 2024-01-22 18:22:05 -0600 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2024-01-29 21:20:53 -0500 |
commit | 1008f5776fe5c398e1202c93b835943b04de3ec6 (patch) | |
tree | 4d9b6e1ed8e17ae893a8262969ad37aa4f67bf65 /scripts/generate_rust_analyzer.py | |
parent | 987d7d3db0b9b5428c4888ed375cca290667a597 (diff) |
scsi: sd: Use separate buf for START_STOP in sd_spinup_disk()
We currently reuse the cmd buffer for the TUR and START_STOP commands
which requires us to reset the buffer when retrying. This has us use
separate buffers for the 2 commands so we can make them const and I think
it makes it easier to handle for retries but does not add too much extra to
the stack use.
Signed-off-by: Mike Christie <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: John Garry <[email protected]>
Reviewed-by: Martin Wilck <[email protected]>
Acked-by: Christoph Hellwig <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions