Skip to content

Commit

Permalink
scsi_debug: use likely hints on fast path
Browse files Browse the repository at this point in the history
The most common commands in normal use are the READ and WRITE SCSI
commands. Use likely and unlikely hints along the path taken by these
commands. Rename check_readiness() to make_ua() and remove associated
dead code. Rename devInfoReg() to find_build_dev_info().

Signed-off-by: Douglas Gilbert <[email protected]>
Reviewed-by: Hannes Reinicke <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
  • Loading branch information
doug-gilbert authored and martinkpetersen committed Apr 29, 2016
1 parent fd32119 commit f46eb0e
Showing 1 changed file with 105 additions and 114 deletions.
Loading

0 comments on commit f46eb0e

Please sign in to comment.