Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp123255ybi; Tue, 2 Jul 2019 17:28:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqzbbcQ7dyKrD5r9v3xPJnYucaTZSEUDvOyGghXh+fKPcVIW/g4M68DT6y6v2FNTbHb685pc X-Received: by 2002:a65:6083:: with SMTP id t3mr33024156pgu.342.1562113739023; Tue, 02 Jul 2019 17:28:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562113739; cv=none; d=google.com; s=arc-20160816; b=FoaRSa+JoPXSNyN1WHIG4BKxYT2+TXfltDcSD5rMXLFPinO21ulbovBzl0UwS0MCte KpCmSvA1xCPDJvhxfw68IAEt+aWQwHsAAls6YdxQhwR7xCgw8LgFhWMg1mRliuBX4Dmn CUDcGcN9frYfrcSEECHaAWTZETa+n0oOYcbtH1bF2uacRNJjM2NnVjgjIfN8t+AfQmHg YOHEkAiLw97QHvl183HgkaNRsL7FDyfrf+sM4Hm4EgKTaGFDmCihwNmOCAgi6Opb4sSI obA1bvIr2Ie/F7UE0GOfZ0soADyzmkkP72qUpCUYgk+vDj0rlThsOSjFvq2c+i7rqJyh P+MQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=okJ02TSCNVIbVpXwFMXZ9sSWZWPewkiJIR46OSkegec=; b=Ksmmn9FROrD8hJ5Fqc/AWltF6rP3WzhQCLeC1SDETA2rMglBpHurOZHX7wWxzDjWcI RKCV/AkEzyUqtTuqgxVuyOD+TXUbi4lpKwAm9b2GAH+cG2i63/6qmmiaYNq1rAChjWUM ZpgWZQiWEiVjPP52IzSEi92iACtaJpEVsIwJQtPqAxlMN+OAN2oPB8BPVlwv4lq4rFMS ER4Z7/2XHQeYuT7H9+CIpjZ4vY3m/8sKqYYh2upR3/3CSrXwTNO7Xm+CI/eyj9PYLrW/ uniba1ewEMgF0/jp6yjcuSNya5Dum7QswGAgQvBroEEt0BFwS6lrxpHONJY5v1mQhDwh I52Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r20si332023pgo.384.2019.07.02.17.28.45; Tue, 02 Jul 2019 17:28:59 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727194AbfGCA1m (ORCPT + 99 others); Tue, 2 Jul 2019 20:27:42 -0400 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:32964 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726150AbfGCA1l (ORCPT ); Tue, 2 Jul 2019 20:27:41 -0400 Received: from callcc.thunk.org (guestnat-104-133-0-109.corp.google.com [104.133.0.109] (may be forged)) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id x62KdcNs032445 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 2 Jul 2019 16:39:39 -0400 Received: by callcc.thunk.org (Postfix, from userid 15806) id 0057042002E; Tue, 2 Jul 2019 16:39:37 -0400 (EDT) Date: Tue, 2 Jul 2019 16:39:37 -0400 From: "Theodore Ts'o" To: James Bottomley Cc: linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, Parisc List Subject: Re: [BUG] mke2fs produces corrupt filesystem if badblock list contains a block under 251 Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1562095894.3321.52.camel@HansenPartnership.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, Jul 02, 2019 at 12:31:34PM -0700, James Bottomley wrote: > Actually, this is giving me: > > mke2fs: Operation not supported for inodes containing extents while > creating huge files > > Is that because it's an ext4 only feature? That'll teach me not to send out a sequence like that without testing it myself first. :-) Yeah, because one of the requirements was to make the file contiguous, without any intervening indirect block or extent tree blocks, the creation of the file is done manually, and at the time, I only implemented it for extents, since the original goal of the goal was to create really big files (hence the name of the feature "mk_hugefile"), and using indirect blocks would be a huge waste of disk space. It wouldn't be that hard for me to add support for indirect block maps, or if you were going to convert things over so that the pa_risc 2nd stage boot loader can understand how to read from extents, that'll allow this to work as well. - Ted