From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Jeff Layton <jlayton@redhat.com>
Cc: "Srivatsa S. Bhat" <srivatsa.bhat@linux.vnet.ibm.com>,
Woody Suwalski <terraluna977@gmail.com>,
LKML <linux-kernel@vger.kernel.org>,
Linux PM mailing list <linux-pm@vger.kernel.org>,
Tejun Heo <tj@kernel.org>,
Belisko Marek <marek.belisko@gmail.com>,
linux-cifs@vger.kernel.org
Subject: Re: CIFS mount: 3.2.0-rc3 suspend crash
Date: Tue, 6 Dec 2011 22:33:50 +0100 [thread overview]
Message-ID: <201112062233.50317.rjw@sisk.pl> (raw)
In-Reply-To: <20111130062502.68d9db59@tlielax.poochiereds.net>
On Wednesday, November 30, 2011, Jeff Layton wrote:
> On Wed, 30 Nov 2011 11:03:59 +0530
> "Srivatsa S. Bhat" <srivatsa.bhat@linux.vnet.ibm.com> wrote:
[...]
>
> cifs: attempt to freeze while looping on a receive attempt
>
> In the recent overhaul of the demultiplex thread receive path, we
> neglected to ensure that we attempt to freeze on each pass through the
> loop.
>
> Reported-by: Woody Suwalski <terraluna977@gmail.com>
> Signed-off-by: Jeff Layton <jlayton@redhat.com>
I suppose this patch is going to go through the CIFS tree?
Rafael
> ---
> fs/cifs/connect.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
> index bf82f88..d166e3a 100644
> --- a/fs/cifs/connect.c
> +++ b/fs/cifs/connect.c
> @@ -441,6 +441,8 @@ cifs_readv_from_socket(struct TCP_Server_Info *server, struct kvec *iov_orig,
> smb_msg.msg_controllen = 0;
>
> for (total_read = 0; to_read; total_read += length, to_read -= length) {
> + try_to_freeze();
> +
> if (server_unresponsive(server)) {
> total_read = -EAGAIN;
> break;
>
next prev parent reply other threads:[~2011-12-06 21:30 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-29 23:34 Woody Suwalski
2011-11-30 5:33 ` Srivatsa S. Bhat
2011-11-30 11:25 ` Jeff Layton
2011-11-30 22:34 ` Woody Suwalski
2011-12-01 11:33 ` Jeff Layton
2011-12-01 17:11 ` Srivatsa S. Bhat
2011-12-01 17:30 ` Srivatsa S. Bhat
2011-12-01 18:17 ` Srivatsa S. Bhat
2011-12-01 18:59 ` Jeff Layton
2011-12-01 20:10 ` Srivatsa S. Bhat
2011-12-01 21:01 ` Jeff Layton
2011-12-01 22:32 ` Steve French
2011-12-01 23:15 ` Woody Suwalski
2011-12-01 23:40 ` Woody Suwalski
2011-12-02 12:49 ` Srivatsa S. Bhat
2011-12-05 17:41 ` Tejun Heo
2011-12-05 18:09 ` Srivatsa S. Bhat
2011-12-05 18:31 ` Steve French
2011-12-06 21:33 ` Rafael J. Wysocki [this message]
2011-12-06 21:38 ` Jeff Layton
2011-12-07 2:57 ` Steve French
2011-12-07 3:45 ` Srivatsa S. Bhat
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=201112062233.50317.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=jlayton@redhat.com \
--cc=linux-cifs@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=marek.belisko@gmail.com \
--cc=srivatsa.bhat@linux.vnet.ibm.com \
--cc=terraluna977@gmail.com \
--cc=tj@kernel.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
Powered by JetHome