Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3573128ybi; Fri, 5 Jul 2019 09:44:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqzBxrt0219tBJQi7TzGVD/kY9UxOy9dx+VMGlP22K3wH9qN86BbwyPjcCn+dnEIuYH7zE8f X-Received: by 2002:a17:90a:2525:: with SMTP id j34mr6879366pje.11.1562345092656; Fri, 05 Jul 2019 09:44:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562345092; cv=none; d=google.com; s=arc-20160816; b=S36IPipH4aLZKqC4PNr9IjN+9RjzJg/8v3MSNrgR3RrUtmzpQypOy7Ck8bp2JF8q6E 0O3kZaoD7F1DMKV5W3u4QqtbQdNC0ow+aMYIBx+6KwZZXUul1kixPEDw3MsfDBftFSMC VxkAyu2ibF6wM+lFpTzcKnX6PoR5nHVNettMOdXxskItGMMTFd4X0/z9cdu8Hd4KYcEF x5MbUY6O+XsQrmJKNq4EGqShzVkZwO9wWm08izZNQf/sWYPxiz3jpiMc6OAp/1w9GSfN YHymr57fQOU86j3o6bP2wCKLAKm63M4cUg8GZKLQcTrAHQGDH6fQOIR33n/b1D15Js4d NeGg== 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 :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature:dkim-signature; bh=qf2Z8FgClxBISPFeHXL/1wpEk5HAoU1KH4Qu2yXZd1s=; b=P7GjQIZpBLlkYObdoGrMPOINx/TQL3dgST3OI4k0WqKFD8fX8xFsRtOnvj9fnjCMaP 4RF3O50TvO6KThnAklIKsJXJTA08ihD/fzgjOPOfsuV03TZpIPjIsz0Q+f9fc0FXXqEK nMCgsV4tq3m/W0DGDd5aJJVWEtiYKogFn0PHb1q55Vq13EhAvVZF1fePlGVfthv04tjo rkKofCsGsLJhkuFbsbYjClEscVC1jKI35f/Ouw/PZLqoS7NMm+DAEEzIiQR2wtInriaw 6y4b9mDV8KDfV1PcHN9OJWZzDjTAs6dF448z+Z2/qmQAGybbrTZhH8b+hut+07WdrzAN zTCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b="H1ikrP/G"; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b="H1ikrP/G"; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h8si8672030plt.16.2019.07.05.09.44.38; Fri, 05 Jul 2019 09:44:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b="H1ikrP/G"; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b="H1ikrP/G"; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728428AbfGEQZw (ORCPT + 99 others); Fri, 5 Jul 2019 12:25:52 -0400 Received: from bedivere.hansenpartnership.com ([66.63.167.143]:56512 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728384AbfGEQZv (ORCPT ); Fri, 5 Jul 2019 12:25:51 -0400 Received: from localhost (localhost [127.0.0.1]) by bedivere.hansenpartnership.com (Postfix) with ESMTP id 5EA708EE1F7; Fri, 5 Jul 2019 09:25:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=hansenpartnership.com; s=20151216; t=1562343951; bh=j5siNec8f0KH3zaO1peKSkgc0P9jF/HcPXFGD6ywRP4=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=H1ikrP/GE4tzcp7wG8mCbdPi/qV/0kxUTTuDwIGAhFh/cIQEXPiCi1YbHJ0pZe9EV hPQgOUtB7mST5pqwnsODhYaKRGKTlsrl7oFkSKWh2gIaAb6ReSLlsoWmBwDW7htwXG ugKnzzrZZa9YbCOw4FSolNKMibLpecJf/VO+pDGk= Received: from bedivere.hansenpartnership.com ([127.0.0.1]) by localhost (bedivere.hansenpartnership.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hhg3ZBtRYrRg; Fri, 5 Jul 2019 09:25:51 -0700 (PDT) Received: from jarvis.lan (unknown [50.35.68.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bedivere.hansenpartnership.com (Postfix) with ESMTPSA id E1A488EE0CF; Fri, 5 Jul 2019 09:25:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=hansenpartnership.com; s=20151216; t=1562343951; bh=j5siNec8f0KH3zaO1peKSkgc0P9jF/HcPXFGD6ywRP4=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=H1ikrP/GE4tzcp7wG8mCbdPi/qV/0kxUTTuDwIGAhFh/cIQEXPiCi1YbHJ0pZe9EV hPQgOUtB7mST5pqwnsODhYaKRGKTlsrl7oFkSKWh2gIaAb6ReSLlsoWmBwDW7htwXG ugKnzzrZZa9YbCOw4FSolNKMibLpecJf/VO+pDGk= Message-ID: <1562343948.2953.8.camel@HansenPartnership.com> Subject: Question about ext4 testing: need to produce a high depth extent tree to verify mapping code From: James Bottomley To: Theodore Ts'o Cc: linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, Parisc List Date: Fri, 05 Jul 2019 09:25:48 -0700 In-Reply-To: <20190702203937.GG3032@mit.edu> References: <1562021070.2762.36.camel@HansenPartnership.com> <20190702002355.GB3315@mit.edu> <1562028814.2762.50.camel@HansenPartnership.com> <20190702173301.GA3032@mit.edu> <1562095894.3321.52.camel@HansenPartnership.com> <20190702203937.GG3032@mit.edu> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org I've got preliminary ext4 support for palo completed. My original plan was to switch our boot loader (iplboot) to using libext2fs, but that proved to be impossible due to the external dependencies libext2fs needs which we simply can't provide in a tiny bootloader, so I switched to simply adding support for variable sized groups and handling extent based files in our original code. Right at the moment we only support reading files for the kernel and the initrd, so we have a simple routine that loads blocks monotonically by mapping from inode relative to partition absolute. It's fairly simple to cache the extent tree at all depths and use a similar resolution scheme for extent based filesystems. I'll add this list on cc to the initial patch so you can check it. Now the problem: I'd like to do some testing with high depth extent trees to make sure I got this right, but the files we load at boot are ~20MB in size and I'm having a hard time fragmenting the filesystem enough to produce a reasonable extent (I've basically only got to a two level tree with two entries at the top). Is there an easy way of producing a high depth extent tree for a 20MB file? Thanks, James