Saurav Kashyap
5239ab63f1
scsi: qedf: Fix refcount issue when LOGO is received during TMF
...
Hung task call trace was seen during LOGO processing.
[ 974.309060] [0000:00:00.0]:[qedf_eh_device_reset:868]: 1:0:2:0: LUN RESET Issued...
[ 974.309065] [0000:00:00.0]:[qedf_initiate_tmf:2422]: tm_flags 0x10 sc_cmd 00000000c16b930f op = 0x2a target_id = 0x2 lun=0
[ 974.309178] [0000:00:00.0]:[qedf_initiate_tmf:2431]: portid=016900 tm_flags =LUN RESET
[ 974.309222] [0000:00:00.0]:[qedf_initiate_tmf:2438]: orig io_req = 00000000ec78df8f xid = 0x180 ref_cnt = 1.
[ 974.309625] host1: rport 016900: Received LOGO request while in state Ready
[ 974.309627] host1: rport 016900: Delete port
[ 974.309642] host1: rport 016900: work event 3
[ 974.309644] host1: rport 016900: lld callback ev 3
[ 974.313243] [0000:61:00.2]:[qedf_execute_tmf:2383]:1: fcport is uploading, not executing flush.
[ 974.313295] [0000:61:00.2]:[qedf_execute_tmf:2400]:1: task mgmt command success...
[ 984.031088] INFO: task jbd2/dm-15-8:7645 blocked for more than 120 seconds.
[ 984.031136] Not tainted 4.18.0-305.el8.x86_64 #1
[ 984.031166] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 984.031209] jbd2/dm-15-8 D 0 7645 2 0x80004080
[ 984.031212] Call Trace:
[ 984.031222] __schedule+0x2c4/0x700
[ 984.031230] ? unfreeze_partials.isra.83+0x16e/0x1a0
[ 984.031233] ? bit_wait_timeout+0x90/0x90
[ 984.031235] schedule+0x38/0xa0
[ 984.031238] io_schedule+0x12/0x40
[ 984.031240] bit_wait_io+0xd/0x50
[ 984.031243] __wait_on_bit+0x6c/0x80
[ 984.031248] ? free_buffer_head+0x21/0x50
[ 984.031251] out_of_line_wait_on_bit+0x91/0xb0
[ 984.031257] ? init_wait_var_entry+0x50/0x50
[ 984.031268] jbd2_journal_commit_transaction+0x112e/0x19f0 [jbd2]
[ 984.031280] kjournald2+0xbd/0x270 [jbd2]
[ 984.031284] ? finish_wait+0x80/0x80
[ 984.031291] ? commit_timeout+0x10/0x10 [jbd2]
[ 984.031294] kthread+0x116/0x130
[ 984.031300] ? kthread_flush_work_fn+0x10/0x10
[ 984.031305] ret_from_fork+0x1f/0x40
There was a ref count issue when LOGO is received during TMF. This leads to
one of the I/Os hanging with the driver. Fix the ref count.
Link: https://lore.kernel.org/r/20220117135311.6256-3-njavali@marvell.com
Signed-off-by: Saurav Kashyap <skashyap@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2022-01-24 23:30:26 -05:00
..
2022-01-05 00:23:47 -05:00
2022-01-05 00:55:38 -05:00
2021-10-18 12:28:53 -07:00
2021-10-16 21:45:54 -04:00
2021-10-16 21:32:16 -04:00
2021-10-16 21:45:54 -04:00
2021-11-29 23:02:14 -05:00
2021-10-16 21:45:54 -04:00
2021-10-16 21:45:55 -04:00
2021-10-16 21:45:55 -04:00
2021-08-13 17:49:05 -07:00
2021-10-16 21:45:55 -04:00
2021-07-29 21:58:35 -04:00
2020-03-11 23:07:59 -04:00
2022-01-24 23:30:23 -05:00
2021-10-16 21:28:46 -04:00
2021-10-18 22:38:34 -04:00
2021-10-16 21:45:55 -04:00
2022-01-07 09:09:39 -05:00
2021-11-05 08:42:02 -07:00
2021-10-04 23:27:38 -04:00
2021-10-16 21:45:56 -04:00
2021-10-16 21:28:48 -04:00
2021-12-22 23:38:31 -05:00
2022-01-23 06:20:44 +02:00
2022-01-14 14:37:34 +01:00
2022-01-05 00:34:41 -05:00
2022-01-22 10:24:02 +02:00
2021-12-22 23:38:29 -05:00
2022-01-10 11:03:42 -05:00
2022-01-22 10:24:02 +02:00
2022-01-24 23:30:26 -05:00
2021-12-16 22:38:19 -05:00
2021-12-16 22:48:33 -05:00
2021-12-06 22:17:19 -05:00
2021-10-16 21:45:59 -04:00
2021-12-22 23:43:23 -05:00
2021-10-16 21:32:16 -04:00
2022-01-24 23:30:25 -05:00
2020-03-25 11:50:48 +01:00
2021-10-16 21:45:53 -04:00
2021-05-15 18:01:34 -04:00
2021-10-16 21:45:53 -04:00
2021-01-22 21:14:08 -05:00
2021-10-18 22:38:34 -04:00
2021-01-22 21:14:07 -05:00
2021-10-16 21:45:54 -04:00
2021-05-07 00:26:34 -07:00
2021-11-29 23:02:13 -05:00
2020-06-09 09:39:13 -07:00
2020-06-09 09:39:13 -07:00
2021-10-16 21:32:16 -04:00
2021-10-16 21:32:16 -04:00
2021-10-19 14:07:19 -04:00
2021-01-13 00:14:07 -05:00
2021-10-16 21:32:16 -04:00
2020-11-23 22:12:09 -05:00
2021-11-29 23:02:13 -05:00
2021-01-22 21:14:08 -05:00
2021-10-16 21:32:16 -04:00
2021-05-14 22:19:04 -04:00
2022-01-14 14:37:34 +01:00
2021-06-02 23:09:39 -04:00
2021-11-29 23:02:14 -05:00
2021-01-22 21:14:10 -05:00
2021-10-16 21:32:16 -04:00
2020-03-11 23:07:59 -04:00
2021-10-16 21:32:16 -04:00
2019-12-19 22:08:51 -05:00
2021-01-26 07:42:27 +01:00
2021-10-16 21:28:47 -04:00
2020-07-08 01:12:44 -04:00
2021-06-02 01:37:04 -04:00
2021-01-26 07:42:27 +01:00
2020-06-09 09:39:13 -07:00
2021-11-18 22:26:58 -05:00
2021-04-01 22:52:40 -04:00
2021-12-13 23:34:01 -05:00
2020-09-02 22:49:06 -04:00
2021-10-16 21:45:55 -04:00
2021-10-16 21:32:16 -04:00
2021-12-22 23:41:53 -05:00
2021-01-22 21:14:10 -05:00
2021-10-16 21:45:56 -04:00
2021-06-29 16:46:08 -04:00
2021-10-16 21:32:16 -04:00
2021-05-07 00:26:34 -07:00
2020-06-02 21:23:47 -04:00
2021-06-02 01:28:20 -04:00
2021-04-13 00:20:48 -04:00
2021-07-28 22:24:27 -04:00
2021-08-30 10:18:25 +02:00
2021-02-08 22:39:03 -05:00
2021-12-22 23:03:59 -05:00
2021-10-16 21:32:16 -04:00
2020-10-02 21:52:53 -04:00
2020-12-07 20:24:09 -05:00
2021-08-23 23:07:05 -04:00
2022-01-07 09:19:51 -05:00
2021-10-16 21:32:16 -04:00
2020-06-09 09:39:13 -07:00
2021-10-16 21:29:15 -04:00
2020-03-11 23:07:56 -04:00
2021-12-22 23:42:23 -05:00
2020-01-02 21:57:44 -05:00
2021-12-22 23:42:53 -05:00
2020-01-02 21:57:44 -05:00
2021-10-16 21:45:57 -04:00
2021-01-22 21:14:12 -05:00
2021-10-16 21:28:44 -04:00
2020-12-07 20:24:09 -05:00
2021-10-16 21:32:16 -04:00
2021-12-22 23:44:12 -05:00
2021-05-21 16:59:33 -04:00
2021-10-16 21:32:16 -04:00
2021-10-16 21:32:16 -04:00
2021-10-16 21:32:16 -04:00
2020-01-15 23:09:11 -05:00
2021-10-16 21:32:16 -04:00
2021-10-16 21:32:16 -04:00
2021-11-29 06:41:29 -07:00
2021-07-28 22:24:27 -04:00
2021-12-06 22:04:35 -05:00
2021-11-29 23:02:13 -05:00
2021-07-21 23:49:02 -04:00
2021-03-24 23:03:43 -04:00
2022-01-14 14:37:34 +01:00
2021-11-29 06:41:29 -07:00
2022-01-22 10:24:02 +02:00
2021-11-29 06:41:29 -07:00
2019-12-19 22:08:54 -05:00
2021-12-22 23:38:29 -05:00
2021-11-29 23:02:15 -05:00
2022-01-22 08:33:37 +02:00
2021-11-29 23:02:13 -05:00
2021-12-16 22:38:19 -05:00
2020-03-16 22:08:36 -04:00
2021-08-11 22:25:37 -04:00
2021-11-16 19:42:30 -05:00
2021-10-19 14:07:19 -04:00
2021-08-11 22:25:37 -04:00
2021-04-05 23:14:53 -04:00
2021-12-06 22:30:32 -05:00
2021-05-06 19:24:11 -07:00
2021-10-18 06:17:02 -06:00
2022-01-14 14:37:34 +01:00
2022-01-22 10:24:02 +02:00
2021-10-26 21:01:48 -06:00
2020-09-15 20:28:06 -04:00
2021-09-28 22:42:06 -04:00
2022-01-22 08:33:35 +02:00
2020-09-25 06:20:44 +02:00
2021-03-18 22:52:29 -04:00
2021-05-07 00:26:34 -07:00
2021-09-13 22:15:49 -04:00
2021-12-22 23:41:13 -05:00
2022-01-14 14:37:34 +01:00
2020-02-24 15:01:57 -05:00
2021-11-29 06:41:29 -07:00
2021-08-23 12:54:30 -06:00
2021-10-16 21:32:16 -04:00
2022-01-10 12:33:47 +00:00
2021-08-11 22:25:41 -04:00
2021-04-13 00:20:48 -04:00
2020-10-02 21:52:55 -04:00
2022-01-18 10:05:48 +02:00
2021-12-22 23:17:27 -05:00
2021-03-04 17:21:25 -05:00
2021-10-16 21:32:16 -04:00
2021-10-16 21:31:43 -04:00
2021-10-16 21:31:43 -04:00
2021-08-30 10:18:25 +02:00
2020-06-09 09:39:13 -07:00