Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp11457416ybi; Thu, 25 Jul 2019 17:01:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqzuLAm8iw6quvVoalswV3K8/ts85KSMgRiw8svov9poI3OJToeVVcHPr5pSyZ6Flpace/LS X-Received: by 2002:a17:902:2be8:: with SMTP id l95mr86495982plb.231.1564099291213; Thu, 25 Jul 2019 17:01:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564099291; cv=none; d=google.com; s=arc-20160816; b=I+CafNFDh7m7Q8UGEitcTLaCzJGoKze1IxV4IS21NL7xOkNu/vT/SsubyZPbQf7hud IdnOJbwjyGQaOqROQouFRY0BpcBX7L1qXmYL2uHgjFgFxEqaJvVF4OwT8QaVIyqKxRh5 ecbJV1wxNohv4FzuqPoA6DhFt7+8DU6EAgKLLo9quEWSmCFJNO5rh1qIb5EzCGfFv0tm FB9Ise4/pxsi0p/pD0OWLgkwd0nwWFTAG6/BWDVwKID9rdYtQe3GkZVhCD8mY6aieTm8 N+z0V+7dCRa1DidT0C2onAKlk3woc12Jc22+Fm7OvFx8lOtPTR8qjeattc0Sdh5AmSA2 6NtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=i+q2Q013xvUlQQyD/hifF1MeKh7vkaZCOVwdfGCmAYA=; b=hxfwzcXq24AjEcYVY/5TNhnSnwlc6BwPC7L1MGF9CBVb5m7mYDtu0im+kPEn0TYIZ5 enNOHFAQ5rVdYUJRwHn9I8LKjvaZsvpm9feTDarK8dneunWgnUt0FksopvSV3bNHKYIH 8xY+9EDrgx0+qqJtoMjfaLZmoIS4S99YUjrhe9PG4C/AKB2bJxgAYmCbtFQ+f2RSydki FezbCbk8Iw3hkLT+xJ8PMXtdRw0bOBsSGAiM8308QsddTn2bvTSWMBRuwiJl2CxJ0JtQ 3bOCXMUpm/d1Zy1ZkO5BsX2WJGGsBa+jvdlBnUxe2ZKFOpU2TSzgq3D4Q6Jq/Jjbe6Zg MJ3g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o21si16319423pll.169.2019.07.25.17.01.15; Thu, 25 Jul 2019 17:01:31 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726927AbfGZAAl (ORCPT + 99 others); Thu, 25 Jul 2019 20:00:41 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:57606 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726380AbfGZAAl (ORCPT ); Thu, 25 Jul 2019 20:00:41 -0400 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92 #3 (Red Hat Linux)) id 1hqney-0004fd-VN; Fri, 26 Jul 2019 00:00:33 +0000 Date: Fri, 26 Jul 2019 01:00:32 +0100 From: Al Viro To: Linus Torvalds Cc: Cyril Hrubis , kernel test robot , LKP , LKML , ltp@lists.linux.it Subject: Re: [LTP] 56cbb429d9: ltp.fs_fill.fail Message-ID: <20190726000032.GK1131@ZenIV.linux.org.uk> References: <20190725110944.GA22106@shao2-debian> <20190725132617.GA23135@rei.lan> <20190725180428.GH1131@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190725180428.GH1131@ZenIV.linux.org.uk> User-Agent: Mutt/1.12.0 (2019-05-25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 25, 2019 at 07:04:28PM +0100, Al Viro wrote: > On Thu, Jul 25, 2019 at 09:32:13AM -0700, Linus Torvalds wrote: > > On Thu, Jul 25, 2019 at 6:26 AM Cyril Hrubis wrote: > > > > > > This looks like mkfs.vfat got EBUSY after the loop device was > > > succesfully umounted. > > > > Hmm. Smells like the RCU-delaying got triggered again. > > > > We have that "synchronize_rcu_expedited()" in namespace_unlock(), > > which is so that everything should be done by the time we return to > > user space. > > > > Al, maybe that RCU synchronization should be after the mntput()s? > > There are several interesting issues in there, but synchronize_rcu() > should be between zeroing ->mnt_ns and dropping the final refs. > I'm digging through that crap right now; at least one bug is dealt > with by #fixes, but there's more, unfortunately. No, it's not synchronize_rcu(). It's a bug dealt with in vfs.git #fixes, triggering the struct mount leak in mount_subtree(), which is used by btrfs. Immediately prior to vfat in their list... (oh, and AFAICS "more" in the above had been a mismerge in -next, so it might really be all there is to it) Folks, see if vfs.git #fixes solves that one.