Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1176112imm; Fri, 27 Jul 2018 12:27:29 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeJHSKHc+IdQ2yoinVtuPI/tryzFH+fDQ1+hZ+sfSWXTVZBLNaN3ZGBaRwul6UNi5LZWiic X-Received: by 2002:a17:902:7798:: with SMTP id o24-v6mr7364054pll.165.1532719649703; Fri, 27 Jul 2018 12:27:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532719649; cv=none; d=google.com; s=arc-20160816; b=Mx4W7/okrtXn+FQmsetm4/TgvoJaA/+uWtOzAuHMDEatMJut31EDJtqezoVXIPlEKJ CVtlGR6RfpjBq6OdClC8r1uthbiznq3WJVvUIFemSDsnr5Xdzguoh100M5Hzl4Oc8VQ+ fQ83sNaI70CfdL1SorLI3wU2rg33wFbQpIuuSN/fGavBrLTtg2y1RIYaI1KyrDni1nqc 1FTDsr6C9xYJCfzDL5uDKPADasKm/az01DUgXUZXEHKD/Uc79d4diAJ8ydWc8oR/js8X oDXUkb0eI3zlwjPm2I9Wk7/OzviSpdHmWcMUC66C+TBuU9440jsqI5FMGUWd5mius6hi yVYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=MzOgqQXyaO6frNFrB3yfSHFZOzLXAPVmkFID+Ou1zwc=; b=apa1BwNBcOwtEn+eB6qEGxFk3Lj8zqw3rf32hSrEMHoqZQIGSlTg4GPyXlPhLHAz/b xiIKrvqQUOXYUTBYpTgu+uD26Wxk77HfRD3eTazYsW6TWba8RA0aNlkjvEpEKYndS/fp RFfBlJggRI0pkWNuN5iDI0YWZt8otJMbiqd49ntDKV4WB3IjbF6UFefq0uD1kuRf9/Bf NZ4j19HxbTamsm/S/meBLmmyAze7sIc5jYlEo8+XHfm6t/0zy+82Bv8hnsJ23CoCSV7r QXSWLUYL2ynaxjrr1EpVjVRLQT0ukm8kRlJCT6QAmTQ9FVT/ckdrOpouTuQw+JAjii/D Wzig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=ZFvnUMyT; dkim=pass header.i=@codeaurora.org header.s=default header.b=ZFvnUMyT; 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 b4-v6si4462655pgg.537.2018.07.27.12.27.14; Fri, 27 Jul 2018 12:27: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=pass header.i=@codeaurora.org header.s=default header.b=ZFvnUMyT; dkim=pass header.i=@codeaurora.org header.s=default header.b=ZFvnUMyT; 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 S2389225AbeG0Utn (ORCPT + 99 others); Fri, 27 Jul 2018 16:49:43 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:50640 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389143AbeG0Utn (ORCPT ); Fri, 27 Jul 2018 16:49:43 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id D90DA60B11; Fri, 27 Jul 2018 19:26:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1532719585; bh=qdWodCh0lhiiYvQLy6bcYbDwPBsL39I/Hj6WXIzvWUQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ZFvnUMyTID+rUn+hbcopicjSOnuCJ3H4X/oPhtREoYrLQstmUHaJqeCNpAYyndiae 65fnTWdmZR0EIFCppQjVCEjsEn7XDRkiCPMTFJdGOsTeXOkdlKNcu/CQt5YLduDuQ/ zxqMWeuTfkv/IXEuLBj/gpYxUNrvUSCkkz5kJENs= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 40B1C607BD; Fri, 27 Jul 2018 19:26:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1532719585; bh=qdWodCh0lhiiYvQLy6bcYbDwPBsL39I/Hj6WXIzvWUQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ZFvnUMyTID+rUn+hbcopicjSOnuCJ3H4X/oPhtREoYrLQstmUHaJqeCNpAYyndiae 65fnTWdmZR0EIFCppQjVCEjsEn7XDRkiCPMTFJdGOsTeXOkdlKNcu/CQt5YLduDuQ/ zxqMWeuTfkv/IXEuLBj/gpYxUNrvUSCkkz5kJENs= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 27 Jul 2018 12:26:25 -0700 From: Sodagudi Prasad To: tytso@mit.edu, adilger.kernel@dilger.ca, wen.xu@gatech.edu Cc: linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Remounting filesystem read-only In-Reply-To: <366cf3ac534bbadaaa61714a43006ac7@codeaurora.org> References: <366cf3ac534bbadaaa61714a43006ac7@codeaurora.org> Message-ID: X-Sender: psodagud@codeaurora.org User-Agent: Roundcube Webmail/1.2.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-07-26 18:04, Sodagudi Prasad wrote: > Hi All, > +linux-kernel@vger.kernel.org list. Hi All, Observing the following issue with one of the partition on android device with 4.14.56 kernel. When I try to remount this partition using the command - mount -o rw,remount /vendor/dsp, it is remounting as read-only. [ 191.364358] EXT4-fs error (device sde9): ext4_has_uninit_itable:3108: comm mount: Inode table for bg 0 marked as needing zeroing [ 191.364762] Aborting journal on device sde9-8. [ 191.365226] EXT4-fs (sde9): Remounting filesystem read-only [ 191.365232] EXT4-fs (sde9): re-mounted. Opts: data=ordere If I revert this commit [1] -"ext4: only look at the bg_flags field if it is valid", the issue is not observed. It is just giving following warning message. [1] - https://patchwork.ozlabs.org/patch/929239/. [ 123.373456] EXT4-fs (sde9): warning: mounting fs with errors, running e2fsck is recommended [ 123.389649] EXT4-fs (sde9): re-mounted. Opts: data=ordered Can you provide some inputs what could be the issue with this partition? > Observing the following issue with one of the partition on android > device with 4.14.56 kernel. When I try to remount this partition > using the command - mount -o rw,remount /vendor/dsp, it is remounting > as read-only. > > [ 191.364358] EXT4-fs error (device sde9): > ext4_has_uninit_itable:3108: comm mount: Inode table for bg 0 marked > as needing zeroing > [ 191.364762] Aborting journal on device sde9-8. > [ 191.365226] EXT4-fs (sde9): Remounting filesystem read-only > [ 191.365232] EXT4-fs (sde9): re-mounted. Opts: data=ordere > > If I revert this commit [1] -"ext4: only look at the bg_flags field if > it is valid", the issue is not observed. It is just giving following > warning message. > [1] - https://patchwork.ozlabs.org/patch/929239/. > > [ 123.373456] EXT4-fs (sde9): warning: mounting fs with errors, > running e2fsck is recommended > [ 123.389649] EXT4-fs (sde9): re-mounted. Opts: data=ordered > > Can you provide some inputs what could be the issue with this > partition? > > -Thanks, Prasad -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, Linux Foundation Collaborative Project