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 D68C8D12668 for ; Tue, 2 Dec 2025 18:08:06 +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: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=5yb9LM7Vln3ZHOVkAwopkLFdqA9rcHPrXKY7c4PrSqs=; b=Adkpe6Ufv3ZlnxVtIPSbpwcudP 9MlazBbHHosM6th0QFcpzmTfA84QwDtDqUFY1OMDmatTn1IcoqSB5zGCwuxlLm+Jd0gw1K3sJ4dhP BldJPZ1WEwBRyI1bsqdAbZx3/Pi4PFwCGG+H5tVv6yvTId62SzE1SX/APDtrth3nmv18=; Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1vQUnF-0000QM-Cw; Tue, 02 Dec 2025 18:08:06 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1vQUnD-0000Q6-KY for linux-f2fs-devel@lists.sourceforge.net; Tue, 02 Dec 2025 18:08:04 +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=IGRnLYWX5yXFPTyqJxiH5xzhTS9Ik0bKJQKVF6CnXI0=; b=dPPBLa/Rt41R9Klqx9gud1GaoH HW96TR79tf812hMC6Pc22cEljRcABoPCdovodE/xSMJIP9ucNZzCyM0WyUCEV0AvUMXUVtOE/zwqK j/+I3/QkvWmOTO2sKqpgszx2MHy5thKu4VE8YiG0EGX4wR63JZhPImp38+5fzzBHjgW0=; 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=IGRnLYWX5yXFPTyqJxiH5xzhTS9Ik0bKJQKVF6CnXI0=; b=GVeDfx/bB1z49QK1qwKMUMIaNi XWFv3/xKR1j4NVJbVs1PXIjJvgMtMq8nU1FsA4RQZl5TJgHjURBbfUApNTm/O1wqaw3dVPMxrm4+p Uo9cyC82BZjLWrD4BLeQpsza2feIQcojm+z35BmVvFIqDIfZIVKk9KIenMuArhJQE3Uw=; Received: from sea.source.kernel.org ([172.234.252.31]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1vQUnD-0005Lh-RA for linux-f2fs-devel@lists.sourceforge.net; Tue, 02 Dec 2025 18:08:04 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 816CD43AA7 for ; Tue, 2 Dec 2025 18:07:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D8192C116D0; Tue, 2 Dec 2025 18:07:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1764698873; bh=lNMThDcnBs33yUKf9ipOCpdmS/d1fCekztUjy0LIXHo=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=kKLJrHnb9XDzygJeHgCdudXHPqiwCrTzWtqlL5mIjlbLjeOwge8MvwnfwI2IY4DGk DUY08VqRVUaVeHrJNv2WABHBAN71GuDChotxOIsa/fMdPdFdnuj6reuHqjCzLxmlN4 PY3EBr2wgceoiaZyRxLs6VakjcKza11VQo38DU4/IUb9WlQY+3OlEd/qGSd/oY2s79 IwiKP83rOSwOn0r06DRZDAbHDbkRtJ5vnEcA5VskYyslNyikFOnAT2EefJd0MMbbpK uMbWSRaJ0Qhwt4Oikrnd/bGlKeDZY4/e6dlMGSZ1cdZCnXPyn3fp6sPpJJx59MFVVp GlCnz4SPvuGHg== Message-ID: <97ecd003-e3bf-4112-80e5-d2db31484471@kernel.org> Date: Tue, 2 Dec 2025 10:07:51 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Jaegeuk Kim References: <20251120235446.1947532-1-jaegeuk@kernel.org> <0153ff69-789d-4fe1-a89c-0c607a9a7d6c@kernel.org> Content-Language: en-US In-Reply-To: X-Headers-End: 1vQUnD-0005Lh-RA Subject: Re: [f2fs-dev] [PATCH 1/2 v4] f2fs: support large folio for immutable non-compressed case 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: linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On 2025/12/2 10:38, Jaegeuk Kim wrote: > This patch enables large folio for limited case where we can get the high-order > memory allocation. It supports the encrypted and fsverity files, which are > essential for Android environment. > > How to test: > - dd if=/dev/zero of=/mnt/test/test bs=1G count=4 > - f2fs_io setflags immutable /mnt/test/test > - echo 3 > /proc/sys/vm/drop_caches > : to reload inode with large folio > - f2fs_io read 32 0 1024 mmap 0 0 /mnt/test/test > > 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 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 D123929BDBF for ; Tue, 2 Dec 2025 18:07:53 +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=1764698873; cv=none; b=G1xUVxI6nrPr3RIsoiq4ttCwvcVfpVBSWGBL9ymDoq57q6hyWwOQXjdlPsYpBSpKhrpnNNQMJW/cNIXXboQFGZi1wRiYTeEdx5/TrV7ZxcZx2OI4+g/0ZxJo8WwYMFSCn1nayAcpF4vwUsGHm1K6b6JZzsx5Z8nu6sguycqtDIc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764698873; c=relaxed/simple; bh=lNMThDcnBs33yUKf9ipOCpdmS/d1fCekztUjy0LIXHo=; h=Message-ID:Date:MIME-Version:Cc:Subject:To:References:From: In-Reply-To:Content-Type; b=ake85SGdP1yb7z+b5K74l1IKHuJPQlIdZhuzRolL3ytwKSWZlH5P+O/ov+c6bWCmu6/i3AtCOXUNLu5SoHQplH7epuUF0oU8MyZzdpNy+w0+3/SL99Eo7xx7Rhipk9Rg0LHGaiqirmOJuXYZ56KSOQpv4DnvhPKumU9ANlYpfR4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kKLJrHnb; 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="kKLJrHnb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D8192C116D0; Tue, 2 Dec 2025 18:07:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1764698873; bh=lNMThDcnBs33yUKf9ipOCpdmS/d1fCekztUjy0LIXHo=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=kKLJrHnb9XDzygJeHgCdudXHPqiwCrTzWtqlL5mIjlbLjeOwge8MvwnfwI2IY4DGk DUY08VqRVUaVeHrJNv2WABHBAN71GuDChotxOIsa/fMdPdFdnuj6reuHqjCzLxmlN4 PY3EBr2wgceoiaZyRxLs6VakjcKza11VQo38DU4/IUb9WlQY+3OlEd/qGSd/oY2s79 IwiKP83rOSwOn0r06DRZDAbHDbkRtJ5vnEcA5VskYyslNyikFOnAT2EefJd0MMbbpK uMbWSRaJ0Qhwt4Oikrnd/bGlKeDZY4/e6dlMGSZ1cdZCnXPyn3fp6sPpJJx59MFVVp GlCnz4SPvuGHg== Message-ID: <97ecd003-e3bf-4112-80e5-d2db31484471@kernel.org> Date: Tue, 2 Dec 2025 10:07:51 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Cc: chao@kernel.org, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Subject: Re: [f2fs-dev] [PATCH 1/2 v4] f2fs: support large folio for immutable non-compressed case To: Jaegeuk Kim References: <20251120235446.1947532-1-jaegeuk@kernel.org> <0153ff69-789d-4fe1-a89c-0c607a9a7d6c@kernel.org> Content-Language: en-US From: Chao Yu In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2025/12/2 10:38, Jaegeuk Kim wrote: > This patch enables large folio for limited case where we can get the high-order > memory allocation. It supports the encrypted and fsverity files, which are > essential for Android environment. > > How to test: > - dd if=/dev/zero of=/mnt/test/test bs=1G count=4 > - f2fs_io setflags immutable /mnt/test/test > - echo 3 > /proc/sys/vm/drop_caches > : to reload inode with large folio > - f2fs_io read 32 0 1024 mmap 0 0 /mnt/test/test > > Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu Thanks,