[libata] set up some of the per-command data beforehand
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.
Showing
Please register or sign in to comment