summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2025-10-31 13:39:29 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2025-11-12 17:02:33 -0500
commit1d0af94ffb5d4c9b99d38646521b6d3e4119d044 (patch)
tree3febffc6b7109552bb9217c47d96298af71fe8e5 /rust/helpers/build_bug.c
parentd3fd0fd7768681eaeb03742c9e8ae846c505f564 (diff)
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>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions