[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1229537296.7257.37.camel@heimdal.trondhjem.org>
Date: Wed, 17 Dec 2008 13:08:16 -0500
From: Trond Myklebust <Trond.Myklebust@...app.com>
To: Tom Tucker <tom@...ngridcomputing.com>
Cc: Ian Campbell <ijc@...lion.org.uk>, linux-nfs@...r.kernel.org,
Max Kellermann <mk@...all.com>, linux-kernel@...r.kernel.org,
gcosta@...hat.com, Grant Coady <grant_lkml@...o.com.au>,
"J. Bruce Fields" <bfields@...ldses.org>
Subject: Re: [PATCH 1/3] SUNRPC: Ensure the server closes sockets in a
timely fashion
On Wed, 2008-12-17 at 09:27 -0600, Tom Tucker wrote:
> > + if (!test_bit(XPT_LISTENER, &xprt->xpt_flags))
> > + kernel_sock_shutdown(svsk->sk_sock, SHUT_RDWR);
>
> How is this different than what happens as an artifact of sock_release?
The point is that it is independent of whether or not something is
holding a reference to the svc_sock.
--
Trond Myklebust
Linux NFS client maintainer
NetApp
Trond.Myklebust@...app.com
www.netapp.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists