Skip to content

Commit

Permalink
docs: explain type of memory allocated by md_per_io_size
Browse files Browse the repository at this point in the history
Note that md_per_io_size always uses malloc for io_uring_cmd.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
  • Loading branch information
vincentkfu committed Nov 22, 2024
1 parent d78f2f3 commit dc03e37
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion HOWTO.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2591,7 +2591,9 @@ with the caveat that when used on the command line, they must come after the

.. option:: md_per_io_size=int : [io_uring_cmd] [xnvme]

Size in bytes for separate metadata buffer per IO. Default: 0.
Size in bytes for separate metadata buffer per IO. For io_uring_cmd
these buffers are allocated using malloc regardless of what is set for
:option:`iomem`. Default: 0.

.. option:: pi_act=int : [io_uring_cmd] [xnvme]

Expand Down
4 changes: 3 additions & 1 deletion fio.1
Original file line number Diff line number Diff line change
Expand Up @@ -2361,7 +2361,9 @@ this option is specified, the option \fBplids\fP or \fBfdp_pli\fP will be ignore
.RE
.TP
.BI (io_uring_cmd,xnvme)md_per_io_size \fR=\fPint
Size in bytes for separate metadata buffer per IO. Default: 0.
Size in bytes for separate metadata buffer per IO. For io_uring_cmd these
buffers are allocated using malloc regardless of what is set for \fBiomem\fR.
Default: 0.
.TP
.BI (io_uring_cmd,xnvme)pi_act \fR=\fPint
Action to take when nvme namespace is formatted with protection information.
Expand Down

0 comments on commit dc03e37

Please sign in to comment.