Linux CIFS filesystem development
 help / color / mirror / Atom feed
From: Patrick Noffke <patrick-0qqNeQ6W4hOzQB+pC5nmwQ@public.gmane.org>
To: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: hung system with cifsd, cannot reduce timeout
Date: Thu, 05 Dec 2013 15:36:11 -0600	[thread overview]
Message-ID: <52A0F1CB.5060709@noffke.me> (raw)
In-Reply-To: <52A0EA24.9000600-0qqNeQ6W4hOzQB+pC5nmwQ@public.gmane.org>

On 12/05/2013 03:03 PM, Patrick Noffke wrote:
> Hi,
>
> I did check the cifsd stack (cat /proc/<cifsd PID>/stack) for previous
> tests, and it was waiting on a recv, and its state was SW (not DW).
> Unfortunately, I did not get the stack for this test.
>
I just repeated this test, and this time cifsd was in the SW state.

The stack was as follows:
sk_wait_data
tcp_recvmsg
inet_recvmsg
sock_recvmsg
kernel_recvmsg
cifs_readv_from_socket
cifs_read_from_socket
cifs_readv_discard
cifs_readv_receive
cifs_demultiplex_thread
kthread
ret_from_fork

For this test, my process and ps were hung after the first time pulling 
the cable (I hadn't rebooted from my earlier test, but I think the CIFS 
connection had disconnected due to inactivity).

As before, an Echo Request was sent on a previous connection after 
sending the SYN and Negotiate on a new connection.  The server RST the 
old connection right after the Echo Request, and 115 seconds later RST 
the new connection.  Another new connection was then made, and the 
process resumed and ps completed.

Patrick

  parent reply	other threads:[~2013-12-05 21:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-05 21:03 hung system with cifsd, cannot reduce timeout Patrick Noffke
     [not found] ` <52A0EA24.9000600-0qqNeQ6W4hOzQB+pC5nmwQ@public.gmane.org>
2013-12-05 21:36   ` Patrick Noffke [this message]
     [not found]     ` <52A0F1CB.5060709-0qqNeQ6W4hOzQB+pC5nmwQ@public.gmane.org>
2013-12-06 15:50       ` Patrick Noffke
     [not found]         ` <1774674.CzhmRQMMgZ-J5+zLgb4AZ5BQzcUTsrH4w@public.gmane.org>
2013-12-10 15:15           ` Patrick Noffke
     [not found]             ` <3540393.5GuVZWBWRs-J5+zLgb4AZ5BQzcUTsrH4w@public.gmane.org>
2013-12-14 11:50               ` Jeff Layton
2013-12-31 22:43   ` ISHIKAWA,Chiaki

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=52A0F1CB.5060709@noffke.me \
    --to=patrick-0qqneq6w4hozqb+pc5nmwq@public.gmane.org \
    --cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@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