"Martin K. Petersen" writes:
> On Tue, 19 May 2020 22:29:59 -0400, Gabriel Krisman Bertazi wrote:
>
>> iscsi suffers from a deadlock in case a management command submitted via
>> the netlink socket sleeps on an allocation while holding the
>> rx_queue_mutex,
Reviewed-by: Lee Duncan
Signed-off-by: Gabriel Krisman Bertazi
Changes since v1:
- Rebase to v5.8/scsi-queue
---
drivers/scsi/scsi_transport_iscsi.c | 64 +
1 file changed, 47 insertions(+), 17 deletions(-)
diff --git a/drivers/scsi/scsi_transport_iscsi.c
b/d
ase resubmit.
Hi Martin,
Apparently it conflicted with my own code coming from -next. Sorry. I
will resubmit as soon as I finish testing it.
--
Gabriel Krisman Bertazi
--
You received this message because you are subscribed to the Google Groups
"open-iscsi" group.
To unsubscribe from thi
Lee Duncan writes:
> On 5/7/20 10:59 PM, Gabriel Krisman Bertazi wrote:
>> iscsi suffers from a deadlock in case a management command submitted via
>> the netlink socket sleeps on an allocation while holding the
>> rx_queue_mutex, if that allocation causes a memory reclaim
gned-off-by: Gabriel Krisman Bertazi
---
drivers/scsi/scsi_transport_iscsi.c | 67 +
1 file changed, 49 insertions(+), 18 deletions(-)
diff --git a/drivers/scsi/scsi_transport_iscsi.c
b/drivers/scsi/scsi_transport_iscsi.c
index 17a45716a0fe..d99c17306dff 100644
--
ed-off-by: Gabriel Krisman Bertazi
---
Changes since v3:
- Change state type to enum (Bart)
Changes since v2:
- Use designated initializers (Bart)
Changes since v1:
- Remove dependency of state values (Bart)
drivers/scsi/libiscsi.c | 7 ++-
drivers/scsi/scsi_tran
ed-off-by: Gabriel Krisman Bertazi
---
Changes since v3:
- Change state type to enum (Bart)
Changes since v2:
- Use designated initializers (Bart)
Changes since v1:
- Remove dependency of state values (Bart)
drivers/scsi/libiscsi.c | 7 ++-
drivers/scsi/scsi_tran
lflect the connection state.
Cc: Khazhismel Kumykov
Suggested-by: Junho Ryu
Signed-off-by: Gabriel Krisman Bertazi
---
Changes since v2:
- Use designated initializers (Bart)
Changes since v1:
- Remove dependency of state values (Bart)
drivers/scsi/libiscsi.c | 7 ++-
drivers/
Bart Van Assche writes:
> On 3/5/20 7:35 AM, Gabriel Krisman Bertazi wrote:
>> +static const struct {
>> +int value;
>> +char *name;
>> +} connection_state_names[] = {
>> +{ISCSI_CONN_UP, "up"},
>> +{ISCSI_CONN_D
ed-off-by: Gabriel Krisman Bertazi
---
drivers/scsi/libiscsi.c | 7 +-
drivers/scsi/scsi_transport_iscsi.c | 38 -
include/scsi/scsi_transport_iscsi.h | 8 ++
3 files changed, 51 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/libiscs
ed-off-by: Gabriel Krisman Bertazi
---
drivers/scsi/libiscsi.c | 7 ++-
drivers/scsi/scsi_transport_iscsi.c | 29 -
include/scsi/scsi_transport_iscsi.h | 8
3 files changed, 42 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/libiscs
locking
required during the asynchronous removal.
Reviewed-by: Lee Duncan
Co-developed-by: Khazhismel Kumykov
Signed-off-by: Khazhismel Kumykov
Signed-off-by: Frank Mayhar
Co-developed-by: Gabriel Krisman Bertazi
Signed-off-by: Gabriel Krisman Bertazi
---
changes since v1:
- Add -ENOMEM error
locking
required during the asynchronous removal.
Co-developed-by: Khazhismel Kumykov
Signed-off-by: Khazhismel Kumykov
Signed-off-by: Frank Mayhar
Co-developed-by: Gabriel Krisman Bertazi
Signed-off-by: Gabriel Krisman Bertazi
---
drivers/scsi/scsi_transport_iscsi.c | 36
;>
Hey,
Thank you very much for the quick response! I checked here again and I didn't
get the previous email, but I see it made into the ML archive, so my apologies,
it must be something bad on my (or my employer's) setup.
Thanks,
--
Gabriel Krisman Bertazi
--
You received this
by: Junho Ryu
Signed-off-by: Junho Ryu
Co-developed-by: Khazhismel Kumykov
Signed-off-by: Khazhismel Kumykov
Reviewed-by: Reviewed-by: Khazhismel Kumykov
Signed-off-by: Bharath Ravi
Co-developed-by: Gabriel Krisman Bertazi
Signed-off-by: Gabriel Krisman Bertazi
---
drivers/scsi/scsi_tran
locking
required during the asynchronous removal.
Co-developed-by: Khazhismel Kumykov
Signed-off-by: Khazhismel Kumykov
Signed-off-by: Frank Mayhar
Co-developed-by: Gabriel Krisman Bertazi
Signed-off-by: Gabriel Krisman Bertazi
---
This patch requires a patch that just went upstream to apply
Gabriel Krisman Bertazi writes:
> From: Nick Black
>
> Hi,
>
> I thought this was already committed for some reason, until it bit me
> again today. Any opposition to this one?
Hi,
Pinging this patch. Any oposion?
>>8
>
> A faulty userspace that calls destroy_s
g the attribute_container_device_trigger API will not know
whether any, some, or all callbacks succeeded.
This patch implements a safe version of this dispatcher, to either
succeed all the callbacks or revert to the original state.
Signed-off-by: Gabriel Krisman Bertazi
---
drivers
The transport registration may fail. Make sure the errors are
propagated to the callers.
Signed-off-by: Gabriel Krisman Bertazi
---
drivers/base/transport_class.c | 11 ---
include/linux/transport_class.h | 6 +++---
2 files changed, 11 insertions(+), 6 deletions(-)
diff --git a
what you think.
Gabriel Krisman Bertazi (3):
drivers: base: Support atomic version of
attribute_container_device_trigger
drivers: base: Propagate errors through the transport component
iscsi: Fail session and connection on transport registration failure
drivers/base/attribute_contai
annot remove the session afterwards, since the kernel is in an
inconsistent state.
root@debian-vm:~# iscsiadm -m node -T iqn:lun1 -p 127.0.0.1 -u
iscsiadm: No matching sessions found
Signed-off-by: Gabriel Krisman Bertazi
---
drivers/scsi/scsi_transport_iscsi.c | 18 --
1
Pomazau
Co-developed-by: Tahsin Erdogan
Signed-off-by: Tahsin Erdogan
Co-developed-by: Frank Mayhar
Signed-off-by: Frank Mayhar
Co-developed-by: Junho Ryu
Signed-off-by: Junho Ryu
Co-developed-by: Khazhismel Kumykov
Signed-off-by: Khazhismel Kumykov
Signed-off-by: Bharath Ra
Khazhismel Kumykov writes:
> On Thu, Dec 26, 2019 at 3:48 PM Gabriel Krisman Bertazi
> wrote:
>>
>> From: Bharath Ravi
>>
>> Connection failure processing depends on a daemon being present to (at
>> least) stop the connection and start recovery. This is
y: Gabriel Krisman Bertazi
Signed-off-by: Gabriel Krisman Bertazi
---
drivers/scsi/scsi_transport_iscsi.c | 63 +
include/scsi/scsi_transport_iscsi.h | 1 +
2 files changed, 64 insertions(+)
diff --git a/drivers/scsi/scsi_transport_iscsi.c
b/drivers/scsi/scsi_transpo
ace a2d933ede7f730d8 ]---
Co-developed-by: Salman Qazi
Signed-off-by: Salman Qazi
Co-developed-by: Junho Ryu
Signed-off-by: Junho Ryu
Co-developed-by: Khazhismel Kumykov
Signed-off-by: Khazhismel Kumykov
Signed-off-by: Nick Black
Co-developed-by: Gabriel Krisman Bertazi
Signed-off-by: Gabriel Kris
ed-by: Tahsin Erdogan
Signed-off-by: Tahsin Erdogan
Co-developed-by: Frank Mayhar
Signed-off-by: Frank Mayhar
Co-developed-by: Junho Ryu
Signed-off-by: Junho Ryu
Co-developed-by: Khazhismel Kumykov
Signed-off-by: Khazhismel Kumykov
Signed-off-by: Bharath Ravi
Co-developed-by: Gabriel Krisman Be
Lee Duncan writes:
> On 12/9/19 10:20 AM, Gabriel Krisman Bertazi wrote:
>> From: Bharath Ravi
>>
>> Connection failure processing depends on a daemon being present to (at
>> least) stop the connection and start recovery. This is a problem on a
>> multip
ff-by: Bharath Ravi
Co-developed-by: Gabriel Krisman Bertazi
Signed-off-by: Gabriel Krisman Bertazi
---
drivers/scsi/scsi_transport_iscsi.c | 46 +
include/scsi/scsi_transport_iscsi.h | 1 +
2 files changed, 47 insertions(+)
diff --git a/drivers/scsi/scsi_transport_iscsi
l
make sure to CC the right list in the future.
Although, looks like the MAINTAINERS file doesn't list linux-scsi as the
target for iscsi patches. Would you take the fix below to address that?
Thanks,
-- >8 --
From: Gabriel Krisman Bertazi
Subject: [PATCH] MAINTAINERS: Add the linux-s
Ryu
Co-developed-by: Khazhismel Kumykov
Signed-off-by: Khazhismel Kumykov
Signed-off-by: Nick Black
Co-developed-by: Gabriel Krisman Bertazi
Signed-off-by: Gabriel Krisman Bertazi
---
drivers/scsi/iscsi_tcp.c| 4
drivers/scsi/scsi_transport_iscsi.c | 26
: Gabriel Krisman Bertazi
Signed-off-by: Gabriel Krisman Bertazi
---
drivers/scsi/iscsi_tcp.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/scsi/iscsi_tcp.c b/drivers/scsi/iscsi_tcp.c
index cea7fda1dd23..b5dd1caae5e9 100644
--- a/drivers/scsi/iscsi_tcp.c
+++ b/drivers/scsi
31 matches
Mail list logo