Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp911168ybl; Fri, 10 Jan 2020 08:46:21 -0800 (PST) X-Google-Smtp-Source: APXvYqxRmtVVyAffsRv/7Ej7Z9CCnSkmOlB31y6CY5fu01ht/jPy3JqJkbfXJmFDjScH1ask9Fsr X-Received: by 2002:a05:6830:1481:: with SMTP id s1mr3399112otq.66.1578674781131; Fri, 10 Jan 2020 08:46:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578674781; cv=none; d=google.com; s=arc-20160816; b=hdRCMFRBxVxdhiJIFjBaxfaXvaJVXXF5Jbm/v84rUo1ZYkXZGV8X7vPzfBhosXXlJ7 c+5sn8wk/6WewKqh8VOCA4t75ZeiYOlGmq0JsJCvNuomC8jsRpujmsAsV5mZtELm13el tjCE2rA+Vh4OvC3mDYgWzbzi5NBshS2jblSBYF53knnYY5QxF8L6t1ljMPKsHoSsVlui Psg/mdlc5pDA3EtsQjrhNRr4CfQ9uuDLEUjo9VHuC7VSkntb/UqYtd4xjCn2MzZmkYRl sq1sbF6/rGilQt5J/qz3Nmq8AKcoK8uOu5eLEbjdoZhF7fqP3D3M/PNehceXzfiKUOy0 cbUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ympT5AY/DLl6UvuOCQnir9hVpWD64MMWty4h6MSY0Uc=; b=Ud6sxyIyl2Kx2YF4jkzo1UOfOIwqW728Bi9U6nBWzhomM5Zw4uNSVqMQVu47Rhjma5 E7jAxRwXhYWMOxDhypS7gSd5L1fHF2yiQD4rDmZAlyu1SMfILvagjCL09fsGyNenG28N QaQYSvvKQ7bIhFB3udehBE/oYMJCdtXCLXp34ak46wSSA++Sc81nTSm1DO72oBeQH+2R e3nc0oGvhdOVD6snQy3KdtbKbsYHxx6QN+gMeujIBNtp2oPvkIJ0AIVD6qeTYp6AMihI vUJXNTWqUNpR9zYVfWHLFmC01pQvgktcrHNwflo4rA0W3G/U494AdMfZyygyEK0oGGdB SAuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chrisdown.name header.s=google header.b=grsTIxw6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chrisdown.name Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t28si1675524otr.16.2020.01.10.08.46.09; Fri, 10 Jan 2020 08:46:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chrisdown.name header.s=google header.b=grsTIxw6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chrisdown.name Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728671AbgAJQpH (ORCPT + 99 others); Fri, 10 Jan 2020 11:45:07 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:41878 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728564AbgAJQpH (ORCPT ); Fri, 10 Jan 2020 11:45:07 -0500 Received: by mail-wr1-f66.google.com with SMTP id c9so2429009wrw.8 for ; Fri, 10 Jan 2020 08:45:06 -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=ympT5AY/DLl6UvuOCQnir9hVpWD64MMWty4h6MSY0Uc=; b=grsTIxw69aF1wk5b95935hZWjq6OuMW2LUVE+UZgYwNKRK2xArvuAAXFlmsla9UBic QoxoszrvgwSlKPFJlE6/tOUAJ+8skkaNMQWEI6v7uWzO3mvd9qiUS/otfZMFQUAlHm/w 8up97pyFZiEUl3kFEo+kNrPE/vlE2s0yDRVBA= 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=ympT5AY/DLl6UvuOCQnir9hVpWD64MMWty4h6MSY0Uc=; b=W6ksR6IsvsxsNNQTJLrq/+EQdSRKCrTGrVZ6HJlL6a/Yj6GTW8vmN6dLQIHT2Dmy/x EAUj3xUb/QJMyIvzrD6a6/XAXDGTOwmLKEcPR1iF8E0euMRqkotgAAB1oc7ySNLjwoM0 jz3pqXohXM4L7BjJvoB7yIwxvbi8Xy0jfRG+WlvCynbAwTVUGdzsG2TOjOdoRq0UBC7q WMJ9r2SqRc4U5bHfgn+VCpEfM37ol6O+ntTgFAXaefikiQh4rByzmt5s31LrllWNOrQl z7/aeW53G5mCYrpL+bWbtWHUzX6t9fRBg0niiHLXO9CUp8HQIhepBRLCStH3BIW6Q+C1 x4Ww== X-Gm-Message-State: APjAAAXL4qX+NPuJZ7jXxwPx5BN76grun2nFuO9p4sBbAOQbRn3yIxrl +oeAG5NhRQrIif6XBYMUz+HKcA== X-Received: by 2002:a05:6000:1288:: with SMTP id f8mr4518896wrx.66.1578674705827; Fri, 10 Jan 2020 08:45:05 -0800 (PST) Received: from localhost ([2a01:4b00:8432:8a00:63de:dd93:20be:f460]) by smtp.gmail.com with ESMTPSA id x10sm2823222wrp.58.2020.01.10.08.45.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jan 2020 08:45:05 -0800 (PST) Date: Fri, 10 Jan 2020 16:45:03 +0000 From: Chris Down To: Hugh Dickins , Dave Chinner Cc: Chris Mason , Amir Goldstein , Linux MM , Andrew Morton , Al Viro , Matthew Wilcox , Jeff Layton , Johannes Weiner , Tejun Heo , linux-fsdevel , linux-kernel , Kernel Team Subject: Re: [PATCH v5 2/2] tmpfs: Support 64-bit inums per-sb Message-ID: <20200110164503.GA1697@chrisdown.name> References: <20200107001039.GM23195@dread.disaster.area> <20200107001643.GA485121@chrisdown.name> <20200107003944.GN23195@dread.disaster.area> <20200107210715.GQ23195@dread.disaster.area> <4E9DF932-C46C-4331-B88D-6928D63B8267@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Hugh, Dave, Hugh Dickins writes: >Dave, Amir, Chris, many thanks for the info you've filled in - >and absolutely no need to run any scan on your fleet for this, >I think we can be confident that even if fb had some 15-year-old tool >in use on its fleet of 2GB-file filesystems, it would not be the one >to insist on a kernel revert of 64-bit tmpfs inos. > >The picture looks clear now: while ChrisD does need to hold on to his >config option and inode32/inode64 mount option patch, it is much better >left out of the kernel until (very unlikely) proved necessary. Based on Mikael's comment above about Steam binaries, and the lack of likelihood that they can be rebuilt, I'm inclined to still keep inode{64,32}, but make legacy behaviour require explicit opt-in. That is: - Default it to inode64 - Remove the Kconfig option - Only print it as an option if tmpfs was explicitly mounted with inode32 The reason I suggest keeping this is that I'm mildly concerned that the kind of users who might be impacted by this change due to 32-bit _FILE_OFFSET_BITS -- like the not-too-uncommon case that Mikael brings up -- seem unlikely to be the kind of people that would find it in an rc. Other than that, the first patch could be similar to how it is now, incorporating Hugh's improvements to the first patch to put everything under the same stat_lock in shmem_reserve_inode. What do you folks think? Thanks, Chris