From: Theodore Ts'o Subject: Re: [GIT PULL] inode->i_version rework for v4.16 Date: Tue, 30 Jan 2018 10:15:43 -0500 Message-ID: <20180130151543.GB8351@thunk.org> References: <1517228795.5965.24.camel@redhat.com> <1517313948.3658.8.camel@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Linus Torvalds , open list , "" , Al Viro , xfs , "open list:NFS, SUNRPC, AND..." , linux-btrfs , linux-integrity , Andrew Morton , "linux-ext4@vger.kernel.org" To: Jeff Layton Return-path: Content-Disposition: inline In-Reply-To: <1517313948.3658.8.camel@redhat.com> Sender: linux-btrfs-owner@vger.kernel.org List-Id: linux-ext4.vger.kernel.org On Tue, Jan 30, 2018 at 07:05:48AM -0500, Jeff Layton wrote: > > I want to make sure I understand what's actually broken here thoug. Is > it only broken when the two values are more than 2**63 apart, or is > there something else more fundamentally wrong here? The other problem is that returning a s64 (or a u64) is extremely inefficient on a 32-bit platform. So in general, it's better to avoid returning a 64-bit type unless it's really necessary.... - Ted