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=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no 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 37C49C32771 for ; Tue, 7 Jan 2020 00:16:47 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id EEB632072E for ; Tue, 7 Jan 2020 00:16:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chrisdown.name header.i=@chrisdown.name header.b="m5nCqznl" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EEB632072E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chrisdown.name Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 88B168E0009; Mon, 6 Jan 2020 19:16:46 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 862FB8E0001; Mon, 6 Jan 2020 19:16:46 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7A0E78E0009; Mon, 6 Jan 2020 19:16:46 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0049.hostedemail.com [216.40.44.49]) by kanga.kvack.org (Postfix) with ESMTP id 64CCB8E0001 for ; Mon, 6 Jan 2020 19:16:46 -0500 (EST) Received: from smtpin16.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with SMTP id 08138180AD801 for ; Tue, 7 Jan 2020 00:16:46 +0000 (UTC) X-FDA: 76348922412.16.bone42_1dea465ee301b X-HE-Tag: bone42_1dea465ee301b X-Filterd-Recvd-Size: 4490 Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by imf36.hostedemail.com (Postfix) with ESMTP for ; Tue, 7 Jan 2020 00:16:45 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id y11so51945572wrt.6 for ; Mon, 06 Jan 2020 16:16:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chrisdown.name; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=uGk27tieF5qc3+4BsLtXvy4RIdrTncxHg+KG4kUOS9s=; b=m5nCqznlM4JSZCk8W7Cx425R6aY8G01X2cjR/HweAPIu+lsEDl9b5iJKdJslYHErz/ dXghDYg096xzvAyL+PV03IGKgAEJz3PCZdKlSNYz7b/mwBVjyDQEG0fWiD5YJzRgzARu CT4nt5aT6dj6zI1WL63GDxnLIt4036XiK2Ypo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=uGk27tieF5qc3+4BsLtXvy4RIdrTncxHg+KG4kUOS9s=; b=biAA+/Eb+ohKoJpcE7lrKWRI6fFNwPzWqgCVYLUv46apuYLrM2wSjFpuDFk9juz1Vm QRkf14sMA+JlhoLjDMpYgdPb7/u13+9KSA4/QGZtTQs2V/XwVQbuk8hpKo3y6ubutqbD 3lmbEHOxe9z3lZLUETukHdM7PstZ/15bjRFNZXEswbQ848nMWfOTjJq2Fhn4ooLDk2HC ZmumwszRKmeaEfFJkAnkg8ujr6PmgCFDUCrHCQ1SfsT87IORIkHM/NBjJWLF6SJymegH silzMoZaE7yTv9c08aAdl5fnINZcDdeAgGwL396PYIG4+VpJAchZ2JgvlwIdSLeg0Ghx VnfA== X-Gm-Message-State: APjAAAVHIPqV4cdM+nPgLr/Tm1xagiLKaRr2q77xw/kDGirTAHdmXeRc +d+IOXMQZEM2Tu+1/FoVLF8e/Q== X-Google-Smtp-Source: APXvYqwEnlHAHFnlhdcoAURhVkhVhX/fSGgeDovIudqAqXXQpqBFeY9oaowcMHxtXYpvG862TBzKtQ== X-Received: by 2002:a5d:610a:: with SMTP id v10mr108384665wrt.267.1578356204280; Mon, 06 Jan 2020 16:16:44 -0800 (PST) Received: from localhost ([2620:10d:c092:180::1:2344]) by smtp.gmail.com with ESMTPSA id a133sm24612835wme.29.2020.01.06.16.16.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2020 16:16:43 -0800 (PST) Date: Tue, 7 Jan 2020 00:16:43 +0000 From: Chris Down To: Dave Chinner Cc: linux-mm@kvack.org, Hugh Dickins , Andrew Morton , Al Viro , Matthew Wilcox , Amir Goldstein , Jeff Layton , Johannes Weiner , Tejun Heo , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH v5 2/2] tmpfs: Support 64-bit inums per-sb Message-ID: <20200107001643.GA485121@chrisdown.name> References: <20200107001039.GM23195@dread.disaster.area> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20200107001039.GM23195@dread.disaster.area> 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: Dave Chinner writes: >It took 15 years for us to be able to essentially deprecate >inode32 (inode64 is the default behaviour), and we were very happy >to get that albatross off our necks. In reality, almost everything >out there in the world handles 64 bit inodes correctly >including 32 bit machines and 32bit binaries on 64 bit machines. >And, IMNSHO, there no excuse these days for 32 bit binaries that >don't using the *64() syscall variants directly and hence support >64 bit inodes correctlyi out of the box on all platforms. > >I don't think we should be repeating past mistakes by trying to >cater for broken 32 bit applications on 64 bit machines in this day >and age. I'm very glad to hear that. I strongly support moving to 64-bit inums in all cases if there is precedent that it's not a compatibility issue, but from the comments on my original[0] patch (especially that they strayed from the original patches' change to use ino_t directly into slab reuse), I'd been given the impression that it was known to be one. From my perspective I have no evidence that inode32 is needed other than the comment from Jeff above get_next_ino. If that turns out not to be a problem, I am more than happy to just wholesale migrate 64-bit inodes per-sb in tmpfs. 0: https://lore.kernel.org/patchwork/patch/1170963/