RE: Race condition in Kernel

2021-04-01 Thread Gulam Mohamed
Hi Ming, Thanks for taking a look into this. Can you please see my inline comments in below mail? Regards, Gulam Mohamed. -Original Message- From: Ming Lei Sent: Thursday, March 25, 2021 7:16 AM To: Gulam Mohamed Cc: h...@infradead.org; linux-kernel@vger.kernel.org; linux-bl

Race condition in Kernel

2021-03-24 Thread Gulam Mohamed
ir`; do if [ ! -e $dir/$i ]; then echo "broken link: $dir/$i" exit 1 fi done parted /dev/sdb -s print iscsiadm -m node -T iqn.2016-01.com.example:target2 -p 100.100.242.162:3260 -u iter_count=`expr $iter_count + 1` done Regards, Gulam Mohamed.

RE: [PATCH] iscsi: Do Not set param when sock is NULL

2021-01-07 Thread Gulam Mohamed
nnect and stop_conn set this flag to indicate set_param calls for connection level settings should fail 3. This way, scsi_transport_iscsi can set and check this bit for all drivers 2. On bind_conn clear the bit Signed-off-by: Gulam Mohamed --- drivers/scsi/scsi_transport_iscsi.c |

RE: [PATCH] iscsi: Do Not set param when sock is NULL

2020-11-16 Thread Gulam Mohamed
Gentle reminder. Regards, Gulam Mohamed. -Original Message- From: Gulam Mohamed Sent: Thursday, November 5, 2020 11:11 AM To: Lee Duncan ; Chris Leech ; James E.J. Bottomley ; Martin K. Petersen ; open-is...@googlegroups.com; linux-s...@vger.kernel.org; linux-kernel@vger.kernel.org

[PATCH] iscsi: Do Not set param when sock is NULL

2020-11-04 Thread Gulam Mohamed
ll be invoked in user-space again to recover the session Signed-off-by: Gulam Mohamed Reviewed-by: Junxiao Bi --- diff --git a/drivers/scsi/iscsi_tcp.c b/drivers/scsi/iscsi_tcp.c index df47557a02a3..fd668a194053 100644 --- a/drivers/scsi/iscsi_tcp.c +++ b/drivers/scsi/iscsi_tcp.c @@ -711,6 +711,12

[PATCH] scsi: Correct-the-type-of-arg-to-scsi_host_lookup

2020-05-15 Thread Gulam Mohamed
. Also change the data type of local variable hostnum of the function __scsi_host_match() to unsigned int. Signed-off-by: Gulam Mohamed Reviewed-by: Joe Jin Reviewed-by: Fred Herard --- drivers/scsi/hosts.c | 4 ++-- include/scsi/scsi_host.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions