• Jeff Garzik's avatar
    [libata] set up some of the per-command data beforehand · 3b64bb0c
    Jeff Garzik authored
    The data transfer mode and the set of read/write commands we generate
    during normal operation remains constant until we change the data
    transfer mode.
    
    This removes a series of branches in the read/write fast path,
    and in general cleans up that particular spot of code.
    3b64bb0c
libata-scsi.c 25 KB