diff options
author | Ming Lei <ming.lei@redhat.com> | 2022-10-29 04:04:30 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-10-31 16:23:24 +0300 |
commit | d57c2c6c1145148bb23d68db73de0b52d482d4ba (patch) | |
tree | c43810ddd07efb5405ba344821bf2f494a8d1ad8 /drivers/block/Kconfig | |
parent | 224e858f215a3d6304f95a92357a1753475ca9cf (diff) | |
download | linux-d57c2c6c1145148bb23d68db73de0b52d482d4ba.tar.xz |
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>
Diffstat (limited to 'drivers/block/Kconfig')
-rw-r--r-- | drivers/block/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig index db1b4b202646..a41145d52de9 100644 --- a/drivers/block/Kconfig +++ b/drivers/block/Kconfig @@ -408,6 +408,12 @@ config BLK_DEV_UBLK definition isn't finalized yet, and might change according to future requirement, so mark is as experimental now. + Say Y if you want to get better performance because task_work_add() + can be used in IO path for replacing io_uring cmd, which will become + shared between IO tasks and ubq daemon, meantime task_work_add() can + can handle batch more effectively, but task_work_add() isn't exported + for module, so ublk has to be built to kernel. + source "drivers/block/rnbd/Kconfig" endif # BLK_DEV |