Re: [PATCH 11/19] IB/srpt: Avoid that aborting a command triggers a kernel warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/05/2017 12:50 AM, Bart Van Assche wrote:
> Avoid that the following warning is triggered:
> 
> WARNING: CPU: 10 PID: 166 at ../drivers/infiniband/ulp/srpt/ib_srpt.c:2674 srpt_release_cmd+0x139/0x140 [ib_srpt]
> CPU: 10 PID: 166 Comm: kworker/u24:8 Not tainted 4.9.4-1-default #1
> Workqueue: tmr-fileio target_tmr_work [target_core_mod]
> Call Trace:
>  [<ffffffffaa3c4f70>] dump_stack+0x63/0x83
>  [<ffffffffaa0844eb>] __warn+0xcb/0xf0
>  [<ffffffffaa0845dd>] warn_slowpath_null+0x1d/0x20
>  [<ffffffffc06ba429>] srpt_release_cmd+0x139/0x140 [ib_srpt]
>  [<ffffffffc06e4377>] target_release_cmd_kref+0xb7/0x120 [target_core_mod]
>  [<ffffffffc06e4d7f>] target_put_sess_cmd+0x2f/0x60 [target_core_mod]
>  [<ffffffffc06e15e0>] core_tmr_lun_reset+0x340/0x790 [target_core_mod]
>  [<ffffffffc06e4816>] target_tmr_work+0xe6/0x140 [target_core_mod]
>  [<ffffffffaa09e4d3>] process_one_work+0x1f3/0x4d0
>  [<ffffffffaa09e7f8>] worker_thread+0x48/0x4e0
>  [<ffffffffaa09e7b0>] ? process_one_work+0x4d0/0x4d0
>  [<ffffffffaa0a46da>] kthread+0xca/0xe0
>  [<ffffffffaa0a4610>] ? kthread_park+0x60/0x60
>  [<ffffffffaa71b775>] ret_from_fork+0x25/0x30
> 
> Signed-off-by: Bart Van Assche <bart.vanassche@xxxxxxxxxxx>
> Cc: Doug Ledford <dledford@xxxxxxxxxx>
> Cc: Hannes Reinecke <hare@xxxxxxxx>
> Cc: Christoph Hellwig <hch@xxxxxx>
> Cc: David Disseldorp <ddiss@xxxxxxx>
> ---
>  drivers/infiniband/ulp/srpt/ib_srpt.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
Reviewed-by: Hannes Reinecke <hare@xxxxxxxx>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		               zSeries & Storage
hare@xxxxxxxx			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux