engines/io_uring_cmd: make trims async
authorVincent Fu <vincent.fu@samsung.com>
Tue, 27 Jun 2023 18:48:53 +0000 (18:48 +0000)
committerVincent Fu <vincent.fu@samsung.com>
Wed, 5 Jul 2023 19:51:09 +0000 (15:51 -0400)
commit4885a6eba420ce216e4102df3e42229e167d1b7b
tree267076e3b6733d6dde9b59044837659bf7426a9f
parent5dea8bb336a6435d9c21bd0fe976f3b0f09e8386
engines/io_uring_cmd: make trims async

Instead of using a synchronous IOCTL to send a trim/deallocate request, just
use the io_uring pass-through interface to send the dataset management
command with the deallocate request just like we already do for read and
write commands.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
engines/io_uring.c
engines/nvme.c
engines/nvme.h