Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1881163imm; Sat, 30 Jun 2018 06:19:30 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdaShHcloyZMsT3KeivV+Qw4rCIjfhkZXD3ANbNc2cDIF5v4mwxrMvus/gWawgoeOJr9xAO X-Received: by 2002:a62:fcb:: with SMTP id 72-v6mr18325822pfp.231.1530364769913; Sat, 30 Jun 2018 06:19:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530364769; cv=none; d=google.com; s=arc-20160816; b=Y4uYtc5zL6Xf6UoxWYFN1edfhXQ8ZjI96FfkA2tN352AE8CvgvoecwnX3Zt4t6hiMQ iylZy/3QDZwu/X7HyxdNcOMbifZsaenwcyPvbmMwiDoEmOdtgkHxqLgE7FmeVj1svuVK 1Cx+sY3z+o1f+bLoEtu5puHsGMI7W+y2dE6b0sm+wEGLifm1vfxo+eJTd6fZlhRNRgg7 PLx4zu+Ntd/tM0Nm4JfyOZIrIc/zQunpA5t49dEm/XhPq0s3tRjliSvwJPsw5Zm/YDgz jK4l/2SG9wXTgXheb3uVFd5F8jzVy0pTfWBfDHwnVHfnl8aegTblcgOEMVMEWXsso1sX qgAA== 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:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=2ts+f0bWGYevp8weMSEdRpGvO7jKBjC5Rcu07I6rXA0=; b=AYDNO7ihx1qB197xbcIe3ehI8DReejbeyIwHnKjiWbqhhHfLp7B+cwItzwlLS8d2F6 AgnzEtfPFVN6wVJCJY3vKOO3aT4jaUj+Y4kPWvXNhsLEse65c0aKAvh7FK1xBbdRGy97 P77KW3aDGKPYRRUxYENwOwi7AuJC6qP8kPTB5qTmEB8wRnIRj2R2C9OJ5x+dtwuKCs5w 6Ue1w+mlubvwEa9TOpeWu9IfmFAfciC1CVmt2Rh43vK9Tbh8hbLHlmOVdbh4qwGc2Azn B6mN37eY+Vbyh+rVBnAcp5Bvm/ci29MV4O7L9ceKdfBL8hJHKnrUXHLkDEeZriXpD1nQ sPqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@thunk.org header.s=ef5046eb header.b=d5sbtbz8; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f20-v6si5589379pgb.82.2018.06.30.06.19.15; Sat, 30 Jun 2018 06:19:29 -0700 (PDT) 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=fail header.i=@thunk.org header.s=ef5046eb header.b=d5sbtbz8; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S937053AbeF3NEj (ORCPT + 99 others); Sat, 30 Jun 2018 09:04:39 -0400 Received: from imap.thunk.org ([74.207.234.97]:43338 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936658AbeF3NEd (ORCPT ); Sat, 30 Jun 2018 09:04:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=thunk.org; s=ef5046eb; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=2ts+f0bWGYevp8weMSEdRpGvO7jKBjC5Rcu07I6rXA0=; b=d5sbtbz8IzAeDAq75es0a7RM0O kDoDvh5yzSBVGyjaemvjBPESRJj+GaE471RcFaHhKXMoAUg4WWqdxV+hxFbj2//SPf3yf/14eYjvP 1NF9zsaxYbCJB0wNDUghaw2Jm0weew/YspUCoPQh9J0O1BUVSQUFizEON7HK+d1LF6GI=; Received: from root (helo=callcc.thunk.org) by imap.thunk.org with local-esmtp (Exim 4.89) (envelope-from ) id 1fZFYE-0004aZ-9U; Sat, 30 Jun 2018 13:04:30 +0000 Received: by callcc.thunk.org (Postfix, from userid 15806) id F13DF7A447A; Sat, 30 Jun 2018 09:04:29 -0400 (EDT) Date: Sat, 30 Jun 2018 09:04:29 -0400 From: "Theodore Y. Ts'o" To: "Gaoming (ming, consumer BG)" Cc: "linux-ext4@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Liqingchao (sorp)" , "Shenchen (harry)" , "miaoxie (A)" , "yangfei (D)" , "Renlipeng (OS driver)" Subject: Re: =?utf-8?B?562U5aSNOiDnrZTlpI06IOetlA==?= =?utf-8?B?5aSNOiDnrZTlpI06IFtQQVRDSF0gZXh0NDogZTJmc3Byb2dzOiBmaXggaW5v?= =?utf-8?Q?de_bitma?= =?utf-8?Q?p?= num not integer,incompatible for ancient android devices Message-ID: <20180630130429.GA26529@thunk.org> Mail-Followup-To: "Theodore Y. Ts'o" , "Gaoming (ming, consumer BG)" , "linux-ext4@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Liqingchao (sorp)" , "Shenchen (harry)" , "miaoxie (A)" , "yangfei (D)" , "Renlipeng (OS driver)" References: <1530014046-62466-1-git-send-email-gaoming20@huawei.com> <20180627140937.GA3348@thunk.org> <20180628022900.GA663@thunk.org> <20180628153022.GA8521@thunk.org> <20180629142612.GE1231@thunk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 30, 2018 at 01:26:43AM +0000, Gaoming (ming, consumer BG) wrote: > Yes, it is caused by using 1024 blocksize. > It is historical problem, and I have to admit that's not good idea. I don't know why somebody choose it some years before. > It has been corrected two years before or more early. But some ancient devices exist. > It is not user data, no need to do file-based encryption. It is a small partition for some use. > > However, 1024 is legal though not good, somebody may use it. > And we should fix it. So you understand my position --- the reason why I've been pushing so hard is I'm trying to figure out how big of a problem this is. Specifically speaking, is this a Huawei-specific problem, or something across the entire Android ecosystem. I *thought* I had fixed most of the disaster back in 2011. There have periodic headaches where testers would discover problems where android handsets get bricked after doing a factory reset that I had tracked down to make_ext4fs, and the existence of make_ext4fs is not something I agreed to, and have been fighting for years. So I've been cleaning up after make_ext4fs for a while, even though it's not my responsiblity. (For one thing my work responsibilities are for data center servers at Google, *not* Android; for another, no one asked *me* before they came up with the abomination which is make_ext4fs.) So I don't feel particularly, or personally, responsible for bugs caused by make_ext4fs, because if it had been up to me, it would have never existed in the first place. If it's only in ancient Huawei devices, I don't see a strong reason to support his in upstream e2fsprogs. Are you really going to be backporting the latest e2fsprogs into these ancient Huawei devices? In my experience, the Android team has a hard enough time getting their Android partners to backport kernel fixes for severe security bugs into old Android devices --- never mind versions of e2fsprogs. If not, what's the point? Regards, - Ted