Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3834257pxu; Mon, 12 Oct 2020 02:21:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLoXI1TrW2stchADKB94xUOQy1AfOnIBHslTpW82X3JdJbFA5KBc0ShIddpAGuAgP6zmCd X-Received: by 2002:a05:6402:13d7:: with SMTP id a23mr12701317edx.352.1602494504884; Mon, 12 Oct 2020 02:21:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602494504; cv=none; d=google.com; s=arc-20160816; b=q09lNYT5lMugd4wFtbguInh9xAz/kbJmPJxA7hSM9reiz0efITiTI2QwR5yZEDpFv7 ImwvyfKPi0LOuP30WyB6pbN+E6e+q5EHlP5qxuATf3GY0BuHqz+1AqP0Mjr2G8a0seTH o5IzR2GBg8u7PFYJ6RA2anRBQ+uRitCRQilcmp2UcNp8y0Mpg2x5iBiFRL85xdFmBAwc zDNdd/sScvimL+1kWCFu/j5zXsuBdwKCzZ+zg6UU/zhhkOTXvmo/B8GfDu7E+6JtiHDm mk1/6SCg2g3BGHtMES8W67TBSyUF6LhHvroOf4yB5VhLhFckdD2NsSb7m9lHx2Pd6DRU EfTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=Q+yGbri3FIBHtLYL/b8rdKOARG1RYIlgqHFjbJGoP3Q=; b=kimjmvHyoFj0eJkwJRjV5dNmoojOqddu9V81Lyw05RzJWZ6F6Kkane6S0NvdjqYXJ+ kVaMl4wk5/vPhT2T9JMR3yib4CVLkFiRZQSGwyUpPWHL5z/fOKj+i9X96OGLbcxFGPDY Y5CfnfVKR14vkXbjWD5YgcHy9ZnftyqmNsLiEa8Bg/zmXr4HDZzAZXur4eAbO7WE7I6w xsYOKfEWC76Q2tpNQ+sHz83WCJcY0LYOsidEAlWeHFUrGo8nk8K861l6fg0VCjbkAJD6 AB/5Pd/WRI/Tey5RnQkjSw0FfEUftRrkwGUbuT9BwmKm5FnRJxAuoHUlcWPrba7twpr5 iLNQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dk22si11691166edb.258.2020.10.12.02.21.22; Mon, 12 Oct 2020 02:21:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729123AbgJLJTn (ORCPT + 99 others); Mon, 12 Oct 2020 05:19:43 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:15275 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727227AbgJLJTn (ORCPT ); Mon, 12 Oct 2020 05:19:43 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id C9361749BE495EE3BFA0; Mon, 12 Oct 2020 17:19:40 +0800 (CST) Received: from [10.136.114.67] (10.136.114.67) by smtp.huawei.com (10.3.19.211) with Microsoft SMTP Server (TLS) id 14.3.487.0; Mon, 12 Oct 2020 17:19:39 +0800 Subject: Re: [f2fs-dev] [PATCH] f2fs: fix writecount false positive in releasing compress blocks To: Daeho Jeong , , , CC: Daeho Jeong References: <20201012045947.3622888-1-daeho43@gmail.com> From: Chao Yu Message-ID: <44ebf328-7d67-8826-9000-5858e8c11db8@huawei.com> Date: Mon, 12 Oct 2020 17:19:39 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20201012045947.3622888-1-daeho43@gmail.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.136.114.67] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/10/12 12:59, Daeho Jeong wrote: > From: Daeho Jeong > > In current condition check, if it detects writecount, it return -EBUSY > regardless of f_mode of the file. Fixed it. > > Signed-off-by: Daeho Jeong Reviewed-by: Chao Yu Thanks,