engines/io_uring_cmd: disable iomem=malloc check for metadata
authorVincent Fu <vincent.fu@samsung.com>
Fri, 22 Nov 2024 16:29:05 +0000 (16:29 +0000)
committerVincent Fu <vincent.fu@samsung.com>
Fri, 22 Nov 2024 19:47:25 +0000 (19:47 +0000)
commitd78f2f3f33f9f5f64bfa7a71db22aac911eda162
tree94f17b5b3767dd6f3b43948f34f188cda1c72fdb
parentf2415d711a11fec6d5e4081a7bdc060b98c76043
engines/io_uring_cmd: disable iomem=malloc check for metadata

Before this patch, the io_uring_cmd ioengine would check that
iomem=malloc (the default) before allocating memory for metadata
buffers. If the user had selected a different option, fio would abort
the job with an error message.

This patch removes this check. We do not need to restrict users to
iomem=malloc for io_uring_cmd workloads involving protection
information. Users may wish to use huge pages for LBA data in order to
submit larger IOs. Since metadata buffers will be smaller they can still
use regular pages.

Reported-by: 전규범 <gyubeom.jeon@samsung.com>
Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
engines/io_uring.c