From patchwork Tue Mar 13 10:49:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kirill Tkhai X-Patchwork-Id: 10278189 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 07B11602BD for ; Tue, 13 Mar 2018 10:50:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EB76B28F4A for ; Tue, 13 Mar 2018 10:50:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DFE3828F90; Tue, 13 Mar 2018 10:50:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 63B1E28F8A for ; Tue, 13 Mar 2018 10:50:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932824AbeCMKuH (ORCPT ); Tue, 13 Mar 2018 06:50:07 -0400 Received: from mail-he1eur01on0115.outbound.protection.outlook.com ([104.47.0.115]:45945 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932791AbeCMKuD (ORCPT ); Tue, 13 Mar 2018 06:50:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=m0hliRHwbbh1z1zWvpifF1sjETr66VUBb13x+fLN+Vc=; b=GUUPcYr6BUqsF1DiOQunxZeoSD2YPTfqUpOb90CKvupAwPZq7cK/mwl0MTqmt5Z8+eEeFrFREetKrlZO0GsYvq1ICdUCw6fAAi57ajM1RMKdjkFByD4TsjIqbl9js4YUth3FAyU1Q3egI5RXfCR5C6LXnnuFj5wImoupOuHno4k= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ktkhai@virtuozzo.com; Received: from localhost.localdomain (195.214.232.6) by HE1PR0801MB1338.eurprd08.prod.outlook.com (2603:10a6:3:39::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Tue, 13 Mar 2018 10:50:00 +0000 Subject: [PATCH net-next nfs 5/6] net: Convert nfs4blocklayout_net_ops From: Kirill Tkhai 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 Date: Tue, 13 Mar 2018 13:49:58 +0300 Message-ID: <152093819834.8636.8992014016092587849.stgit@localhost.localdomain> In-Reply-To: <152093778442.8636.10592672493816457119.stgit@localhost.localdomain> References: <152093778442.8636.10592672493816457119.stgit@localhost.localdomain> User-Agent: StGit/0.18 MIME-Version: 1.0 X-Originating-IP: [195.214.232.6] X-ClientProxiedBy: HE1PR0102CA0003.eurprd01.prod.exchangelabs.com (2603:10a6:7:14::16) To HE1PR0801MB1338.eurprd08.prod.outlook.com (2603:10a6:3:39::28) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d87ae965-dd9f-49c3-1f54-08d588d02b85 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:HE1PR0801MB1338; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0801MB1338; 3:Zu+etNfWX1uWhNdB/WrLfHY5N4v5aUJWN/5Cyx095K6CP/8wqw093qPvKJvB8lK2AOUjQr0zQFqzN3sTDSWFgdN4inxE0SIAzqgXj8Wwg44xCVRFVykZBTRQUzGhlblBNeyn0qPXsze98/eAwwdifvBNrzEFD2bm+wQeFwIq3smDSZcWXJPQ4RfjY5JGWmw3qNi0T9wdapgWhaP+D714y3zew1ek25w309iMw4pMXCA7yBhJDRypUbUPm7m3BnaN; 25:RsCxn5p1LSZ/XpyYv9jKyvHkqOEHgtm/I5qotINVbxkp5WoJjrtDaCQK1SSjfR6OutDBF7LGVAMCRKfLci25VoHv38Pcts4etZBXLC/rumEgU/v5iK9U8Sfi6o6eTyI+bwuwh/KbtbzBxG7J02E9G1nc/8XlgLS78CbfqVSV0xgC01zkxvmWlBthN9SFTNMrfgOtWoJHBJ0XPH9ujE5SM1LGXg6dX7OlA6xDnUYQJczzzfbRF8AlRtuNEvtGQb2fUgwhW016mFwUY+h/W4ut0+a9UMDvQLyiI+rIg9fXj9wngR/K4UK7RfsaMwL8h4L41CFnTi/JaBK8HSeP/DqtqA==; 31:z+kRv4q/w7zfzYFoSyypQXVahvhdSXA/NFVXJv6Y3rOZqKTlKbiMGeVxSB1A3FvKNnw7ruFrsaHH+tsCGBvF/izv/ti1KT7zvZ3YLWgWos/97zo2CbY75/mV3jS2zkiYfTlZNPCy1V8cttF6qkKgZkMxoU0z5xYsWc0o8EBAai6dX8OzGTbjAZhGhmhhZpUieuNdPXVcKqJDLCkpLGqo60sd+PtJk26QHG6Psnnbwpg= X-MS-TrafficTypeDiagnostic: HE1PR0801MB1338: X-Microsoft-Exchange-Diagnostics: 1; HE1PR0801MB1338; 20:90P2C4DyOvOxMLswfnIvCJnndKq4CtN01HSz1TaR5duXWFxe73YR9+C2ykGmROPq6sH2DztWlvbLcV4InvzHu5c8oicuslL/UpsxnSjAVw9NU1Z1l2mWdnfDRL3QV1xZgIqq1We2jk8LRQ2ZxJ8vc+Guj5bqI4d+7X4yg68Fx4nbeQ9dxbtzOOTogPtLO6N94CZkkwMMkI7exk3r6cGJHmCvvdxNyqIVQnlzOizGcXjh0caNQQ/C6mzFhCG/ViElrd2QuUCecLPbC2ac9YnW8GgZC41kME7Cd+/ta963JMyLA30nk4RCzQPFzS7s4Ki6FUg9CgJdrRx6sEDRgnNgzy8VnH2mpPb0QXCraTi0q4wDHr7YkJWl6goMr/EdgBnix29ivprWJHPI+ArIvEhNi/O944Hml7+t4PyQvGknBz8DL/Jh1y4dKbxNhYbSlzfYLXaIZZY6D0SS25dd9dXc217f/DG3KRNmnU3bp95KyOORhVOzgqbAziWW5OcsOzIp; 4:q2Ma6ZxN5h2joto0YfcH2hQ740PVq655HoMd+n6jzTFY6PbEA21Qp8tVeNj6AXz3i33WWj0Do+THZbWqNUpqfYQlkHyBAOnaArmClkDJKrhy8qv+di/GfCQ/vdYve2lDI+uCo4vLPq5kIlZ5jSRXvm+nXljxahsorxQ+BKBVXd5UiLejpwD2h+9uLTA4WSqMqDkfuiBlAr9NVVQP7j2K9v1Wpooyr5JwPjph2eU7BOjUjgONVsCLVxPAz3KSaSGD4i7JVB7aRlxYx0h+5CZW7Q== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(3231221)(944501244)(52105095)(6041310)(20161123560045)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(6072148)(201708071742011); SRVR:HE1PR0801MB1338; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0801MB1338; X-Forefront-PRVS: 0610D16BBE X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6069001)(396003)(346002)(39840400004)(376002)(39380400002)(366004)(199004)(189003)(55016002)(33896004)(25786009)(55236004)(68736007)(7416002)(316002)(7736002)(5660300001)(305945005)(386003)(76176011)(58126008)(230700001)(52116002)(7696005)(23676004)(53936002)(2486003)(15760500003)(16526019)(2950100002)(26005)(186003)(478600001)(6506007)(97736004)(39060400002)(9686003)(81156014)(81166006)(66066001)(6116002)(61506002)(3846002)(8676002)(47776003)(86362001)(8936002)(2906002)(50466002)(103116003)(105586002)(106356001)(921003)(1121003); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR0801MB1338; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: virtuozzo.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtIRTFQUjA4MDFNQjEzMzg7MjM6QVNWMmVjTzhGZnpiYk5YYWtLTXJqQkpo?= =?utf-8?B?RnlkNlFJSFNpOTE1V05VMHhUT0wrZi9MR0hiekF5RXNPY2J0OEVMb3ZXODVq?= =?utf-8?B?ZTVnZk84SVVYNGFoUWN5YUxTT1pDS0JhQ0FKakJOTHVhc3ZQVTRWS0lTY3V5?= =?utf-8?B?WlllcjBTZFBqRU9LaWZDQWQvMWJ1SEthSGZoS2Zobm84RnJjdVZCNXk5Tno4?= =?utf-8?B?Q0hRa0hyRkIyLzdkUjV0cHFJTDlFeHh3MGhucHBta3JlMTlJQlA3ZS9reDdO?= =?utf-8?B?RzV6TExjRzlYUFF2enVjdG5KWjRLWUJrZ1pvc0FEdnMzMXNQeVBweHF6dDlX?= =?utf-8?B?eU5IOU9vakgwVkluREgxZEhjaDF3NStIUmdxYTF6dzdKbm5xU0VlbURuTUlT?= =?utf-8?B?SXllMWtVUzVuVXk5QnlFaUZEbkFTZjhNenVvbWVibEoyUElRR0hGd1UvR2hE?= =?utf-8?B?R3BhMnB3SU1OL3pxVFhaNzdhOVc3anJaTVBQRElUNk12YndXQWxEcVJ3cFhh?= =?utf-8?B?V09LZGQwWmRjUTdIVE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6Sfl3IihyvQ=; 24:c+9N/8APzAC6LEQrCikakPaoixGT/IBSkfXb8/YemMgTzgzmYlpkSb62XEHZF5wHgE8NXsJh+niSRzeOZV29f0i2UdMu/kXEeWd/o593prA=; 7:arDlmXLoVXYpDXgocfEnSAvDFzVGFuP38xVxusCs5VXtLBKzw+T4+DkdfTZisXZg969IQvOQYcHNA04EgPAQmQkpZC7SGHsPCWwBBv1UjAidigen3L3eMDgBleE5cC9qk5cmu2tzrEfNSIcRC9VvKCPwSghQFH3hNY93ap/wOW+iNuyxFt6PbHspflSk4fnKteYBRsbX5DgACBiEZ+ijcxxLepjLqSgNyKzf3CzBYzToELNazMtpgixxWdqKyDQE SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0801MB1338; 20:UzuaoIoo8PT5Rg2Quw5lqHa9TkC1xIh/YaX8AE1Zh/Z7xI+gK2TmVzIQ8pvaCUq8OfhEHasilUHR0ugzaJtSOoztD1dWvMP1xe8vczK/WGTslCo5tjL+AYV2dOPsEQ2/vMG8P3ZGJy2xNbJ/mySnYAQV5wQ/GVlcoOoU4W17uKM= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Mar 2018 10:50:00.2981 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d87ae965-dd9f-49c3-1f54-08d588d02b85 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1338 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP These pernet_operations create and destroy per-net pipe and dentry, and they seem safe to be marked as async. Signed-off-by: Kirill Tkhai Acked-by: Anna Schumaker --- fs/nfs/blocklayout/rpc_pipefs.c | 1 + 1 file changed, 1 insertion(+) -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/fs/nfs/blocklayout/rpc_pipefs.c b/fs/nfs/blocklayout/rpc_pipefs.c index 9fb067a6f7e0..ef9fa111b009 100644 --- a/fs/nfs/blocklayout/rpc_pipefs.c +++ b/fs/nfs/blocklayout/rpc_pipefs.c @@ -261,6 +261,7 @@ static void nfs4blocklayout_net_exit(struct net *net) static struct pernet_operations nfs4blocklayout_net_ops = { .init = nfs4blocklayout_net_init, .exit = nfs4blocklayout_net_exit, + .async = true, }; int __init bl_init_pipefs(void)