Commit 1d0af94
scsi: ufs: core: Make the reserved slot a reserved request
Instead of letting the SCSI core allocate hba->nutrs - 1 commands, let
the SCSI core allocate hba->nutrs commands, set the number of reserved
tags to 1 and use the reserved tag for device management commands. This
patch changes the 'reserved slot' from hba->nutrs - 1 into 0 because the
block layer reserves the smallest tags for reserved commands.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://patch.msgid.link/20251031204029.2883185-22-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent d3fd0fd commit 1d0af94
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2476 | 2476 | | |
2477 | 2477 | | |
2478 | 2478 | | |
2479 | | - | |
| 2479 | + | |
2480 | 2480 | | |
2481 | 2481 | | |
2482 | 2482 | | |
| |||
8945 | 8945 | | |
8946 | 8946 | | |
8947 | 8947 | | |
8948 | | - | |
8949 | 8948 | | |
8950 | 8949 | | |
8951 | 8950 | | |
| |||
9184 | 9183 | | |
9185 | 9184 | | |
9186 | 9185 | | |
| 9186 | + | |
9187 | 9187 | | |
9188 | 9188 | | |
9189 | 9189 | | |
| |||
0 commit comments