On 4/4/22 01:12, Bean Huo wrote:
Very interested in this design. I'm assuming you're still going to
continue parsing SCSI commands. Can we also shorten the UFS command
path?
Meaning we convert block requests directly to UFS UPIU commands?
instead of like the current one: block request -> CDB -> UPIU.
Hi Bean,
Is there any data that shows that the benefits of shortening the UFS
command path outweigh the disadvantages? For other SCSI LLDs the cost of
atomic operations and memory barriers in the LLD outweighs the cost of
the operations in the SCSI core and sd drivers. I'm not sure whether
that's also the case for the UFS driver.
Thanks,
Bart.