* SUNRPC lients: Pipefs mount races
@ 2012-07-31 11:02 Stanislav Kinsbursky
0 siblings, 0 replies; only message in thread
From: Stanislav Kinsbursky @ 2012-07-31 11:02 UTC (permalink / raw)
To: Trond.Myklebust@netapp.com
Cc: bfields@fieldses.org, linux-nfs@vger.kernel.org, devel@openvz.org
Hello, Trond.
I found one more race in SUNRPC PipeFS mount notification and clients creation.
Now the problem is in SUNRPC clients.
Races are shown below:
CPU#0 CPU#1
------------------------------------ --------------------------------
nfs_create_rpc_client
rpc_create
rpc_new_client
rpc_setup_pipedir (no sb)
rpc_mount
notifier_call(SUNRPC - clnt.c)
rpc_register_client
nfs_idmap_new
nfs_mark_client_ready(NFS_CS_READY)
notifier_call(NFS - idmap.c)
__rpc_pipefs_event
BUG_ON(cl_dentry == NULL)
How would you prefer to fix this?
Looks like we could either try to add SUNRPC client to the list before PipeFS
dentry creation or create the dentry for SUNRPC client from NFS code in
__rpc_pipefs_event() instead of BUG_ON.
--
Best regards,
Stanislav Kinsbursky
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-07-31 11:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-31 11:02 SUNRPC lients: Pipefs mount races Stanislav Kinsbursky
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.