Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp64487ybl; Tue, 7 Jan 2020 02:13:57 -0800 (PST) X-Google-Smtp-Source: APXvYqwumP1BATJgpTEN0qDnKwmCV7uhuGgqs4/wcFTtgctBSW9ACoNUinknh+xthVSpvnid3Ia4 X-Received: by 2002:a9d:7b4e:: with SMTP id f14mr123140358oto.355.1578392037045; Tue, 07 Jan 2020 02:13:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578392037; cv=none; d=google.com; s=arc-20160816; b=xLZSSLcX61sQfwQKW1rcxmLl2Lu9J1z0kbqDoC+dUpBNOxX3SIuJ/2iucmbb241nkE 74vBmhn6llLubObVtEYiQ7oUVfnODXLHhxNJXcObSq9x6vqPCvJDFQ46OajWJje13tFb 8UeI7amhsQFjNTPLotfjNV1pjTtZ2jTMYzCGJXLHGkIsV1gjY/lBD88oe68uapYBAp6e /jUeu4bZwG0ygPJozpV3TY2ilahFMRP4PwMr6NzRKvT+i/NCaQ0K0bI+4V2wcTrvYro9 H6rgGBtRqzYgtqNUwp7IkenVY5BKMo1xKRZ1jGUZvbeRT+RtrR6bIPXy9nYv2qXTTKYU ZVLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=PbyQyZ9o+Ro7E6bXOC6SCrk7HuZRr+h0vUWe4gZ98uQ=; b=W1AGPKdSzz7Z1P/ZiiVrG4IJMJUWe3qzqiKRaTteUR+/Jxfpg8rEFVB6DbvtpDxUIq ofjJyM9n0qV/yWSS88Xfm2ME34P/X2bpByWSBCAFy4iB5L5cyqWezaOZXdddkjmXdJj+ W9Cq+RlG8qLSSrxwPZHyBz49q4GfndOy3AqFy8YtRd6L4liLkY9V65k7N5HK1AYRS+EA o9Kr0EMY2507FSBI/G/uGEnOtHRRaqeq3xL/CzhI8Tq8Zn/d3RUbINItpLSM7FiJ2yDW svaCb+v3nxRmHHbV76/5XSKRJuwK7J4QfqeIEumTmbulHglZFIxS4a0CxIFmKABh0h9q FUZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mE+vclw3; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h9si15225290oie.74.2020.01.07.02.13.44; Tue, 07 Jan 2020 02:13:57 -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=@gmail.com header.s=20161025 header.b=mE+vclw3; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727811AbgAGKMN (ORCPT + 99 others); Tue, 7 Jan 2020 05:12:13 -0500 Received: from mail-io1-f68.google.com ([209.85.166.68]:44804 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726558AbgAGKMM (ORCPT ); Tue, 7 Jan 2020 05:12:12 -0500 Received: by mail-io1-f68.google.com with SMTP id b10so51989466iof.11; Tue, 07 Jan 2020 02:12:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PbyQyZ9o+Ro7E6bXOC6SCrk7HuZRr+h0vUWe4gZ98uQ=; b=mE+vclw3cfYF8tFzCALd6ffjBbn9elwbyo2EMwffZsN59D8gkO888bX94L0BigDx7F v4pyG7hhBxC13kJmfR5Yx8yFLrRgTbf53DgRK+6BNulX4LVJ88/uqtPDurJ+IbRaAmKe 8EWtlB5diKEI3JJzHIL8tmpDSqiLcfuZhHLn6DioccebewAhH/tDiUTWY3XPDQVBh5ZG rvl714eo8s/x6NhqpZbqD0JRkjrfe02kKiYkAiEV5zMYyvV91xk04MCXKgcpnnVq4paH LtkyG1gx+IMCw52HZAq5gzXbppsUW0ZEga4mS2tYjQn9/QgoxTukRxnnCE3/iT4jmU9B 09xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PbyQyZ9o+Ro7E6bXOC6SCrk7HuZRr+h0vUWe4gZ98uQ=; b=fNWl0PPULz+gTBaZQtSSdEY6kQW403O0mhiHGQplPgu4/CkIPagZzL6EpGywS1uXsQ tnZIpkZnQFCjNWxiuH7+iMFBSsYO9UsW0mNC/nBLYz41Ksw9z8SDmDrPiWO0VP4xLdy3 shVqUd+98Z6FWtMdVoqLXdbn4dLmVp0nN7UHceccNE6Chfb6mEhHT5qmVn8HyJN3yvyb /kwtaonwNrVu8xr/6oVqv1iLKj9HikVGe1Ku5NW5TXdIKCeZR7bdWP8AZD6F7Pevm6L+ 7sXgt0DroheBEPCExPgkGilCSLji7gHnLCcch4195mk3CUkIe0LNAPniGxlRJ7xy/uYP r3jQ== X-Gm-Message-State: APjAAAUfjhrMX3HbMOIzLc4sXmGuSK+SUWgbgYoHAJqKvFGJC2AlDmm0 A6umI48uuI8oMhFPzbmgf8/gqwLFErumDDSfle1wgw== X-Received: by 2002:a02:81cc:: with SMTP id r12mr80549653jag.93.1578391931918; Tue, 07 Jan 2020 02:12:11 -0800 (PST) MIME-Version: 1.0 References: <20200107001039.GM23195@dread.disaster.area> <20200107001643.GA485121@chrisdown.name> <20200107003944.GN23195@dread.disaster.area> In-Reply-To: From: Amir Goldstein Date: Tue, 7 Jan 2020 12:12:00 +0200 Message-ID: Subject: Re: [PATCH v5 2/2] tmpfs: Support 64-bit inums per-sb To: Hugh Dickins Cc: Dave Chinner , Chris Down , Linux MM , Andrew Morton , Al Viro , Matthew Wilcox , Jeff Layton , Johannes Weiner , Tejun Heo , linux-fsdevel , linux-kernel , kernel-team@fb.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 7, 2020 at 10:36 AM Hugh Dickins wrote: > > On Tue, 7 Jan 2020, Amir Goldstein wrote: > > On Tue, Jan 7, 2020 at 2:40 AM Dave Chinner wrote: > > > On Tue, Jan 07, 2020 at 12:16:43AM +0000, Chris Down wrote: > > > > 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. > > Interesting take on it. I'd all along imagined we would have to resort > to a mount option for safety, but Dave is right that I was too focused on > avoiding tmpfs regressions, without properly realizing that people were > very unlikely to have written such tools for tmpfs in particular, but > written them for all filesystems, and already encountered and fixed > such EOVERFLOWs for other filesystems. > > Hmm, though how readily does XFS actually reach the high inos on > ordinary users' systems? > Define 'ordinary' I my calculations are correct, with default mkfs.xfs any inode allocated from logical offset > 2TB on a volume has high ino bits set. Besides, a deployment with more than 4G inodes shouldn't be hard to find. Thanks, Amir.