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 BD176ECAAD8 for ; Fri, 16 Sep 2022 15:43:36 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1257D8D0002; Fri, 16 Sep 2022 11:43:36 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0D5938D0001; Fri, 16 Sep 2022 11:43:36 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EDF5E8D0002; Fri, 16 Sep 2022 11:43:35 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id DEEF98D0001 for ; Fri, 16 Sep 2022 11:43:35 -0400 (EDT) Received: from smtpin04.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id B7C00A0664 for ; Fri, 16 Sep 2022 15:43:35 +0000 (UTC) X-FDA: 79918368390.04.D50CC52 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf16.hostedemail.com (Postfix) with ESMTP id 5D6FE1800A2 for ; Fri, 16 Sep 2022 15:43:35 +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 dfw.source.kernel.org (Postfix) with ESMTPS id 6773561F9E; Fri, 16 Sep 2022 15:43:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA8EAC433D6; Fri, 16 Sep 2022 15:43:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663343013; bh=YNSjP/LiCCx3Suc7zoGweqKnIGX37rmyAojFu4j9Jpo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pveEJvBs5oLqN97djCT3lNEcGo8sygvspthc3T6FPX2c2JBTSgbmWcnPOA0T1UIMC 2oLag7mwCeBb4PdOrgGOaDexLa5ClhsPeLFvUUGzXxsDv3ij8xkOwPa0I6wrOpJakE WT/WjagmVY+3qiWPEOlUXrqc6z+f5hRbc0ZnVPASXv7+Gu2tjB8aiq7hCNaFe94TqD WtGSJVDLPk5h025tMLlKPQRiqMqZUtqLNPAShKqCqxbbeUoT/0V/H6Pv8PJvbG/rQ+ cXsNbBYF0XOwGDG3hD1rNhuuGjGl9Z6QyjWZt1hjzXBf58O5Oo0Sb7SnoOO9D18Mcx dTkz/XIdsFrwg== Date: Fri, 16 Sep 2022 08:43:33 -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=1663343015; 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=1BsqSBFOWwnBztWnTac+HCcWRAjXW6UpDIExM4vMa+0=; b=lUb0VXhurUO4PZi7TeBOju1lR2nrSVklIMO5WSHxzEFz8eUE3Gi+d6fUM4sMyOWy1komW7 4alBujQIMAGgIsmTM62fzflI3tPPQWNAHxqE9P+na5hkgUERjty9Ipb2Guf6vdll+ohLcy tBzKHroXeEVs7gLB0EWSAvRKAnXy5H4= ARC-Authentication-Results: i=1; imf16.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=pveEJvBs; spf=pass (imf16.hostedemail.com: domain of djwong@kernel.org designates 139.178.84.217 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=1663343015; a=rsa-sha256; cv=none; b=BfvXXzvrGD3CDbZXDg/F/HqYCGBNxCLfsv+raoFn2mU//kwHdO7AxU1OycqkCkbOt4CsEz F/yy8tHD7EG8aoogoX+lTAD4WZknbTT1YLJRyO3Zhd+IAjZQ/z/DeFSR3YX7n1IzjTQOGM TfGkP2sumJ032/3uhN080ZFe6R3CnBg= X-Stat-Signature: dqeje1mg8hs36nwgxq93wj43izw1emmk X-Rspamd-Queue-Id: 5D6FE1800A2 X-Rspam-User: Authentication-Results: imf16.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=pveEJvBs; spf=pass (imf16.hostedemail.com: domain of djwong@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=djwong@kernel.org; dmarc=pass (policy=none) header.from=kernel.org X-Rspamd-Server: rspam06 X-HE-Tag: 1663343015-978342 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 Thu, Sep 15, 2022 at 10:56:09AM +0800, Shiyang Ruan wrote: > > > 在 2022/9/15 2:15, Darrick J. Wong 写道: > > 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. > > Actually I hope these patches can be merged ASAP. (But it seems a bit late > for 6.0 now.) > > And do you know which/whose branch has picked up your patch[1]? I cannot > find it. It's not upstream, though the maintainer (Dave currently) reviewed it. I don't know if he hasn't had time to put together a fixes branch or if he's simply punting all the queued up stuff to 6.1. (Dave?) --D > > -- > Thanks, > Ruan. > > > > > --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(-) > > > > >