From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC6D2C6FA82 for ; Wed, 14 Sep 2022 18:15:53 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0CB898D0003; Wed, 14 Sep 2022 14:15:53 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 07AFE8D0001; Wed, 14 Sep 2022 14:15:53 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E856F8D0003; Wed, 14 Sep 2022 14:15:52 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id DA3D58D0001 for ; Wed, 14 Sep 2022 14:15:52 -0400 (EDT) Received: from smtpin10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id AE046A1239 for ; Wed, 14 Sep 2022 18:15:52 +0000 (UTC) X-FDA: 79911494544.10.40A3791 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by imf03.hostedemail.com (Postfix) with ESMTP id 3DFC320093 for ; Wed, 14 Sep 2022 18:15:52 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C8AF2B81C60; Wed, 14 Sep 2022 18:15:50 +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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1663179352; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=jyfvj7yY4trPI1bSP957K/7ipLEjIZg+47Ntxbc8V+E=; b=SLq0KygvRg3hfcf0UWYxpSXgraocoH7z/OmNg/vhdGM00OCSeRMfFNgFbhkyIQc/SBz2St +EXKGhHQP3pfgidDfTSr3CsrfJH5BMCQREq4SPrb4tZbxwJNz/mZHhYRR85gTcJvt2/r6X YjQVMCYALL/OiQil7qwycdiZJQ/jf+8= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=jjsUjMzi; spf=pass (imf03.hostedemail.com: domain of djwong@kernel.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=djwong@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1663179352; a=rsa-sha256; cv=none; b=ze1VyA+mHWke6bjqROU0uyOmDMhq5KMZxxpdpSAoaNNl8yO76NalFEOaQnIt7iDcU8zm29 r0av1zdF1lMylL02K+bv7weOQyDsj18nni/pdGsph+zkEFk6PL4m/gpg2d2IbI7ka4lI9I ia79ksvkRmCg6KjDznyywmKFAGfm7hM= Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=jjsUjMzi; spf=pass (imf03.hostedemail.com: domain of djwong@kernel.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=djwong@kernel.org; dmarc=pass (policy=none) header.from=kernel.org X-Rspamd-Server: rspam08 X-Rspam-User: X-Stat-Signature: 1s7ws71pw81xq6ufckr4nxz5kyax47oa X-Rspamd-Queue-Id: 3DFC320093 X-HE-Tag: 1663179352-975612 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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(-) > > >