Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp691927ybh; Wed, 11 Mar 2020 08:55:57 -0700 (PDT) X-Google-Smtp-Source: ADFU+vubSmEm2GpgpjVzfL70z/jONJ72e0ZIDH6CLT6Dccl3Rra2vMYC7aXXFJ6u0bsCN7aVzx0g X-Received: by 2002:a9d:6b1a:: with SMTP id g26mr2852998otp.2.1583942157583; Wed, 11 Mar 2020 08:55:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583942157; cv=none; d=google.com; s=arc-20160816; b=IJ+mmsYE8uRdP4DgyZo1D+7AppXz4e9vIscSB8GKrCJUa+Ni/bCeV9cqe1UZaaO3ol 1Rn7C52CSO+jtl/aKxh1aLOmFbWJYNqY6+Wfj8Te+ciBN/jUlC+BHe5suyVDfnbw5F4h AB5YOkYSAK/cjtjfJoDve9bwgSRE91T2E4aK6pjB8nR0g6LMlgCEOAzNtnIwKrORMeej otTDz7HS5DxvzLyVBxKclSWDVIMxTP38xJx56q1/hxHQCjy0v3ysmi6de9ikPaIqR51Z dBD2ice5Ox6EIBajMHeYEpfI2Bbt0tZwbGZy2K9AbK4b4J16zFzmu6vSXtpaBqYg1JsV HLmQ== 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=2juYt9ow1i6n4DHCrFsYKzriVCErLok+h2XiDyS0zP4=; b=ue+gf4EpkWxxBo5cEgpyNXoSILn9Mv1suKj4ssjBU8tDbmxpAQdFhFzR2DtNIn+l9P k3nRibPP3XakrS8JP4LGnlq1vgb+Uas60yXbJhlFPO79IqqNmJd2pHU0oUbPYQKIdSZs 1HDzFNhdO1lDjTlHhkfpy8F4/WM3BBgqDoklyTDnj8tQYB0nSA182TS5liebWnBweWQ2 Q23FiHUcybUQxk9zH+yJZ/ew0eQd11dphmIOE1WxsVdrZLl+N66oP7tPMk0ItiFtBPeG wGwr5PVLo6Gy9jSl+c9tCqZCZ0Bcr24vZ+36QGmFmyGDQbxAkex2ZpD8heX5M9TTyOpd g6uw== 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 m126si1341603oig.177.2020.03.11.08.55.44; Wed, 11 Mar 2020 08:55:57 -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 S1730204AbgCKPzD (ORCPT + 99 others); Wed, 11 Mar 2020 11:55:03 -0400 Received: from verein.lst.de ([213.95.11.211]:60118 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730053AbgCKPzC (ORCPT ); Wed, 11 Mar 2020 11:55:02 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 90D1268B05; Wed, 11 Mar 2020 16:54:58 +0100 (CET) Date: Wed, 11 Mar 2020 16:54:58 +0100 From: Christoph Hellwig To: He Zhe Cc: Christoph Hellwig , jack@suse.cz, Jens Axboe , viro@zeniv.linux.org.uk, bvanassche@acm.org, keith.busch@intel.com, tglx@linutronix.de, mwilck@suse.com, yuyufen@huawei.com, linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: disk revalidation updates and OOM Message-ID: <20200311155458.GA24376@lst.de> References: <93b395e6-5c3f-0157-9572-af0f9094dbd7@windriver.com> <20200310074018.GB26381@lst.de> <75865e17-48f8-a63a-3a29-f995115ffcfc@windriver.com> <20200310162647.GA6361@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 Wed, Mar 11, 2020 at 12:03:43PM +0800, He Zhe wrote: > >> 979c690d block: move clearing bd_invalidated into check_disk_size_change > >> f0b870d block: remove (__)blkdev_reread_part as an exported API > >> 142fe8f block: fix bdev_disk_changed for non-partitioned devices > >> a1548b6 block: move rescan_partitions to fs/block_dev.c > > Just to make sure we are on the same page: if you revert all four it > > works, if you rever all but > > > > a1548b6 block: move rescan_partitions to fs/block_dev.c > > > > it doesn't? > > After reverting 142fe8f, rescan_partitions would be called in block/ioctl.c > and cause a build failure. So I need to also revert a1548b6 to provide > rescan_partitions. > > OR if I manually add the following diff instead of reverting a1548b6, then yes, > it works too. Ok, so 142fe8f is good except for the build failure. Do 142fe8f and 979c690d work with the build fix applied? (f0b870d shouldn't be interesting for this case).