Thread (30 messages) 30 messages, 6 authors, 2012-05-28

Re: [PATCH 4/5] NFS: remove RPC PipeFS mount point reference from blocklayout routines

From: Peng Tao <hidden>
Date: 2011-11-29 17:30:50
Also in: linux-nfs, lkml

On Wed, Nov 30, 2011 at 1:19 AM, Trond Myklebust
[off-list ref] wrote:
On Tue, 2011-11-29 at 11:42 -0500, J. Bruce Fields wrote:
quoted
On Tue, Nov 29, 2011 at 11:40:30AM -0500, Trond Myklebust wrote:
quoted
I mean that I'm perfectly entitled to do

'modprobe -r blocklayoutdriver'

and when I do that, then I expect blkmapd to close the rpc pipe and wait
for a new one to be created just like rpc.idmapd and rpc.gssd do when I
remove the nfs and sunrpc modules.
The rpc pipefs mount doesn't hold a reference on the sunrpc module?
I stand corrected: the mount does hold a reference to the sunrpc
module.
However nothing holds a reference to the blocklayoutdriver module, so
the main point that the "blocklayout" pipe can disappear from underneath
the blkmapd stands.
Thanks for the explanation and I agree it can cause problem if user
reload blocklayout module. I will look into a fix to blkmapd.

Best,
Tao
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help