Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp18256lqt; Sun, 17 Mar 2024 22:41:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUm3qnqxqfLAQAStSqKKLGPd1zZVAQ/wr77JRUQ93H8Lmezp5R/Qm4XzJVOEPv1cobjgJ5y3el0JAg6iQcDeIG/kY4GsDxMAoG+OwHv4g== X-Google-Smtp-Source: AGHT+IGrrYMQzu8BGagHwiTsqpLK/gWBRWAaz3ASF9mhbXRpEDY23U1H52Xqj5mVte8p8AFpm1Zf X-Received: by 2002:a17:902:d491:b0:1de:f19d:9a46 with SMTP id c17-20020a170902d49100b001def19d9a46mr10338301plg.20.1710740461103; Sun, 17 Mar 2024 22:41:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710740461; cv=pass; d=google.com; s=arc-20160816; b=pvKc4RnqHlcbB5kLaefSJtE1ipZUxfUA54dyezCcm9P+YlSFrKF4TQZC9Kb1Burlag K0fDDh0x8C0mp1jZRX7b8/9BwEmiVFwtI/u/E9LwI/Jmja+HF8n/IdgXB9q2M5swlpPr fq7GmMAh0odP//SzuSX1j4YrszggjtdWx7Jxmccwlxp+cFXCrBpRqYF6WDcfQtowQjWR dN1jDkN6c6e6ndh/w7bHyv1XdCvGjzYDDnQY8WjUWer4UU1gGWM0T7H2sMNdXv2HIBWX 6dguImFx1KvN1jBCAXyHtz6hM+4WaorKDv91qHoycNbZiSNq0qeJy3l7DZEEOLEZv3Qv GUDg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=M7NmYC/Iylm9myghHwqILim55SAUt9QrM+UZYk0eJlw=; fh=AfJmFgODneANbQY2M1rYf2EOoZlB4hjNXWcdT4cc+zk=; b=SoslmGorDZUTFdWqDn6YGxdHpGrtT1zX3kPVDHa4dwjaXTwYPrzeJQghhj25P0kjGy R6TnfQfT7pMgkLh3rFHOUUjFoJzrG/1AwTEwF6Wjh7KsS1b/z80ZgEnrbHRRPdjev7sa 27ka3OvoTyN4NnZ3LfszMFOSJXLnHJyobXI02QXTsNtBOldad6qPLUX/c1Hcj9sFYNZ4 80yiUIKNSJjW7ORT24koR7ZiuvCxswaDLyqBmvsrPBUAhTHwkQAlS8WPuK+m+c4SpIT5 O6xBprKwgsJZJQgwszSe9NLNDaI6SiuWFTRYCXCSbupIiTVK8cEIBwAX0CvU3In8n2ow 1X5w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=B0UmZ+35; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-105631-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105631-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id j5-20020a170903024500b001dd8a83c1casi8560634plh.276.2024.03.17.22.41.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Mar 2024 22:41:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-105631-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=B0UmZ+35; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-105631-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105631-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 245EFB223A2 for ; Mon, 18 Mar 2024 01:35:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 13AF622087; Mon, 18 Mar 2024 01:35:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="B0UmZ+35" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 1366F21342; Mon, 18 Mar 2024 01:35:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710725710; cv=none; b=WKf/dOL6jHROl521KkPE0FHZLcqF7AExKweao2Yq0lbywodETomyOBi5zCSWKkOHFl/9ubJcEfRqOVn4L9sXXkVZ4o8klucDPRWw7olJOGLsshM07P+8IFf8wz5aWRYlyrEVFnTfu6K3BZ5pTI0WfldaAPgizVQQTx6UHC/hzf8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710725710; c=relaxed/simple; bh=M7NmYC/Iylm9myghHwqILim55SAUt9QrM+UZYk0eJlw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Lvs/IXFqMNlLzft792ujERFKVid5CnXb1BpHl2udSjhh2SMUrhPw6sFQzTB79Uj1DDwiOBbAV0aCrbm8PIzcX8MOYiEfyOl8E9WYAuBHNUA5Y0BSHNCtUArQNlXJz85vREIN2KPKXc3RDO1vDtLS0Q4e2zHfoGUnAoaVu+1wJmE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=B0UmZ+35; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; 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=M7NmYC/Iylm9myghHwqILim55SAUt9QrM+UZYk0eJlw=; b=B0UmZ+35ZEWctKQNy87aZhkhuA 4QCshevB0rHy+k+K95siaI4Xldjux88Yw/0Sh+9eUiTvXsNIYyixFwjSV6xdu1TkWg5acjBXfe70v nOiz99JlhChuh17AK1NYbB2pRni4LG9A2vaeezvkQPSLbOplN7/es0eeoxOp/FsW68Ww7yJCqEV6U a6jTLhzUaM9BHbp85fUETkpXW0x4uS0aZqPbBRrsyhCmlJGEqOrc/BsNwwmJxnh7zw3bLDRhU/P83 S5gievR4meEyNL1aJEGxh2qrhTbfqc35Mbz8NF+sfeJUJUkBPWpSeBWfEgeBGRivljDy0X8nUZqgj PATdMcZQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1rm1u7-00000006wPK-4A0x; Mon, 18 Mar 2024 01:35:08 +0000 Date: Sun, 17 Mar 2024 18:35:07 -0700 From: Christoph Hellwig To: Zhang Yi Cc: linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, djwong@kernel.org, hch@infradead.org, brauner@kernel.org, david@fromorbit.com, tytso@mit.edu, jack@suse.cz, yi.zhang@huawei.com, chengzhihao1@huawei.com, yukuai3@huawei.com Subject: Re: [PATCH v2 07/10] iomap: don't increase i_size if it's not a write operation Message-ID: References: <20240315125354.2480344-1-yi.zhang@huaweicloud.com> <20240315125354.2480344-8-yi.zhang@huaweicloud.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240315125354.2480344-8-yi.zhang@huaweicloud.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Looks good: Reviewed-by: Christoph Hellwig