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 ADF03CA0EE6 for ; Sat, 16 Aug 2025 07:05:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Type:Content-Transfer-Encoding: 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:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=XkLo53QJtsj840ZIczqavkabea3OLc4v5s782sswWYA=; b=Dvgi8KpbQvKIxyV3CABn+tJsVZ 1dTduraBcHcq+XQdbEvoVWYhkDhJW1B4MZcUzrx5cZ0csl7W54cY55Q2bevykb2yhTLoaebKaz1xw JNXLbeVl8oxfC9nF8InhpVzVqy1By8gBDmgTD/rQZsdvrhcSsEMznaDAtXdkGrtCR8CQ=; Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1unAzD-0007Mg-BE; Sat, 16 Aug 2025 07:05:55 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1unAzB-0007Ma-O8 for linux-f2fs-devel@lists.sourceforge.net; Sat, 16 Aug 2025 07:05:53 +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=O85Qjw1tb+RPdtyihOGDiuRqxcXOOZyRRhgYjf8JlWU=; b=asMFr6Myb7YOjj2ZNQS8BQ2MOO up4lDjBqCXmn6WqdrY7Tc1y3Dz0TfavFARBOUP8WIeAr5+7m2TfcIzKdxIWtdHkxgVl1TB/zsw6KS gL9kft1C4qHAfdX3IhVA0JjR6hn+P/VspDeJzo449FH92xsPl94E+XDYENYqIX4UvlWQ=; 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=O85Qjw1tb+RPdtyihOGDiuRqxcXOOZyRRhgYjf8JlWU=; b=HrhuqybODI7Tx2+Vek5p5l1LL1 KZviGvcOSNfSWlVWa5uVB2Sv4ZP8DIIW4B43Ddi06gg6oncQALkfTwVe1kSuDigP8GjgbD8y+tJ0/ bTYBUG5GcI+wubamlobpW5R0Mm/EPTfHXYF4xc89KkzoS/xHSSpB//JDPQnvI8RJaCLw=; 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 1unAzB-0002fU-Ae for linux-f2fs-devel@lists.sourceforge.net; Sat, 16 Aug 2025 07:05:53 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id A3EA5A584AA for ; Sat, 16 Aug 2025 07:05:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 443DDC4CEEF; Sat, 16 Aug 2025 07:05:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1755327942; bh=hu35BagZj+Xff393XimS0+DUXx08BEHNx1DZd0VL3n8=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=biWRzoO7D0f7WgMAcfNlal51qjai10RqQdLphxz+4Gy7ZbirG01y7L5VO/MgSGVxA B+vMEkwQBsJXFRg6cDGUvYsPxA8jtvZataFIynXXbTGaVGKHA9f1xYQ8bNa0E7C6hK 2oRErCKELVTrFnusXfCKHHOV5kB0Z7UKuDw8oNDAk0tXs1zeM2LPrGwGVRc1NP+2Hd zAd3HAXr27W75JMW9GJDMv9pHO8qheRZT/K3GQ+GmfGZSAGAxzmI3L0ekKw+tSIXvf wdXSkoKVR7MGLMvNzhbz5+0sj6UxFfYdbR34c1l7sbgAFpomrzh/5YbSkiG0rheS2e fJnSyoPJIcS+Q== Message-ID: Date: Sat, 16 Aug 2025 15:05:38 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Jaegeuk Kim , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net References: <20250812235814.960924-1-jaegeuk@kernel.org> Content-Language: en-US In-Reply-To: X-Headers-End: 1unAzB-0002fU-Ae Subject: Re: [f2fs-dev] [PATCH v3] f2fs: show the list of donation files 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 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On 2025/8/16 00:20, Jaegeuk Kim via Linux-f2fs-devel wrote: > This patch introduces a proc entry to show the currently enrolled donation > files. > > - "File path" indicates a file. > - "Status" > a. "Donated" means the file is registed in the donation list by > fadvise(offset, length, POSIX_FADV_NOREUSE) > b. "Evicted" means the donated pages were reclaimed. > - "Offset (kb)" and "Length (kb) show the registered donation range. > - "Cached pages (kb)" shows the amount of cached pages in the inode page cache. > > For example, > > Donation List > # of files : 2 > File path Status Offset (kb) Length (kb) Cached pages (kb) > --- > /local/tmp/test2 Donated 0 1048576 2097152 > /local/tmp/test Evicted 0 1048576 1048576 > > Signed-off-by: Jaegeuk Kim 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