Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5037332imm; Tue, 7 Aug 2018 11:30:09 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdV1dMvkFb3Vn8+X0CF+I55VM1GB+8vkaXc9nofBg+TDmpztHTrQfHcoapyaJxum1anKEXQ X-Received: by 2002:a65:48cd:: with SMTP id o13-v6mr18909165pgs.99.1533666609321; Tue, 07 Aug 2018 11:30:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533666609; cv=none; d=google.com; s=arc-20160816; b=yq6EIPjNYzu/1Fpkffdld+Rg8uf8GQ/FAY4YYXUwNTaA1msEE/69XUYFMBmVcH4XIt 5J1W1uBNrjKrCQXAk/yDE35OVzTVJ8TYpujnviBST0JUX+DTnF9MjvNqES8ArsbH97VW pJbczmlYmCYn8RXleg0O0mmHfPhHIPOhTjmipMdumdzFgikSatFd4iHerx8dgEWZetoV PqBMc/Qx+TaC1Q3QVbiyEKV8zwtLS4PBjfNQKlOoBxVuznD3Ku8aQ+VdlOxfu1Pqh31z h3mBP60e2L2WkXmrNdVrLSRT3NUaKo/grAtFImtLx/T1aZiYsvoytHqoW9DXB+VDwKj7 JVPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:to:from:subject :dkim-signature:arc-authentication-results; bh=ZoweZLAYp3KgFZo2uGoPuYqg3viLGocWgESzGgqHXy4=; b=ENdgiAznIbq9Vj4PnL97Udw9KobR8wolfNvDUUGcpOM1qCFr+USwgWAV9voBkl0uqZ bSMjR+Moo06f0M5IoUoV3mjyFs5axaIo4exDPhrKZvq6c04ArTbVqOEWA+Z+YLXXfN9k qzye7MFa98u4+YVpaA1poQYWof2zqbolYOx2/XGtx1KFvLbiYKl4/QyxQOoHSMWJQaeq tzJMG4RsAtjjWoHRNjkJivbgVn67Gk1H2ZD71AtaAe0fjRuBuqhZ2MMexS/csDnfBjQB 5hTkZlSl74RxhH2lzMVRF8zgOeZtX/R0+csFagnSXBmXkoYBQJMzR61oesXzZKoloW2F 2kkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=ehEpoLAC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=virtuozzo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l21-v6si1747915pgo.272.2018.08.07.11.29.54; Tue, 07 Aug 2018 11:30:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=ehEpoLAC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=virtuozzo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403864AbeHGRyL (ORCPT + 99 others); Tue, 7 Aug 2018 13:54:11 -0400 Received: from mail-eopbgr80114.outbound.protection.outlook.com ([40.107.8.114]:45240 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387578AbeHGRyK (ORCPT ); Tue, 7 Aug 2018 13:54:10 -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:X-MS-Exchange-SenderADCheck; bh=ZoweZLAYp3KgFZo2uGoPuYqg3viLGocWgESzGgqHXy4=; b=ehEpoLACvT4MSoIHIof2+EnXIgtOW0VGWaEzFeJR2z4akYSCS3lGlHBQNA9ghHD3vCpGm/GZOCq8KQXRjpgVNE5aR6R9WJfJcWbahEu2jKJOKaZlnMguX3slyF+QpRr5Rgzg471MrO0tUMo/1xDf7wTgclClBwOoeHOOTZPe2zg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ktkhai@virtuozzo.com; Received: from localhost.localdomain (185.231.240.5) by VI1PR0801MB2029.eurprd08.prod.outlook.com (2603:10a6:800:8b::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1017.15; Tue, 7 Aug 2018 15:39:07 +0000 Subject: [PATCH RFC 08/10] xfs: Introduce xfs_fs_destroy_super() From: Kirill Tkhai To: akpm@linux-foundation.org, gregkh@linuxfoundation.org, rafael@kernel.org, viro@zeniv.linux.org.uk, darrick.wong@oracle.com, paulmck@linux.vnet.ibm.com, josh@joshtriplett.org, rostedt@goodmis.org, mathieu.desnoyers@efficios.com, jiangshanlai@gmail.com, hughd@google.com, shuah@kernel.org, robh@kernel.org, ulf.hansson@linaro.org, aspriel@gmail.com, vivek.gautam@codeaurora.org, robin.murphy@arm.com, joe@perches.com, heikki.krogerus@linux.intel.com, ktkhai@virtuozzo.com, sfr@canb.auug.org.au, vdavydov.dev@gmail.com, mhocko@suse.com, chris@chris-wilson.co.uk, penguin-kernel@I-love.SAKURA.ne.jp, aryabinin@virtuozzo.com, willy@infradead.org, ying.huang@intel.com, shakeelb@google.com, jbacik@fb.com, mingo@kernel.org, mhiramat@kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org Date: Tue, 07 Aug 2018 18:39:05 +0300 Message-ID: <153365634503.19074.14972123229522734895.stgit@localhost.localdomain> In-Reply-To: <153365347929.19074.12509495712735843805.stgit@localhost.localdomain> References: <153365347929.19074.12509495712735843805.stgit@localhost.localdomain> User-Agent: StGit/0.18 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [185.231.240.5] X-ClientProxiedBy: VI1PR0202CA0034.eurprd02.prod.outlook.com (2603:10a6:803:14::47) To VI1PR0801MB2029.eurprd08.prod.outlook.com (2603:10a6:800:8b::10) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8580e0cb-9690-4303-228a-08d5fc7beb38 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:VI1PR0801MB2029; X-Microsoft-Exchange-Diagnostics: 1;VI1PR0801MB2029;3:bKv/zYxfBTC32Bt4PdjDxkMDGkiEuoixu3UgMGspvfJD4FrUXQDu1xUrr3OJGRXSXbcHczsJr0Hwpp3S85XUayOJQXdYsKy4/K0utLj3STlyQqksli7EGOdOD528dq4AOXVmfr+vGs8Ago30Xvy0PntPO3jS8Ex5JOIckZeJ5TpOvZJW7ion+aSvfxJZfw09qqOpeaEdi3EajEOzkAPtnMFyL6Wkfpr6SR7N9vVy9onuYFGUJRt/IG8AAqLBTKzl;25:oh1uESEP+TeKoUJiAfGC8rRuibEGj883mXYMzfpELkdGlWi9Z0Dm3LBsuzZP2H6wbHCx+lIZCYMm5VFg0morORuwUt3BXTscJ1oiHZZDM+Ael/q9TOi3RQrOwpC0/sIMcBivLxzoWRBOycrU6UZVrO/E1IUs0ktp1NiHe5+f9s1igadTHQcQz2fiiDgUDxeXM6VxlfQ1s7aTuBhBWOyiKPqrUTQVarZJGAC8UaP+nZ3qYw5VLovPihDuZKiRXVXLKxJtCej0cO0HpXeTkICC90D9Fwcs4CmKFKmCjOa8OLNTBvjL4yFqKA1efctKMP4Dc90Lo0lEZmAAjpXjeDNCbg==;31:M+9qfR0v+acrgyS0gDl0xoSH0Qo6AE0SYqYoyn+6AWQ7F5XexYeqgFgYflLwz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report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(3231311)(944501410)(52105095)(93006095)(93001095)(149027)(150027)(6041310)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(6072148)(201708071742011)(7699016);SRVR:VI1PR0801MB2029;BCL:0;PCL:0;RULEID:;SRVR:VI1PR0801MB2029; X-Forefront-PRVS: 0757EEBDCA X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6069001)(39850400004)(136003)(396003)(366004)(346002)(376002)(189003)(199004)(486006)(230700001)(53936002)(86362001)(11346002)(956004)(2906002)(5660300001)(476003)(446003)(14444005)(7406005)(7416002)(16526019)(186003)(26005)(55016002)(217873002)(3846002)(9686003)(386003)(6116002)(6506007)(8936002)(50466002)(478600001)(23676004)(47776003)(81156014)(8676002)(81166006)(103116003)(68736007)(58126008)(316002)(66066001)(7736002)(105586002)(52116002)(76176011)(305945005)(7696005)(2486003)(33896004)(97736004)(106356001)(61506002)(39060400002)(25786009)(921003)(1121003);DIR:OUT;SFP:1102;SCL:1;SRVR:VI1PR0801MB2029;H:localhost.localdomain;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: virtuozzo.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtWSTFQUjA4MDFNQjIwMjk7MjM6dExzcHZwZzcyNWZybm9venUramNoVHZ3?= =?utf-8?B?bjVJaFdlekFSeTJEUUFXWCtEaE1MVUFCV0JnOXFqUnFMUEw1cTBtN01jdmIw?= =?utf-8?B?dXRRUlFWRVFuZkNMcW5VeFhGbmprRlNwcUZRU016bmlqNzBCYUVsTERwZGtO?= =?utf-8?B?R0F5eml6N200NjRSYmt2TThhaU5hOU4zc0NKRUpGV2FCYzZuMTNkWnNY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Sp SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;VI1PR0801MB2029;20:wzUR5MiLoJ2LdUk+9fVYX4n+qfuvA4cgzDcC7Sjtjo+CMtqqSC9P6Y+QP1MyrxGYFbjS7sgEEWnQuL31k1L2VdqI5z3MltTn/hZeREMTUZNeD832GAm+x426hJ2s/r/hviy8OHid2h/VA/CX/IkjKj23YxsvdRlH2P8gg9UKBXE= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Aug 2018 15:39:07.7794 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8580e0cb-9690-4303-228a-08d5fc7beb38 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0801MB2029 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org xfs_fs_nr_cached_objects() touches sb->s_fs_info, and this patch makes it to be destructed later. After this patch xfs_fs_nr_cached_objects() is safe for splitting unregister_shrinker(): mp->m_perag_tree is stable till destroy_super_work(), while iteration over it is already RCU-protected by internal XFS business. Signed-off-by: Kirill Tkhai --- fs/xfs/xfs_super.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c index 9e2ce4cd98e1..c1e00dd06893 100644 --- a/fs/xfs/xfs_super.c +++ b/fs/xfs/xfs_super.c @@ -1774,11 +1774,20 @@ xfs_fs_put_super( xfs_destroy_mount_workqueues(mp); xfs_close_devices(mp); - sb->s_fs_info = NULL; xfs_free_fsname(mp); - kfree(mp); } +STATIC void +xfs_fs_destroy_super( + struct super_block *sb) +{ + if (sb->s_fs_info) { + kfree(sb->s_fs_info); + sb->s_fs_info = NULL; + } +} + + STATIC struct dentry * xfs_fs_mount( struct file_system_type *fs_type, @@ -1816,6 +1825,7 @@ static const struct super_operations xfs_super_operations = { .dirty_inode = xfs_fs_dirty_inode, .drop_inode = xfs_fs_drop_inode, .put_super = xfs_fs_put_super, + .destroy_super = xfs_fs_destroy_super, .sync_fs = xfs_fs_sync_fs, .freeze_fs = xfs_fs_freeze, .unfreeze_fs = xfs_fs_unfreeze,