Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
engines/io_uring_cmd: do not send data buffer for write zeroes
For write zeroes commands, do not send a data bufffer address. If we do send an address, the driver will try to carry out DMA mapping and encounter driver mdts limitations which do not apply to write zeroes commands. This lets us send large write zeroes commands to deallocate the device with the deac=1. This is only done for the non-vectored IO case. For the vectored IO case, the driver requires data buffer addresses to be sent. Regardless it does not make sense to use vectored IO for write zeroes. Signed-off-by: Vincent Fu <[email protected]>
- Loading branch information