Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1379604ybh; Thu, 23 Jul 2020 07:30:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycn01py7JlEq+iLOwGt0HQ3BcC+RXlzElWmfABQ18eC3ChZIZeMcgpejpdnZltVDTQGeAr X-Received: by 2002:a05:6402:1614:: with SMTP id f20mr4271739edv.129.1595514606221; Thu, 23 Jul 2020 07:30:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595514606; cv=none; d=google.com; s=arc-20160816; b=GchlrIktxJ3wZKajPc3/NxCNkGhtiUm4QIJCCmnRKGRA6qxZtm4HuKviXG0A4JsOSu 5DAvT8qrinFcbGo2Vs/3wQchiTzejmjzlUWcElakudGeKi77LdGaZxdOaBniP7ekaYC7 VlOqywLnmcO7HkrUzZKFHW4wMMn/vjn4102Jqg6BgUVf8WgiOev5N7k6fD1oD0XnhxEt +ZkpA6rUGANPIeblJJxIFlKyrkWRREhvOl8l6lXcAA4orsWvwJ2DBQjgNAs7d3sGFdOv edmlKdybAF/eJzZV21/qZqM158J0/R9JIpE2+4ufqIfdddpFjsp5Tuyl17W/kIbbiQFQ UJiw== 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=4+inSU8U/Ivd99UJec0KLU5B3cmUakeLqyzyRAr50OI=; b=n7MYqbp7ZQinZGBQ26Ehm7iuALoQogymKU2GDL3PurlkyTLEAPv08QdnzbszVZ5nCH cjklyXqdsT0n7yshg6kPwK/qxZyRGGMQklhB1KRE18TX8yDrWZFMQ4a/bnpkwocC/a2x WxhVQftUeGqKtfFJxxedYgG5M3xAWhAwOWnzmD1BLDn/XsZqlA1LwJi8t7O9ttzjQ1eO 67r2aswVcTpUbljB6I8FQUiLwlKh/OaWA8rncoz6gKLgiUCiplY2KNnXegny0kEIYm1X GEsdrm6iUKeiaz8xDKdlyDYiOozMQ7tU8iROHXdTjmfImwf1z+mmnDBDz55h7EBxokP5 FWCA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r26si2142870edp.538.2020.07.23.07.29.44; Thu, 23 Jul 2020 07:30:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729089AbgGWO1j (ORCPT + 99 others); Thu, 23 Jul 2020 10:27:39 -0400 Received: from verein.lst.de ([213.95.11.211]:60460 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726089AbgGWO1i (ORCPT ); Thu, 23 Jul 2020 10:27:38 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 146E468AFE; Thu, 23 Jul 2020 16:27:35 +0200 (CEST) Date: Thu, 23 Jul 2020 16:27:34 +0200 From: Christoph Hellwig To: Lukasz Stelmach Cc: Christoph Hellwig , Marek Szyprowski , linux-kernel@vger.kernel.org, "H. Peter Anvin" , Song Liu , Al Viro , Linus Torvalds , linux-raid@vger.kernel.org, linux-fsdevel@vger.kernel.org, Bartlomiej Zolnierkiewicz Subject: Re: [PATCH 16/23] initramfs: simplify clean_rootfs Message-ID: <20200723142734.GA11080@lst.de> References: <20200714190427.4332-1-hch@lst.de> <20200714190427.4332-17-hch@lst.de> <7f37802c-d8d9-18cd-7394-df51fa785988@samsung.com> <20200718100035.GA8856@lst.de> <20200723092200.GA19922@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 23, 2020 at 04:25:34PM +0200, Lukasz Stelmach wrote: > >> Can you comment out the call to d_genocide? It seems like for your > >> the fact that clean_rootfs didn't actually clean up was a feature and > >> not a bug. > >> > >> I guess the old, pre-2008 code also wouldn't have worked for you in > >> that case. > > > > Did you get a chance to try this? > > Indeed, commenting out d_genocide() helps. So given that people have relied on at least the basic device nodes like /dev/console to not go away since 2008, I wonder if we should just remove clean_rootfs entirely Linus, Al?