Commit c41be266147f ("ufshci: keep a slot for admin requests") left
one slot out of the CAM openings besides the admin slot, because
letting CAM fill every I/O slot cut the throughput. The cause was the
completion path, which called back into CAM before it freed the slot.
The completion path now frees the slot first, so the spare slot only
sits idle.
Give CAM every slot that I/O can use again. On QEMU with 4k random
I/O from 4 jobs at depth 16, the throughput stayed the same and no
request came back with EBUSY. A request sent outside CAM, such as a
passthrough command, can still make CAM find the queue full. CAM
requeues its request then, so log a full queue only for the task
management queue, where it means that aborts piled up.
Sponsored by: Samsung Electronics