Hello Bart, > On Jun 11, 2019, at 12:27 PM, Bart Van Assche <bvanassche@xxxxxxx> wrote: > > On 6/11/19 11:12 AM, Himanshu Madhani wrote: >> I am running into issue with this series applied on my tree while executing abort path. >> >> Investigating if the issue is introduced by this series or not. >> >> stack trace does not have qla2xxx signature but since this series has changes for abort path I am holding off on providing >> ACK on this series until we fully understand what is triggering issue. > > Hi Himanshu, > > Can you share that stack trace such that I can help analyzing it? > > You may want to know that I have another patch series ready with bug > fixes that I have not yet posted because I was waiting for feedback on > this patch series. > > Thanks, > > Bart. > Here’s command that I am running in my script # sg_reset -b /dev/mapper/mpathb sg_reset: SG_SCSI_RESET failed: Resource temporarily unavailable # sg_reset -H /dev/mapper/mpathb sg_reset: SG_SCSI_RESET failed: Resource temporarily unavailable # sg_reset -b /dev/mapper/mpathb sg_reset: SG_SCSI_RESET failed: Resource temporarily unavailable Here’s stack trace after applying your patch series 10:59:48.953 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: INFO: task java:37924 blocked for more than 122 seconds. 10:59:48.953 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: Tainted: G W OE 5.2.0-rc3+ #26 10:59:48.953 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. 10:59:48.953 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: java D 0 37924 37229 0x00000080 10:59:48.953 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: Call Trace: 10:59:48.953 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ? __schedule+0x2a9/0x650 10:59:48.953 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: schedule+0x33/0x90 10:59:48.953 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: io_schedule+0x12/0x40 10:59:48.953 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: __blkdev_direct_IO_simple+0x234/0x420 10:59:48.953 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ? __switch_to_asm+0x34/0x70 10:59:48.953 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ? __switch_to_asm+0x40/0x70 10:59:48.953 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ? __switch_to_asm+0x34/0x70 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ? __switch_to+0x108/0x3f0 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ? __switch_to_asm+0x34/0x70 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ? blkdev_iopoll+0x30/0x30 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: blkdev_direct_IO+0x42e/0x4a0 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ? current_time+0x46/0x80 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ? atime_needs_update+0x6c/0xd0 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: generic_file_read_iter+0xb1/0xc70 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ? blk_finish_plug+0x27/0x40 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ? blkdev_write_iter+0xb2/0x120 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: new_sync_read+0x118/0x1c0 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: vfs_read+0x89/0x140 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ksys_pread64+0x62/0x90 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: do_syscall_64+0x5b/0x1b0 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: entry_SYSCALL_64_after_hwframe+0x44/0xa9 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: RIP: 0033:0x7f351008f013 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: Code: Bad RIP value. 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: RSP: 002b:00007f3417dfc7b0 EFLAGS: 00000293 ORIG_RAX: 0000000000000011 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f351008f013 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: RDX: 0000000000001000 RSI: 00007f340c001000 RDI: 000000000000000e 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: RBP: 00007f3417dfc940 R08: 00007f340c001000 R09: 00007ffc8d1eb0a0 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: R10: 0000000000d7c000 R11: 0000000000000293 R12: 0000000000000000 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: R13: 0000000000000001 R14: 00007f3417dfc9f8 R15: 00007f3434017a40 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: INFO: task java:37925 blocked for more than 122 seconds. 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: Tainted: G W OE 5.2.0-rc3+ #26 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: java D 0 37925 37229 0x00000080 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: Call Trace: 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ? __schedule+0x2a9/0x650 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: schedule+0x33/0x90 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: io_schedule+0x12/0x40 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: __blkdev_direct_IO_simple+0x234/0x420 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ? __switch_to_asm+0x34/0x70 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ? __switch_to_asm+0x40/0x70 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ? common_interrupt+0xa/0xf 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ? call_function_single_interrupt+0xa/0x20 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ? blkdev_iopoll+0x30/0x30 10:59:48.954 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: blkdev_direct_IO+0x42e/0x4a0 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ? current_time+0x46/0x80 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ? atime_needs_update+0x6c/0xd0 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: generic_file_direct_write+0xcb/0x170 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: __generic_file_write_iter+0xb7/0x1c0 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: blkdev_write_iter+0x9b/0x120 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: new_sync_write+0x11e/0x1a0 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: vfs_write+0xad/0x1b0 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ksys_pwrite64+0x62/0x90 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: do_syscall_64+0x5b/0x1b0 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: entry_SYSCALL_64_after_hwframe+0x44/0xa9 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: RIP: 0033:0x7f351008f073 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: Code: Bad RIP value. 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: RSP: 002b:00007f3417bfa7b0 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f351008f073 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: RDX: 0000000000001000 RSI: 00007f3400003000 RDI: 000000000000000e 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: RBP: 00007f3417bfa940 R08: 00007f3400003000 R09: 00007ffc8d1eb0a0 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: R10: 00000000006ec000 R11: 0000000000000293 R12: 0000000000000000 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: R13: 0000000000000001 R14: 00007f3417bfa9f8 R15: 00007f343401aa80 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: INFO: task java:37926 blocked for more than 122 seconds. 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: Tainted: G W OE 5.2.0-rc3+ #26 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: java D 0 37926 37229 0x00000080 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: Call Trace: 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ? __schedule+0x2a9/0x650 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: schedule+0x33/0x90 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: io_schedule+0x12/0x40 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: __blkdev_direct_IO_simple+0x234/0x420 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ? __switch_to_asm+0x34/0x70 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ? __switch_to_asm+0x40/0x70 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ? __switch_to_asm+0x34/0x70 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ? __switch_to+0x108/0x3f0 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ? __switch_to_asm+0x34/0x70 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ? blkdev_iopoll+0x30/0x30 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: blkdev_direct_IO+0x42e/0x4a0 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ? current_time+0x46/0x80 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ? atime_needs_update+0x6c/0xd0 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: generic_file_direct_write+0xcb/0x170 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: __generic_file_write_iter+0xb7/0x1c0 10:59:48.955 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: blkdev_write_iter+0x9b/0x120 10:59:48.956 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: new_sync_write+0x11e/0x1a0 10:59:48.956 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: vfs_write+0xad/0x1b0 10:59:48.956 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: ksys_pwrite64+0x62/0x90 10:59:48.956 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: do_syscall_64+0x5b/0x1b0 10:59:48.956 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: entry_SYSCALL_64_after_hwframe+0x44/0xa9 10:59:48.956 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: RIP: 0033:0x7f351008f073 10:59:48.956 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: Code: Bad RIP value. 10:59:48.956 /var/log/messages: Jun 11 10:59:47 dut5108 kernel: RSP: 002b:00007f3417af97b0 EFLAGS: 00000293 ORIG_RAX: 0000000000000012