tcmu: allow userspace to reset netlink
v4 cover tcmu: allow userspace to reset netlink
From: Xiubo Li <[email protected]>
Changes since v1(suggested by Mike Christie):
v2: - Makes the reset per device.
v3: - Remove nl_cmd->complete, use status instead
- Fix lock issue
- Check if a nl command is even waiting before trying to wake up
v4: - Add module wide action support and make the reset netlink for the
module wide
Xiubo Li (3):
target/configfs: add module wide action support
target: adjust and export target_for_each_device visible to modules
tcmu: add module wide action/reset_netlink support
drivers/target/target_core_configfs.c | 46 +++++++++++++++++++++ drivers/target/target_core_device.c | 10 +---- drivers/target/target_core_hba.c | 11 +++++ drivers/target/target_core_internal.h | 7 +++- drivers/target/target_core_user.c | 77 +++++++++++++++++++++++++++++++---- drivers/target/target_core_xcopy.c | 3 ++ include/target/target_core_backend.h | 4 ++ 7 files changed, 138 insertions(+), 20 deletions(-)
Signature · 1 line
1.8.3.1