From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5CAB32629C for ; Thu, 29 May 2025 03:00:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748487616; cv=none; b=oZiV/TIENDSiXHMVqVb9v1E4uI03lmJshhxtFklUKTa5x71VtZsNgQhfnzz60Dkjt0hq/royN4K724Otcca85fVoZ7D9Up0fHbOF6vVRL4MOSBXUSPn9q+CDnBhfdvvOPvxSq5nORVOxTM4K8eSXthyPWKqjjg5qB8b3bQMrQq0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748487616; c=relaxed/simple; bh=4jwz9dykOXSG4DrviZmGzD42jgROTg6GslAB5IwiyzI=; h=Message-ID:Date:MIME-Version:Cc:Subject:To:References:From: In-Reply-To:Content-Type; b=oot7yJjGQgoxyuzu/H0iZ6cApmLKuy+HuoFRRUVREQEIDL2IGjje4U1ynBDqGU8om+QEySesoOifohFv2iBAM22MNsdWopdJV7lbF7C+n4xKsC4mHP6It2/cf48pq1eNTlDs/m5QyGHE0dBd/7eaQXLKB+PbDZzhwy8Qjgmfq1Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mbpUGI1k; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mbpUGI1k" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8BF41C4CEE3; Thu, 29 May 2025 03:00:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1748487615; bh=4jwz9dykOXSG4DrviZmGzD42jgROTg6GslAB5IwiyzI=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=mbpUGI1kyHGlrTeWwFlSdZVPeY8VWHXoJxhRxmamOlPPOI5J1vL/gi29+6a1gDy2I B7Enxb3H6l7aBmyrsgI9Bu8kdis1Nrt6zPLqAxmuQLhyCXflhFcCmBwdUoVCkhvhSz /Rk8A0TKaGScJ5lZxKiULHacIpPVRk8rq/PnqhLwWIPsprEIIvRlNgv3e5OOYFbAtX wXeI6kSwBYH+ykyxbKz+0Uvaf28RDCCO2w0MyR+bb/SJ4/YfzvX4dBB+HIQcelhgPk jdM8/pRVwLjjhaw6nKzCOwgoTSrD/d31M90yseMdKbjPfEyC2JJc2ZjZBbFgPUCQqf 5J+zOKDsY3snQ== Message-ID: Date: Thu, 29 May 2025 11:00:12 +0800 Precedence: bulk X-Mailing-List: fstests@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Cc: chao@kernel.org, jaegeuk@kernel.org, linux-f2fs-devel@lists.sourceforge.net Subject: Re: [PATCH v3] f2fs/014: test for missing 'trimmed' flag issue To: Chunhai Guo , zlang@kernel.org, fstests@vger.kernel.org References: <20250526080323.1851300-1-guochunhai@vivo.com> Content-Language: en-US From: Chao Yu In-Reply-To: <20250526080323.1851300-1-guochunhai@vivo.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 5/26/25 16:03, Chunhai Guo wrote: > This is a regression test case to verify whether the CP_TRIMMED_FLAG is > properly set after performing the following steps: > 1. mount the f2fs filesystem > 2. create a file, write data to it, then delete the file > 3. unmount the filesystem > 4. verify that the 'trimmed' flag is set in the checkpoint state > > We should apply the commit ("f2fs: fix missing discard for active > segments") to resolve the issue where the 'trimmed' flag is missing. > > Signed-off-by: Chunhai Guo Reviewed-by: Chao Yu Thanks, From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8E863C3ABB2 for ; Thu, 29 May 2025 03:00:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type:Cc: Reply-To:From:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Subject:In-Reply-To:References:To:MIME-Version:Date: Message-ID:Sender:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=WnLsDpU0BMLMH6a6YZEN29hCCe5xMQ3uQwxGHr/Lkz4=; b=QsCCs3+YNF9FKpAsousvGa+GX+ +KBRAohDYpfwaeJSh+mtuU8zoD843h/Hnoyu7fMRCWnz8VXpk88BVigZIlPENfGG6Z53orqJSINXz Tn1PPHNieJLHQomXzijVWFha1h2FoXx3SqzYw1Lw6Wet7KcPFIvFVJLp2/5txIsf/lyc=; Received: from [127.0.0.1] (helo=sfs-ml-3.v29.lw.sourceforge.com) by sfs-ml-3.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1uKTVM-0007K5-GL; Thu, 29 May 2025 03:00:28 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-3.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1uKTVL-0007Jz-Br for linux-f2fs-devel@lists.sourceforge.net; Thu, 29 May 2025 03:00:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: From:References:To:Subject:Cc:MIME-Version:Date:Message-ID:Sender:Reply-To: 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=xkclZhV8u89qzHr7rFl+V1dlJzoQGFmufCYdruvQm4g=; b=nMr9++thTYj4YCBQkcSwDKwBoX vYLaLzKhgmwNCQhwbtEGBhTIvyCBiboQNDMjfZxko3myrFMPyJsLk+AMhXUoc9P/aZW8u+ItmKfrs muAQhtPphQgwPMdXazGS51SF67R2JDRre53QSzJP2lta8AWe8FXnnXWO7rf2tUm9E3ss=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From:References:To: Subject:Cc:MIME-Version:Date:Message-ID:Sender:Reply-To: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=xkclZhV8u89qzHr7rFl+V1dlJzoQGFmufCYdruvQm4g=; b=lwdzq/nm1P9ZLz7SHGgxJs5l6n f4Y73Ks5AJwGYfx755C9vrzGpRxHuYJSI5wQBFlpRhrtBZK+tAxMKctwwdJmlaJscw6G+sukqCM3A aYPeHRFmHg7OB3yZqoBzetMP3Nw34gddbzxweSK1gqzlUrEd0H2SLhXeNtkTKdCYYkxo=; Received: from nyc.source.kernel.org ([147.75.193.91]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1uKTVK-0000XC-NQ for linux-f2fs-devel@lists.sourceforge.net; Thu, 29 May 2025 03:00:27 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 18396A4FBAD; Thu, 29 May 2025 03:00:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8BF41C4CEE3; Thu, 29 May 2025 03:00:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1748487615; bh=4jwz9dykOXSG4DrviZmGzD42jgROTg6GslAB5IwiyzI=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=mbpUGI1kyHGlrTeWwFlSdZVPeY8VWHXoJxhRxmamOlPPOI5J1vL/gi29+6a1gDy2I B7Enxb3H6l7aBmyrsgI9Bu8kdis1Nrt6zPLqAxmuQLhyCXflhFcCmBwdUoVCkhvhSz /Rk8A0TKaGScJ5lZxKiULHacIpPVRk8rq/PnqhLwWIPsprEIIvRlNgv3e5OOYFbAtX wXeI6kSwBYH+ykyxbKz+0Uvaf28RDCCO2w0MyR+bb/SJ4/YfzvX4dBB+HIQcelhgPk jdM8/pRVwLjjhaw6nKzCOwgoTSrD/d31M90yseMdKbjPfEyC2JJc2ZjZBbFgPUCQqf 5J+zOKDsY3snQ== Message-ID: Date: Thu, 29 May 2025 11:00:12 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Chunhai Guo , zlang@kernel.org, fstests@vger.kernel.org References: <20250526080323.1851300-1-guochunhai@vivo.com> Content-Language: en-US In-Reply-To: <20250526080323.1851300-1-guochunhai@vivo.com> X-Headers-End: 1uKTVK-0000XC-NQ Subject: Re: [f2fs-dev] [PATCH v3] f2fs/014: test for missing 'trimmed' flag issue X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Chao Yu via Linux-f2fs-devel Reply-To: Chao Yu Cc: jaegeuk@kernel.org, linux-f2fs-devel@lists.sourceforge.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On 5/26/25 16:03, Chunhai Guo wrote: > This is a regression test case to verify whether the CP_TRIMMED_FLAG is > properly set after performing the following steps: > 1. mount the f2fs filesystem > 2. create a file, write data to it, then delete the file > 3. unmount the filesystem > 4. verify that the 'trimmed' flag is set in the checkpoint state > > We should apply the commit ("f2fs: fix missing discard for active > segments") to resolve the issue where the 'trimmed' flag is missing. > > Signed-off-by: Chunhai Guo Reviewed-by: Chao Yu Thanks, _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel