Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp975720pxm; Thu, 3 Mar 2022 08:06:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJyjUfUfWs00UArCip92rQrQ+wn9FY0UrzTPNSBi43eIpfZQ1biNpztp9b1Q3J48Iq2w4yZc X-Received: by 2002:a05:6402:51d1:b0:412:e72f:c6d3 with SMTP id r17-20020a05640251d100b00412e72fc6d3mr35014212edd.61.1646323612864; Thu, 03 Mar 2022 08:06:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646323612; cv=none; d=google.com; s=arc-20160816; b=YSdLB6AlCARNdOJzWwyZ+1FHj1irI/8AFXvYwMdZufm76Y5bpVqvFhcB5llWg0K+Fl abczjEmr8Ah5xtmk0IJUW7Qlz1Dp0rvSDcYJdI1dhCLy9BEUGrxss6QJA9atcq3BvLYr 2v2hczCJPZunfIhyaaICqAATuke82/1+PJsrBNgrth5/wcqBWpX0UzE2/Vq6TLrjP0bN Z6B1BAUYSoeS+IpUQXx9CfMqv8DHfvE/EKxYoEDyf4KGTP/L0ONLuPoMiZOLPoidAofO p8CcOlj+dCxrKvBO1wfCZ4BBp1fA80Zvjyrt49ojhL/824HRDXdmK/iQYalWqA02l/hX hqfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:subject :from:references:cc:to:content-language:user-agent:mime-version:date :message-id:dkim-signature; bh=S6GwEiWawFVGXEKP9HgkfVlFyF83jg2EieSPr6ThFXk=; b=rWJ/KujLaZccaRB2aphHrqX1Jq4zwj/BbyGxnV55xNzEjFOjmm50hxKy40ftWW6ELL Uj7/MdSh0iSC9t8b7s+ry/URP5tqdYXj9swCcezyXl1oWgHR8MdMDvX9bG66N+nnTmZ5 gHEDsuKOXGS+fgHy+KfOR5FIc0fVcCSSwcKBbaZsuUG9JUwG2866O/cHY/lhUh46FBVR y8QUD6iXo0lO9JeL5TZB9e+rA6eRzN1Gvf8VGpJvGBVlk/npxMmY4F1sPrmOAtSKO7Q0 l8c1+mE53/nMAk/AGy8QtUCLVBzRsEo8KkbIqExq1Zy9ZTtPZrKions/4VhC49WeL9aV Pb1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="FP/+4u9Z"; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z22-20020a17090655d600b006cfff6dbb70si1402169ejp.990.2022.03.03.08.06.17; Thu, 03 Mar 2022 08:06:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="FP/+4u9Z"; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234518AbiCCPiK (ORCPT + 99 others); Thu, 3 Mar 2022 10:38:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234503AbiCCPiI (ORCPT ); Thu, 3 Mar 2022 10:38:08 -0500 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63471194165 for ; Thu, 3 Mar 2022 07:37:23 -0800 (PST) Received: by mail-pl1-x62e.google.com with SMTP id e2so4858865pls.10 for ; Thu, 03 Mar 2022 07:37:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:content-language:to:cc :references:from:subject:in-reply-to:content-transfer-encoding; bh=S6GwEiWawFVGXEKP9HgkfVlFyF83jg2EieSPr6ThFXk=; b=FP/+4u9ZWslnptfZ4P5JD4GvDA5ki4uAdWGK1DXQNPuAU31pPahTmKQsOnjQOOGSJ4 tEimGZ9V2jz+pipxb6wgIOHa3dZ66vl5MijmGZ0Du1qBhY1h75RdWOrxSncUt5YAjWXF b28QyTW7zXOF63p5PRfxBwtADRDb2VsGJlmAoZ0ivQJ5rPT3LvVrGp0Q9vQtgnD5/gSo GRNI9KMwJNUVhxcoWeosiOFSS2HcFvVrGMw9eYn5Wvgu18xGWTeSuwH4OcN2SAOXM8w9 XBgNuFlaPNS7k5Cj54H8tKQP7/duRwpF7GPeqTp/5rrWie8G2wp9P/Q5DXFijT7IaBxW nC+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent :content-language:to:cc:references:from:subject:in-reply-to :content-transfer-encoding; bh=S6GwEiWawFVGXEKP9HgkfVlFyF83jg2EieSPr6ThFXk=; b=mwViJC4ADeWQcthlKuFVm763P+m98/1Z6QcQFqFWqBwatRSX9U/zMtVUWjjwaCH4vb C+10e3zEjmKlPSQnE+S6eumgTkTe2rGfIZwetjK4qoO9LM9Tf9HvspM4dftd8HRhbVZS ulLYQrGybvB1CQjtPlrgr1SJX1bKUVSz42ijZPERUyEMTciBftAdxUkyE9I8Osn7oHa8 /VnMyC9y4TZYU17rom+hvA+p98hDSpObMydWBQiw1g+oTo6NF71i2wZnZFLj1bbfQRUN eFxUrQIZSdh4lfWviGn83K/OhTuiaw5Hkbwx1tGTW5Iwal0f6YXsdimKHZ/5G9AdryrS kSwQ== X-Gm-Message-State: AOAM532OJQIt4dAkCak0n7BEU8EDgANLCOX0jcngwPpZ34Z7PRa4Uh9T tP0tMsUaTy6PBgFR7lN7ohd6lQ== X-Received: by 2002:a17:90a:9292:b0:1bd:1bf0:30e6 with SMTP id n18-20020a17090a929200b001bd1bf030e6mr5865952pjo.73.1646321842888; Thu, 03 Mar 2022 07:37:22 -0800 (PST) Received: from [192.168.254.17] ([50.39.160.154]) by smtp.gmail.com with ESMTPSA id oa2-20020a17090b1bc200b001bcff056f09sm2545893pjb.13.2022.03.03.07.37.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Mar 2022 07:37:22 -0800 (PST) Message-ID: <995d8b3c-44ee-e190-42ae-75f2562b8d6b@linaro.org> Date: Thu, 3 Mar 2022 07:37:21 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Content-Language: en-US To: Ritesh Harjani Cc: Theodore Ts'o , Andreas Dilger , linux-ext4@vger.kernel.org References: <48308b02-149b-1c47-115a-1a268dac6e24@linaro.org> <20220225171016.zwhp62b3yzgewk6l@riteshh-domain> <25749d7d-7036-0b71-3dd8-7b04dcc430e4@linaro.org> <346904fd-112a-8d57-9221-b5c729ea6056@linaro.org> <20220303145651.ackek7wotphg26gm@riteshh-domain> From: Tadeusz Struk Subject: Re: BUG in ext4_ind_remove_space In-Reply-To: <20220303145651.ackek7wotphg26gm@riteshh-domain> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On 3/3/22 06:56, Ritesh Harjani wrote: > On 22/03/02 03:14PM, Tadeusz Struk wrote: >> On 2/25/22 11:19, Tadeusz Struk wrote: >>>> I can verify this sometime next week when I get back to it. >>>> But thanks for reporting the issue :) >>> >>> Next week is perfectly fine. Thanks for looking into it. >> >> Hi Ritesh, >> Did you have chance to look into this? >> If you want I can send a patch that fixes the off by 1 calculation error. > > Hi Tadeusz, > > I wanted to look at that path a bit more before sending that patch. > Last analysis by me was more of a cursory look at the kernel dmesg log which you > had shared. > > In case if you want to pursue that issue and spend time on it, then feel free to > do it. > > I got pulled into number of other things last week and this week. So didn't get > a chance to look into it yet. I hope to look into this soon (if no one else > picks up :)) I'm not familiar with the internals of ext4 implementation so I would rather have someone who knows it look at it. I will wait till the end of this week and if there will be fix for it by then I will send a patch fixing the off by 1 issue to get the ball rolling. -- Thanks, Tadeusz