Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1395854ybl; Wed, 8 Jan 2020 16:45:02 -0800 (PST) X-Google-Smtp-Source: APXvYqwJ+mk++6jPhriRhP6X72JvW4csZzfrFOHZfXknIegN5qo0pk7nhEQKuj5asup8NiZXGOpF X-Received: by 2002:a9d:6b06:: with SMTP id g6mr6484909otp.93.1578530702629; Wed, 08 Jan 2020 16:45:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578530702; cv=none; d=google.com; s=arc-20160816; b=WgsCezHmiu6YL6cThgFiY8VBUr7RanztbyrOeZoBx++y8U7b6HwC3Q8nHBl7hm8mp2 zkSk2bXubCSM+dashooRP+WIxxB6bZL16KeBI/E2x9zSivWme67mAq+BoXAFgGq/1yAa QLITIIj1bKUXnkrS5K9OE6OpnB79QqZ3t5R7Lllj0tOpZJJfzIdbNEVx32l1WoyADqc0 2VEWoiXj9jWCY4WSDuiDPMTc/+pMm41o+PJ4MD9hUyOYO+SmKDgspIo5YPAqk4EA9qWl pxDdyxgMUbZOW7GveSFbXrGlhNuQylKGeHmejt/9w+oyZKARJs4LBtK66yGXKYwDZibR AkvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=lFtVfqW4tY6ZiQTKrKDFXmiGBxHgatmWAd8/IpZAhfQ=; b=Lsma+Ua+irvdITZpu8s/9etoLCOKSGqF1/HXH6v79WHqJq+ZUBZsqRz2KMPT+5MUgV nlqJAP+iS8Gw/0Y563bc3KjdqXSM1mpPxJ/jAoCLwANsidrOj6YG9lv5i8P9HvYRE5V7 SZUQ+zrPnHxJOg6HDJXOkPn+/crKw7e+4njcyHFlyhRvz3rpu0HF1gPxCCqSADgF/46v pBasE6TXSu9COMDH0WAswNUJfLuMzikTNz7JU/l+c88R0QGgZ4e3DPS10GmkMnBi8XsW xN7PCEwctTM/LNv/0B/TbvGc2XsFv86+DbL+bHAx8w4zNPG+4pQ9awDJ1IJ7ZrREvPwl XGjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="wVjR5/sP"; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z22si2601293otq.94.2020.01.08.16.44.49; Wed, 08 Jan 2020 16:45:02 -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=@kernel.org header.s=default header.b="wVjR5/sP"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727417AbgAIAoC (ORCPT + 99 others); Wed, 8 Jan 2020 19:44:02 -0500 Received: from mail.kernel.org ([198.145.29.99]:33382 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726654AbgAIAoC (ORCPT ); Wed, 8 Jan 2020 19:44:02 -0500 Received: from tleilax.poochiereds.net (68-20-15-154.lightspeed.rlghnc.sbcglobal.net [68.20.15.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C5ABD2070E; Thu, 9 Jan 2020 00:44:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578530642; bh=Go188rL5tikNt03I4uWv26oj+FUof0Vk+S7a6HlvT1A=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=wVjR5/sPmfzWsNjUYs7iAFkDuAiMFnOpPCjdP+oU0s+4tHE0RLgbXYKiXuSJulplY WZVBvVyNaV7D1gkAtlMQFENto0ov9x31m3PyRs1uW7fKs78RbYeEqMnDd0yifwYvyL QJQ799I/TfvKrDuKHFPYFjkL73uGZt3h28MFnhyU= Message-ID: <064b5f5318fd433f03242ed234fe7c370899e224.camel@kernel.org> Subject: Re: [PATCH v5 2/2] tmpfs: Support 64-bit inums per-sb From: Jeff Layton To: Hugh Dickins , Chris Mason Cc: Dave Chinner , Amir Goldstein , Chris Down , Linux MM , Andrew Morton , Al Viro , Matthew Wilcox , Johannes Weiner , Tejun Heo , linux-fsdevel , linux-kernel , Kernel Team Date: Wed, 08 Jan 2020 19:43:52 -0500 In-Reply-To: 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> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 (3.34.2-1.fc31) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2020-01-08 at 03:24 -0800, Hugh Dickins wrote: > On Tue, 7 Jan 2020, Chris Mason wrote: > > On 7 Jan 2020, at 16:07, Dave Chinner wrote: > > > > > IOWs, there are *lots* of 64bit inode numbers out there on XFS > > > filesystems.... > > > > It's less likely in btrfs but +1 to all of Dave's comments. I'm happy > > to run a scan on machines in the fleet and see how many have 64 bit > > inodes (either buttery or x-y), but it's going to be a lot. > > 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. This approach seems like the best course to me. FWIW, at the time we capped this at 32-bits (2007), 64-bit machines were really just becoming widely available, and it was quite common to run 32-bit, non-LFS apps on a 64-bit kernel. Users were hitting spurious EOVERFLOW errors all over the place so this seemed like the best way to address it. The world has changed a lot since then though, and one would hope that almost everything these days is compiled with FILE_OFFSET_BITS=64. Fingers crossed! -- Jeff Layton