Skip to content

Commit db3dfae

Browse files
bagasmeaxboe
authored andcommitted
Documentation: ublk: Separate UBLK_F_AUTO_BUF_REG fallback behavior sublists
Stephen Rothwell reports htmldocs warning on ublk docs: Documentation/block/ublk.rst:414: ERROR: Unexpected indentation. [docutils] Fix the warning by separating sublists of auto buffer registration fallback behavior from their appropriate parent list item. Fixes: ff20c51 ("ublk: document auto buffer registration(UBLK_F_AUTO_BUF_REG)") Reported-by: Stephen Rothwell <[email protected]> Closes: https://lore.kernel.org/linux-next/[email protected]/ Signed-off-by: Bagas Sanjaya <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
1 parent 5e223e0 commit db3dfae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Documentation/block/ublk.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,13 +408,15 @@ Fallback Behavior
408408
If auto buffer registration fails:
409409

410410
1. When ``UBLK_AUTO_BUF_REG_FALLBACK`` is enabled:
411+
411412
- The uring_cmd is completed
412413
- ``UBLK_IO_F_NEED_REG_BUF`` is set in ``ublksrv_io_desc.op_flags``
413414
- The ublk server must manually deal with the failure, such as, register
414415
the buffer manually, or using user copy feature for retrieving the data
415416
for handling ublk IO
416417

417418
2. If fallback is not enabled:
419+
418420
- The ublk I/O request fails silently
419421
- The uring_cmd won't be completed
420422

0 commit comments

Comments
 (0)