Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp3056665pxb; Tue, 12 Jan 2021 05:25:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJxmPmiUf5EaSC4Jkrq0gPnGnMyU6tFbcXeTkCWdpTYa1+b/jbyXiXrJZS8QYYtaacF99aDj X-Received: by 2002:a17:906:4a4f:: with SMTP id a15mr3315699ejv.541.1610457902562; Tue, 12 Jan 2021 05:25:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610457902; cv=none; d=google.com; s=arc-20160816; b=Fr3hsqTyNRC61WSnkTmKBqZ6u8pWFYnaQPIaR0IbhuYGPbwrMVwvfA2KF4vjf9FVeI /e/xY0sQPz2yAi9X9Dd+h2Otvrija9Pp7zE6421H2e+MRkaS694r9tkSKI8Pev/NN4+c n7hV8gtXI1/e79GfTGsPxlSn24RecisY4sCptO6M2zP6XH50L6Dt3Y9WtX7xtVkDKhH9 OyUpymoWtAC87BJ4rIBh91Sr5WmBEY1jCbBNX2+nTGxilG0RlnKVGiC7jGiaM7AM4zzW g9TAAfbp4Lc9up3c+Og0hH7Kg7IjhuTbwdzJKP6geJyzjKouSs/BsUVG3Oj6kq6w6/jD SxKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=eabuVjBsAa5J0KMMVi9kNri7jQ0qsf91JyCWIJ0Ohn8=; b=QkTjo59Vy1nT1Okoup5pVxndlJvv+kOG1VglKx2e5nSG5KVP+MDHXqSyrEurruAhcx 6lvB8ZdGDeK8GzDJD1rz2/VFxxG4y5pBA5TJreMO9kAFdXWIJXic9KGvMP2iTi8pTrED K7yPxb0muT3F2FFPqHcS+Wjbs3wzutdCdNoh458JBk5D+75+r4IKFFwH/sfjeMcCC+ZA YknkawlFDQIbo8hXSygixwyJw80yF9igsaAmaPB/Hu8gKUVenfYL2cirrKSv14fXt331 FEPFcrBmvaPNHJifF5p1eyE/qmuEVt/Wq01znyEDKhDjGnXoyOVWsB7USGDPLyeKMpv/ +5Dw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n18si1071325ejk.69.2021.01.12.05.24.38; Tue, 12 Jan 2021 05:25:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728524AbhALNX7 (ORCPT + 99 others); Tue, 12 Jan 2021 08:23:59 -0500 Received: from verein.lst.de ([213.95.11.211]:55529 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727570AbhALNX7 (ORCPT ); Tue, 12 Jan 2021 08:23:59 -0500 Received: by verein.lst.de (Postfix, from userid 2407) id B37E067373; Tue, 12 Jan 2021 14:23:15 +0100 (CET) Date: Tue, 12 Jan 2021 14:23:15 +0100 From: Christoph Hellwig To: Eric Biggers Cc: Christoph Hellwig , linux-fsdevel@vger.kernel.org, linux-xfs@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, Theodore Ts'o Subject: Re: [PATCH v2 04/12] fat: only specify I_DIRTY_TIME when needed in fat_update_time() Message-ID: <20210112132315.GA13780@lst.de> References: <20210109075903.208222-1-ebiggers@kernel.org> <20210109075903.208222-5-ebiggers@kernel.org> <20210111105201.GB2502@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Mon, Jan 11, 2021 at 11:50:27AM -0800, Eric Biggers wrote: > On Mon, Jan 11, 2021 at 11:52:01AM +0100, Christoph Hellwig wrote: > > On Fri, Jan 08, 2021 at 11:58:55PM -0800, Eric Biggers wrote: > > > + if ((flags & S_VERSION) && inode_maybe_inc_iversion(inode, false)) > > > + dirty_flags |= I_DIRTY_SYNC; > > > > fat does not support i_version updates, so this bit can be skipped. > > Is that really the case? Any filesystem (including fat) can be mounted with > "iversion", which causes SB_I_VERSION to be set. > > A lot of filesystems (including fat) don't store i_version to disk, but it looks > like it will still get updated in-memory. Could anything be relying on that? As Dave pointed out i_version can't really work for fat. But I guess that is indeed out of scope for this series, so let's go ahead with this version for now: Reviewed-by: Christoph Hellwig