Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp356403rdb; Thu, 8 Feb 2024 07:54:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IG+V4XynuKXW7U7iLmwprEhDndKpLeoiRLH8FpMsaogv95xAV2C16Mjkb0WhLytSnuxtcH6 X-Received: by 2002:a17:906:cc11:b0:a38:6184:10ac with SMTP id ml17-20020a170906cc1100b00a38618410acmr3030285ejb.28.1707407662828; Thu, 08 Feb 2024 07:54:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707407662; cv=pass; d=google.com; s=arc-20160816; b=e9kIY+yEi0DM15MHiQl1G2Yslg7SAjtXkq7bZcS9O2+zb4YyxF7tGTqtVnPPd4rz1o 1garbizr+6pMl5z9noqBS6nGPBFbPYimgwDvtTvFLbbkI32rTi4zt86hAAs/61ODZDgm ye2GRMRUOOokm5qnkEWIZ4QcmK7LXZRE9k5V2OyoGuCd6BWkLWgcVdh3jRLBhw2SpXi4 4sMOorgCTOFBUN2J/pL7DJD7oMcZYgL/LWZj3/MA+GdBfxZlTmOwS2V+6/0SM/Kgd6qU prWYKV9V6GTno7GN8x3m4Dw03zo+O2ppqKGWYUIAptvsgVPcZS72k57p7jKW1ABMYhFn xdGg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=eAoFcQNHhIhh6dcif1FLUj53Icsi44u3Kas+ebeQMBA=; fh=IiDN/Oyzt/GvcbUGovTForTD9zu6fnCLyJq/Et07AaE=; b=dLyUIwSc0Rnfzt54EBsAin9Ar6LfhBx1mXiB0jw59d1SwzGc1dsAcxoHv8nMVyNHJU 2tok6lgDJvmpopV4XC3JVw4pDkx3qNawGG7CXCkfxqUB28r+1LsoMDzWMx0HQHL8yKaF matATMwdCzyHeWj4K0opOMrLrDkjASOda+tc6S4z9nLgiHMf1qPiE/Tozp5zxMMcABYr k31zGkpjqQ+sxZijAIDkWE5XI/ajqHqreXYd08Rx3nF4g6JDWd04fqPUNCnyiL4ugLY6 bWRdbTlAlgyCDGtYYzA6k9HQiBzLPprlQonRZ225QNj2f15AQspFc412I+Q3xcJc1ANN 7+yQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mit.edu header.s=outgoing header.b=Qtnw++Ez; arc=pass (i=1 spf=pass spfdomain=mit.edu dkim=pass dkdomain=mit.edu dmarc=pass fromdomain=mit.edu); spf=pass (google.com: domain of linux-ext4+bounces-1174-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-ext4+bounces-1174-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mit.edu X-Forwarded-Encrypted: i=2; AJvYcCUElYbQrBheUqMRGgC9eyTSSf+7daPVZHn5nzX/W8GWvj52MneeD8muu5S2SXwnu3LIvo1Hipvm3VicJXDupmhvH7tsP33/TWV18cdhog== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id dv17-20020a170906b81100b00a3800098033si168902ejb.110.2024.02.08.07.54.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 07:54:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4+bounces-1174-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@mit.edu header.s=outgoing header.b=Qtnw++Ez; arc=pass (i=1 spf=pass spfdomain=mit.edu dkim=pass dkdomain=mit.edu dmarc=pass fromdomain=mit.edu); spf=pass (google.com: domain of linux-ext4+bounces-1174-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-ext4+bounces-1174-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mit.edu Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 8F8FD1F26C49 for ; Thu, 8 Feb 2024 15:54:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8BC217C092; Thu, 8 Feb 2024 15:54:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mit.edu header.i=@mit.edu header.b="Qtnw++Ez" X-Original-To: linux-ext4@vger.kernel.org Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 01FF07B3FF for ; Thu, 8 Feb 2024 15:54:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=18.9.28.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707407657; cv=none; b=MucWeva15iZR/2S4TqujgVwK2rS8vuGyNoV2uR76doJkI4NABYGieq4xsz1vCZHvNWgQXisx9NpNVuYamImmA9ryUm3J+qXLUypy8LF3R278vp6MxsA30vItwQfAXKeFHCfVJHADRtYIRFXxg2ZSUL9b27KXh8ap9mU2NxBxyLw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707407657; c=relaxed/simple; bh=NWhJqhFHNA3/MsHhGH2E+ravx88pQ+jJG19b/PP3ZaI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=G26hcw8EGdmr8Kkkh1gB5eW8aKeiwPCAMw3lM7pN54rSqy0O6ywddfElYa2sx0uL2gc/YsiCgNF2dPvUotQmg/3jHjY+1E52Gyc585vFjlzi0hYiQ8ZsMpTVOD//PIt/pC4HU8pR0+jv7fjoKYzCLhDbghbfIDN/7mlOWWwyCyU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mit.edu; spf=pass smtp.mailfrom=mit.edu; dkim=pass (2048-bit key) header.d=mit.edu header.i=@mit.edu header.b=Qtnw++Ez; arc=none smtp.client-ip=18.9.28.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mit.edu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mit.edu Received: from cwcc.thunk.org (pool-173-48-82-236.bstnma.fios.verizon.net [173.48.82.236]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 418Fs6TM006221 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 8 Feb 2024 10:54:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1707407648; bh=eAoFcQNHhIhh6dcif1FLUj53Icsi44u3Kas+ebeQMBA=; h=From:Subject:Date:Message-ID:MIME-Version:Content-Type; b=Qtnw++EzqW05skuxAgjJ3tyNe3W7di4aS2S3UZsoA5AKldTS1y21f4u3OY2TD5nUy vmYTpe9ifWJiIsy/r9ZRW/k2G4lTt1BU2jTETtufmMlSCPzrowkfAhW6FVNh++nZPi A9zsRAnIV9h3JZM9vZErD1WEWC9ng34voIFLZKgCnDvUgAHzyCgwK+1+YI54yuPaNc FBO2XKOg7l0sAQ1+nnXFX2LGpb6wl5/v4zVkkg+adZzTOQkzJnGSPAnvX+zukjR2L3 g7BnKSkKaTreMnOFBDeYyiWkvC5RhBix8nIWPk3yFEyr+5EGpmU6oDogo7PEUOEMC/ x5VhE7ac86+CQ== Received: by cwcc.thunk.org (Postfix, from userid 15806) id 5361D15C02FD; Thu, 8 Feb 2024 10:54:06 -0500 (EST) From: "Theodore Ts'o" To: linux-ext4@vger.kernel.org, Li Dongyang Cc: "Theodore Ts'o" , adilger@dilger.ca Subject: Re: [PATCH] ext2fs: make sure we have at least EXT2_FIRST_INO + 1 inodes Date: Thu, 8 Feb 2024 10:54:03 -0500 Message-ID: <170740763969.1039797.836269910365939997.b4-ty@mit.edu> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20230720125012.641504-1-dongyangli@ddn.com> References: <20230720125012.641504-1-dongyangli@ddn.com> Precedence: bulk X-Mailing-List: linux-ext4@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Thu, 20 Jul 2023 22:50:12 +1000, Li Dongyang wrote: > When creating a small fs with 100 1k blocks, mke2fs fails with: > > Creating filesystem with 100 1k blocks and 8 inodes > > Allocating group tables: done > Writing inode tables: done > ext2fs_mkdir: Could not allocate inode in ext2 filesystem while creating /lost+found > > [...] Applied, thanks! [1/1] ext2fs: make sure we have at least EXT2_FIRST_INO + 1 inodes commit: 196cd1224ccaf5ca76540fc0a6238695d4476ca9 Best regards, -- Theodore Ts'o