Re: [PATCH 21/25] target: fix backend plugging
From: Bodo Stroesser <bostroesser@gmail.com>
Date: 2021-02-19 19:41:34
Also in:
target-devel
From: Bodo Stroesser <bostroesser@gmail.com>
Date: 2021-02-19 19:41:34
Also in:
target-devel
On 17.02.21 21:28, Mike Christie wrote:
target_core_iblock is plugging and unplugging on every command and this is causing perf issues for drivers that prefer batched cmds. With the last patches we can now take multiple cmds from a fabric driver queue and then pass them down the backend drivers in a batch. This patch adds this support by adding 2 callouts to the backend for plugging and unplugging the device. The next 2 patches add support for iblock and tcmu device plugging. Signed-off-by: Mike Christie <michael.christie@oracle.com> --- drivers/target/target_core_transport.c | 43 +++++++++++++++++++++++++- include/target/target_core_backend.h | 2 ++ include/target/target_core_base.h | 4 +++ 3 files changed, 48 insertions(+), 1 deletion(-)
Looks good. Reviewed-by: Bodo Stroesser <bostroesser@gmail.com>