Skip to content

Commit d57c2c6

Browse files
Ming Leiaxboe
authored andcommitted
ublk_drv: comment on ublk_driver entry of Kconfig
Add help info for choosing to build ublk_drv as module or builtin. Signed-off-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: ZiyangZhang <ZiyangZhang@linux.alibaba.com> Link: https://lore.kernel.org/r/20221029010432.598367-3-ming.lei@redhat.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 224e858 commit d57c2c6

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

drivers/block/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,12 @@ config BLK_DEV_UBLK
408408
definition isn't finalized yet, and might change according to future
409409
requirement, so mark is as experimental now.
410410

411+
Say Y if you want to get better performance because task_work_add()
412+
can be used in IO path for replacing io_uring cmd, which will become
413+
shared between IO tasks and ubq daemon, meantime task_work_add() can
414+
can handle batch more effectively, but task_work_add() isn't exported
415+
for module, so ublk has to be built to kernel.
416+
411417
source "drivers/block/rnbd/Kconfig"
412418

413419
endif # BLK_DEV

0 commit comments

Comments
 (0)