Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp2979059pxb; Fri, 8 Oct 2021 21:25:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8/4g4EU7NdCLfJfG0+Ql/g5mC/8EU8ZRdlPdYO5jaPYsdfKzL8P30HLMbnTiKHTIGsv3Z X-Received: by 2002:a17:90a:9b13:: with SMTP id f19mr16854146pjp.16.1633753533105; Fri, 08 Oct 2021 21:25:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633753533; cv=none; d=google.com; s=arc-20160816; b=Pu4bdGGvoyfSpjCikN9sAHTFwUF2V8BhuhMQMl6POx/xG31WKZqycJmWqIrUU2MSZb RnsBy1mVSm3ANE6z9DciPwRfp2PE6x4lApx6f2ftv65AtHD1I0kxCXR7qCgmYcWQWD17 p4LVyKVQf4LKV9g7WJonGjaFgDjQ1GLreeABzPcJME7vNapomzjIlMtks3xV2dHTo5TE 01GDwp2IwwClaA4b+ERAdNAoXO/IVHRquDkt+0q3FPqidopad3XUnzzg4hNyrZA4oppw 36s7DWqROu+SprypEmpjk2ywEOEH9s3wIG6PKJZGY6/sy1qUhc8kpzAi/jmkynw143nC ys4A== 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:dkim-signature; bh=tdsmBzv6vSUatL52VQ4NlO0ZOSULLbLEqCmNPlto1qE=; b=ybcBInp1noBiuKcT/bUjkqmHGLIdegdOOb6zG8qSV6sKaan0y+zVQ7gfDFc8eTcqv1 G5Yl8BnH04FekONmy0+lAdfLCSUWcJ676Xa8kiyjPo/DfMcl+jTM7u8b6KleWQgkn8k6 nR723AeAbzp5tmbKImhmTxnM+dCFGoMqCLdyFlZlG0Rj9JJdjQni4LQAVbFn9bZ0rRGW w6gTvjKRqt6e7AtAtENyIgZtnt4jVk06k/kEdBpLcbpnKKBNd4SJlUATYcF3+tQGry22 v5O5ok305sfwzxWH9YLHmLsHSqVxuulbaeVnKO6ixps135qJwRKHNWmPIaD9nohpwNeQ 7QDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S1CFT7su; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r7si18181011pjp.6.2021.10.08.21.25.19; Fri, 08 Oct 2021 21:25:33 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S1CFT7su; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229742AbhJIE0c (ORCPT + 99 others); Sat, 9 Oct 2021 00:26:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:59692 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229594AbhJIE0b (ORCPT ); Sat, 9 Oct 2021 00:26:31 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8868960FD7; Sat, 9 Oct 2021 04:24:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633753475; bh=ziwox/3IPHFZ71CM62L5TFAi8Z8VL2tm8zXgH6+KQZQ=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=S1CFT7su1MlEsaYtzgDHbEI3QvBE+AnJXOzxJXdBBWwT03VLEGBuIlu6XUPP5m0fI MPkjiWwhJPDHLN9FuVefyA37GqDyR+d645D5Fzn4BUseX5KEgHxDbd97Stjp1Q5JRK BVG0CbRdLGUqlOkYY/Me9cpzwPcEbOb5yyF4wtWLdAPbyoYE65wpnpUrDnsBQISmXu HyLxtqpOZwG1awF+NRTy5kWHyctViP3gQlb9defCalbHNJTEhMCPfEaMfcOyoFD1yS WRGdlXcH7n/39eqkxaZg/wPxD8vjheqjZXMWKDtk/ewVZphI78GuQUbsX9q7dV8n8C XXrOuXQ5WogNA== Subject: Re: [PATCH v2] f2fs: fix to use WHINT_MODE To: keosung.park@samsung.com, "jaegeuk@kernel.org" Cc: "linux-f2fs-devel@lists.sourceforge.net" , "linux-kernel@vger.kernel.org" , "tanghuan@vivo.com" , "changfengnan@vivo.com" , Daejun Park , Jinyoung CHOI , Sung-Jun Park References: <20210930005939epcms2p7303bf6f96c824720f824989746491cba@epcms2p7> From: Chao Yu Message-ID: Date: Sat, 9 Oct 2021 12:24:31 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20210930005939epcms2p7303bf6f96c824720f824989746491cba@epcms2p7> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/9/30 8:59, Keoseong Park wrote: > Since active_logs can be set to 2 or 4 or NR_CURSEG_PERSIST_TYPE(6), > it cannot be set to NR_CURSEG_TYPE(8). > That is, whint_mode is always off. > > Therefore, the condition is changed from NR_CURSEG_TYPE to NR_CURSEG_PERSIST_TYPE. > Fixes: d0b9e42ab615 (f2fs: introduce inmem curseg) > Cc: Chao Yu > Reported-by: Huan Tang > Signed-off-by: Fengnan Chang > Signed-off-by: Keoseong Park Reviewed-by: Chao Yu Thanks,