From: Kirill Tkhai <ktkhai@virtuozzo.com>
To: davem@davemloft.net, trond.myklebust@primarydata.com,
anna.schumaker@netapp.com, bfields@fieldses.org,
jlayton@kernel.org, dhowells@redhat.com, ktkhai@virtuozzo.com,
keescook@chromium.org, dwindsor@gmail.com, ishkamiel@gmail.com,
elena.reshetova@intel.com, linux-nfs@vger.kernel.org,
linux-afs@lists.infradead.org, netdev@vger.kernel.org
Subject: [PATCH net-next nfs 2/6] net: Convert sunrpc_net_ops
Date: Tue, 13 Mar 2018 13:49:28 +0300 [thread overview]
Message-ID: <152093816841.8636.4371549856827439735.stgit@localhost.localdomain> (raw)
In-Reply-To: <152093778442.8636.10592672493816457119.stgit@localhost.localdomain>
These pernet_operations look similar to rpcsec_gss_net_ops,
they just create and destroy another caches. So, they also
can be async.
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
---
net/sunrpc/sunrpc_syms.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/sunrpc/sunrpc_syms.c b/net/sunrpc/sunrpc_syms.c
index 56f9eff74150..68287e921847 100644
--- a/net/sunrpc/sunrpc_syms.c
+++ b/net/sunrpc/sunrpc_syms.c
@@ -79,6 +79,7 @@ static struct pernet_operations sunrpc_net_ops = {
.exit = sunrpc_exit_net,
.id = &sunrpc_net_id,
.size = sizeof(struct sunrpc_net),
+ .async = true,
};
static int __init
next prev parent reply other threads:[~2018-03-13 10:49 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-13 10:49 [PATCH net-next nfs 0/6] Converting pernet_operations (part #7) Kirill Tkhai
2018-03-13 10:49 ` [PATCH net-next nfs 1/6] net: Convert rpcsec_gss_net_ops Kirill Tkhai
2018-03-23 18:53 ` Anna Schumaker
2018-03-26 9:30 ` Kirill Tkhai
2018-03-26 18:36 ` J. Bruce Fields
2018-03-27 8:52 ` Kirill Tkhai
2018-03-23 18:55 ` Anna Schumaker
2018-03-13 10:49 ` Kirill Tkhai [this message]
2018-03-23 18:53 ` [PATCH net-next nfs 2/6] net: Convert sunrpc_net_ops Anna Schumaker
2018-03-13 10:49 ` [PATCH net-next nfs 3/6] net: Convert nfsd_net_ops Kirill Tkhai
2018-03-13 10:49 ` [PATCH net-next nfs 4/6] net: Convert nfs4_dns_resolver_ops Kirill Tkhai
2018-03-23 18:53 ` Anna Schumaker
2018-03-13 10:49 ` [PATCH net-next nfs 5/6] net: Convert nfs4blocklayout_net_ops Kirill Tkhai
2018-03-23 18:54 ` Anna Schumaker
2018-03-13 10:50 ` [PATCH net-next nfs 6/6] net: Convert rxrpc_net_ops Kirill Tkhai
2018-03-13 15:26 ` [PATCH net-next nfs 0/6] Converting pernet_operations (part #7) David Miller
2018-03-15 13:32 ` Kirill Tkhai
2018-03-15 14:24 ` J. Bruce Fields
2018-03-15 14:46 ` Kirill Tkhai
2018-03-20 16:49 ` [PATCH net-next nfs 6/6] net: Convert rxrpc_net_ops David Howells
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=152093816841.8636.4371549856827439735.stgit@localhost.localdomain \
--to=ktkhai@virtuozzo.com \
--cc=anna.schumaker@netapp.com \
--cc=bfields@fieldses.org \
--cc=davem@davemloft.net \
--cc=dhowells@redhat.com \
--cc=dwindsor@gmail.com \
--cc=elena.reshetova@intel.com \
--cc=ishkamiel@gmail.com \
--cc=jlayton@kernel.org \
--cc=keescook@chromium.org \
--cc=linux-afs@lists.infradead.org \
--cc=linux-nfs@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=trond.myklebust@primarydata.com \
/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;
as well as URLs for NNTP newsgroup(s).