linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bart Van Assche <bvanassche-HInyCGIudOg@public.gmane.org>
To: Vu Pham <vu-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Cc: Or Gerlitz <or.gerlitz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	David Dillow <dave-i1Mk8JYDVaaSihdK6806/g@public.gmane.org>,
	Roland Dreier <roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	"linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Or Gerlitz <ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
	Oren Duer <oren-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
	Sagi Grimberg <sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH for 3.8 v3, resend 0/3] IB/SRP patches for kernel 3.8
Date: Thu, 07 Feb 2013 10:05:56 +0100	[thread overview]
Message-ID: <51136E74.9090209@acm.org> (raw)
In-Reply-To: <5112CE60.2030607-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>

On 02/06/13 22:42, Vu Pham wrote:
> Conclusion:
> 1. disable the port/path long enough >35 minutes, we have dangling scsi
> host.
> 2. enable the port within 30 minute, scsi host re-establish connection,
> path re-instate and then scsi_host was removed (no entry in sysfs)
>
> I attached a log here to show what happened above.

Hello Vu,

I found the following in the attached logs:

[ ... ]
Feb  6 19:24:25 vsa30 kernel: scsi host10: ib_srp: SRP reset_host called
[ ... ]
Feb  6 19:25:28 vsa30 kernel: scsi host10: SRP abort called
[ ... ]

It is easy to see in patch 3/3 that srp_reset_host() invokes 
srp_reconnect_target() unconditionally and that that last function kills 
all outstanding requests via srp_reset_req(). So to me the above output 
means that the attached logs were generated by a kernel missing at least 
patch 3/3. This means that the above conclusions are invalid.

I think it is also worth mentioning here that I asked Mellanox two 
months ago via private e-mail to provide me access to a setup on which 
this issue can be reproduced and on which I can recompile the kernel 
myself. However, such access was never provided.

Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2013-02-07  9:05 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-01 15:18 [PATCH for 3.8 v3, resend 0/3] IB/SRP patches for kernel 3.8 Bart Van Assche
     [not found] ` <510BDCAA.204-HInyCGIudOg@public.gmane.org>
2013-02-01 15:18   ` [PATCH for 3.8 v3, resend 1/3] IB/srp: Track connection state properly Bart Van Assche
2013-02-01 15:19   ` [PATCH for 3.8 v3, resend 2/3] IB/srp: Avoid sending a task management function needlessly Bart Van Assche
2013-02-01 15:21   ` [PATCH for 3.8 v3, resend 3/3] IB/srp: Avoid endless SCSI error handling loop Bart Van Assche
2013-02-04 21:11   ` [PATCH for 3.8 v3, resend 0/3] IB/SRP patches for kernel 3.8 Or Gerlitz
     [not found]     ` <CAJZOPZLKQV0QvrW5sK8hQJf7AZc+1nUzp+5YCkZ3iVU4oTWbLg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-02-05 16:25       ` Bart Van Assche
     [not found]         ` <5111327F.6050402-HInyCGIudOg@public.gmane.org>
2013-02-05 20:54           ` Or Gerlitz
     [not found]             ` <CAJZOPZ+-Zg=jnqg4ZmFL5Yo4_2DoWGcgy=3u6g3Rf9y80pXnpg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-02-06  7:22               ` Bart Van Assche
     [not found]                 ` <5112049B.8030406-HInyCGIudOg@public.gmane.org>
2013-02-06  7:44                   ` Or Gerlitz
     [not found]                     ` <511209E5.1010807-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-02-06  7:59                       ` Bart Van Assche
     [not found]                         ` <51120D4F.2070102-HInyCGIudOg@public.gmane.org>
2013-02-06  8:25                           ` Or Gerlitz
2013-02-06 21:42                   ` Vu Pham
     [not found]                     ` <5112CE60.2030607-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-02-07  9:05                       ` Bart Van Assche [this message]
     [not found]                         ` <51136E74.9090209-HInyCGIudOg@public.gmane.org>
2013-02-07  9:41                           ` Or Gerlitz
     [not found]                             ` <511376C2.6050100-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-02-07 10:15                               ` Bart Van Assche
2013-02-07 18:20                           ` Vu Pham
     [not found]                             ` <5113F056.4020501-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-02-15  9:39                               ` [PATCH] IB/srp: Fail I/O requests if the transport is offline Bart Van Assche
     [not found]                                 ` <511E024E.70002-HInyCGIudOg@public.gmane.org>
2013-02-18  4:06                                   ` David Dillow
     [not found]                                     ` <1361160385.7415.2.camel-1q1vX8mYZiGLUyTwlgNVppKKF0rrzTr+@public.gmane.org>
2013-02-18  8:11                                       ` Sagi Grimberg
     [not found]                                         ` <5121E217.3080003-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-02-24  8:09                                           ` Bart Van Assche
     [not found]                                             ` <5129CAB6.5030506-HInyCGIudOg@public.gmane.org>
2013-02-24  8:59                                               ` Sagi Grimberg
     [not found]                                                 ` <5129D665.3070206-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-02-24 14:42                                                   ` Or Gerlitz
2013-02-21 16:10                                       ` Bart Van Assche

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51136E74.9090209@acm.org \
    --to=bvanassche-hinycgiudog@public.gmane.org \
    --cc=dave-i1Mk8JYDVaaSihdK6806/g@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=or.gerlitz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=oren-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=vu-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).