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 X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E0D51C48BE5 for ; Wed, 16 Jun 2021 05:35:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BAD1D610CD for ; Wed, 16 Jun 2021 05:35:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229543AbhFPFhN (ORCPT ); Wed, 16 Jun 2021 01:37:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229514AbhFPFhM (ORCPT ); Wed, 16 Jun 2021 01:37:12 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE1F2C061574; Tue, 15 Jun 2021 22:35:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=7WM3/Dl0NMSgUE40lDfACWPmQcemQr14B5cKG1DML9I=; b=PMuF+TdHs0agnUqrOQZCxPj6T+ lVwXYf9rLAbSwsG85Ls5HxfIuoGQuZlm2QLmcdi9ZtRz4aX6NT6JGu9D8Nyc/TT/AsEg3ID7X3nGw 9VfY5SBlnnrUf/EBA5kFXdr+qGVdZqkDYVMVKk1vI/OQQWuxIwYBiI7GgK2Z4/xX2UySlnfSfgAsb Li3RgEp5YQzf8SO9YERFrETk6zGL7h5xz8lVuhXtERykXe9W0C8HbUJKTQRMRCK1foHibkO1RQLYd PHBubU9QiolCcmrKOoAWyHLiGSCbgv+CJbR5XsrRDEkJ6Y/HODyfpMrVR6AdO1tD5yyGFKtQb80nc /4X6sKOQ==; Received: from hch by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1ltOC9-007djU-26; Wed, 16 Jun 2021 05:34:39 +0000 Date: Wed, 16 Jun 2021 06:34:33 +0100 From: Christoph Hellwig To: Jan Kara Cc: linux-fsdevel@vger.kernel.org, Christoph Hellwig , Dave Chinner , ceph-devel@vger.kernel.org, Chao Yu , Damien Le Moal , "Darrick J. Wong" , Jaegeuk Kim , Jeff Layton , Johannes Thumshirn , linux-cifs@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-mm@kvack.org, linux-xfs@vger.kernel.org, Miklos Szeredi , Steve French , Ted Tso , Matthew Wilcox , "Darrick J . Wong" Subject: Re: [PATCH 04/14] mm: Add functions to lock invalidate_lock for two mappings Message-ID: References: <20210615090844.6045-1-jack@suse.cz> <20210615091814.28626-4-jack@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210615091814.28626-4-jack@suse.cz> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org On Tue, Jun 15, 2021 at 11:17:54AM +0200, Jan Kara wrote: > Some operations such as reflinking blocks among files will need to lock > invalidate_lock for two mappings. Add helper functions to do that. > > Reviewed-by: Darrick J. Wong > Signed-off-by: Jan Kara Looks good, Reviewed-by: Christoph Hellwig 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 X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 892A4C48BE6 for ; Wed, 16 Jun 2021 05:35:44 +0000 (UTC) Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4C09E6128B; Wed, 16 Jun 2021 05:35:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4C09E6128B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linux-f2fs-devel-bounces@lists.sourceforge.net Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1ltODE-0006Ug-AJ; Wed, 16 Jun 2021 05:35:40 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltODC-0006UZ-TV for linux-f2fs-devel@lists.sourceforge.net; Wed, 16 Jun 2021 05:35:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=7WM3/Dl0NMSgUE40lDfACWPmQcemQr14B5cKG1DML9I=; b=jXRzY1yyD3HqGXzfnb91KeFQ7o DBLajGeuGroscr5/cfG6ldZlgcXmiM5AcJX+89QwpE6RsMlsQtwM/qyC+HJGRVQzj3ekTCJd8c/55 CffTbxy5vkbGj4LLlY9MtBnnU9dnjwiXebkYWyG8Bf7nduklJhrsxw7T4sHsoKy/QGcw=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To :From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=7WM3/Dl0NMSgUE40lDfACWPmQcemQr14B5cKG1DML9I=; b=U4Bh49ijOlb7ANguRPTgmFhkS8 TMZKJ7t9Q7EPUlRpQ94jtRcaWpbwMsVmzyRj4j1sA5kIYW/13fnh/Z7NfYohDEj2CYOheitJylw83 oKMbq0qdBV9VHDo0NI6mRAOVZbbBOm2hwfu6KGPbg6Zv6QYfmmSag9K9iGN54OktpAnY=; Received: from casper.infradead.org ([90.155.50.34]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) id 1ltODC-00Bk8b-W2 for linux-f2fs-devel@lists.sourceforge.net; Wed, 16 Jun 2021 05:35:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=7WM3/Dl0NMSgUE40lDfACWPmQcemQr14B5cKG1DML9I=; b=PMuF+TdHs0agnUqrOQZCxPj6T+ lVwXYf9rLAbSwsG85Ls5HxfIuoGQuZlm2QLmcdi9ZtRz4aX6NT6JGu9D8Nyc/TT/AsEg3ID7X3nGw 9VfY5SBlnnrUf/EBA5kFXdr+qGVdZqkDYVMVKk1vI/OQQWuxIwYBiI7GgK2Z4/xX2UySlnfSfgAsb Li3RgEp5YQzf8SO9YERFrETk6zGL7h5xz8lVuhXtERykXe9W0C8HbUJKTQRMRCK1foHibkO1RQLYd PHBubU9QiolCcmrKOoAWyHLiGSCbgv+CJbR5XsrRDEkJ6Y/HODyfpMrVR6AdO1tD5yyGFKtQb80nc /4X6sKOQ==; Received: from hch by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1ltOC9-007djU-26; Wed, 16 Jun 2021 05:34:39 +0000 Date: Wed, 16 Jun 2021 06:34:33 +0100 From: Christoph Hellwig To: Jan Kara Message-ID: References: <20210615090844.6045-1-jack@suse.cz> <20210615091814.28626-4-jack@suse.cz> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210615091814.28626-4-jack@suse.cz> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html X-Headers-End: 1ltODC-00Bk8b-W2 Subject: Re: [f2fs-dev] [PATCH 04/14] mm: Add functions to lock invalidate_lock for two mappings X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-cifs@vger.kernel.org, Damien Le Moal , linux-ext4@vger.kernel.org, Ted Tso , "Darrick J. Wong" , Jeff Layton , Steve French , Dave Chinner , Matthew Wilcox , linux-f2fs-devel@lists.sourceforge.net, Christoph Hellwig , linux-mm@kvack.org, Miklos Szeredi , "Darrick J . Wong" , linux-fsdevel@vger.kernel.org, Jaegeuk Kim , ceph-devel@vger.kernel.org, Johannes Thumshirn , linux-xfs@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On Tue, Jun 15, 2021 at 11:17:54AM +0200, Jan Kara wrote: > Some operations such as reflinking blocks among files will need to lock > invalidate_lock for two mappings. Add helper functions to do that. > > Reviewed-by: Darrick J. Wong > Signed-off-by: Jan Kara Looks good, Reviewed-by: Christoph Hellwig _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel