iscsi-scst: Add a hint what to look for if no userspace process is connected

Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
[ bvanassche: edited description and patch ]
This commit is contained in:
Konstantin Kharlamov
2020-05-13 13:01:04 +03:00
committed by Bart Van Assche
parent af1dfc9873
commit 054c738f63

View File

@@ -435,7 +435,7 @@ ssize_t iscsi_sysfs_send_event(uint32_t tid, enum iscsi_kern_event_code code,
TRACE_ENTRY();
if (ctr_open_state != ISCSI_CTR_OPEN_STATE_OPEN) {
PRINT_ERROR("%s", "User space process not connected");
PRINT_ERROR("User space process is not connected. Is iscsi-scstd running?");
res = -EPERM;
goto out;
}
@@ -627,4 +627,3 @@ const struct attribute *iscsi_acg_attrs[] = {
&iscsi_acg_attr_sess_dedicated_threads.attr,
NULL,
};