From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D60884403 for ; Wed, 14 Sep 2022 18:15:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 83430C433C1; Wed, 14 Sep 2022 18:15:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663179349; bh=Ko+zKlr4tgZrbS+NCSXs3PzkeSQ8QzQ9mJuBdNLc4Js=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jjsUjMzi8u7cakmNSl1c3gBFCKkTptb7b5WpGv0aj38GV8PHfD0BpAChZd6LDpt53 XoRIPex7CmHePPkDJo18e3d83foCgcmq+Aunu1CZF+z7cIssxB2BwqwTmaJoTR5vHI RIE1ySK4bJ4zxzFubCr9Pf3yTATnLkp5Nq7CqjC3nNAgDq55/X3HAbQp0RzAQxd05m 07yhzi+ZeittmH930j+SjB87I/a6evnbLTQZ99x627UWP8awc6rJfhUHrE5G/REjPv FQT3ytVmHGbuet+pgccVzPkJ0oHriL8Z278UI8VuvwqeL6z6CPOzAPrAkdj3pGvYat X5eScGQu2zvUg== Date: Wed, 14 Sep 2022 11:15:49 -0700 From: "Darrick J. Wong" To: Shiyang Ruan Cc: dan.j.williams@intel.com, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, nvdimm@lists.linux.dev, linux-xfs@vger.kernel.org, linux-kernel@vger.kernel.org, hch@infradead.org, david@fromorbit.com, jane.chu@oracle.com Subject: Re: [PATCH v8 0/3] mm, pmem, xfs: Introduce MF_MEM_REMOVE for unbind Message-ID: References: <9e9521a4-6e07-e226-2814-b78a2451656b@fujitsu.com> <1662114961-66-1-git-send-email-ruansy.fnst@fujitsu.com> Precedence: bulk X-Mailing-List: nvdimm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Wed, Sep 14, 2022 at 11:09:23AM -0700, Darrick J. Wong wrote: > On Wed, Sep 07, 2022 at 05:46:00PM +0800, Shiyang Ruan wrote: > > ping > > > > 在 2022/9/2 18:35, Shiyang Ruan 写道: > > > Changes since v7: > > > 1. Add P1 to fix calculation mistake > > > 2. Add P2 to move drop_pagecache_sb() to super.c for xfs to use > > > 3. P3: Add invalidate all mappings after sync. > > > 4. P3: Set offset&len to be start&length of device when it is to be removed. > > > 5. Rebase on 6.0-rc3 + Darrick's patch[1] + Dan's patch[2]. > > > > > > Changes since v6: > > > 1. Rebase on 6.0-rc2 and Darrick's patch[1]. > > > > > > [1]: https://lore.kernel.org/linux-xfs/Yv5wIa2crHioYeRr@magnolia/ > > > [2]: https://lore.kernel.org/linux-xfs/166153426798.2758201.15108211981034512993.stgit@dwillia2-xfh.jf.intel.com/ > > Just out of curiosity, is it your (or djbw's) intent to send all these > as bugfixes for 6.0 via akpm like all the other dax fixen? Aha, this is 6.1 stuff, please ignore this question. --D > --D > > > > > > > Shiyang Ruan (3): > > > xfs: fix the calculation of length and end > > > fs: move drop_pagecache_sb() for others to use > > > mm, pmem, xfs: Introduce MF_MEM_REMOVE for unbind > > > > > > drivers/dax/super.c | 3 ++- > > > fs/drop_caches.c | 33 --------------------------------- > > > fs/super.c | 34 ++++++++++++++++++++++++++++++++++ > > > fs/xfs/xfs_notify_failure.c | 31 +++++++++++++++++++++++++++---- > > > include/linux/fs.h | 1 + > > > include/linux/mm.h | 1 + > > > 6 files changed, 65 insertions(+), 38 deletions(-) > > >