Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp717735pxu; Thu, 26 Nov 2020 09:52:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJye8I0Bp3K1xkryHhBwAYv+68g0cYDVf7YTZIyWMlBl15roqcyD1vX2dyjfAkhcgHDceZC5 X-Received: by 2002:a17:906:a197:: with SMTP id s23mr3764021ejy.463.1606413155950; Thu, 26 Nov 2020 09:52:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606413155; cv=none; d=google.com; s=arc-20160816; b=nmq6HCTiQXL96LsnTC/iC3oxNkDSs498LIce6RT7KGR9//njuCyT2KRys8KSNZ8WD2 9MOawHu6UtOMhg4vIPZGnhpZS4Znl2FzmhGbzt57c5eM5nnJ7SF2MCcGmqNFXcHDgG9q p7xAOEnmfXIcA+0OXq/5sVZ4K150mYQ55vbq0thyJ7vKjrgyFAMLb0pLMrh1tT8grsQN pPE+3vFZiiuwamxQ32H4YnXENOrV1RNc28esFIPRTsIk99+ucKae1UuJ6s2WoBjWBGEq GFuHEMfdwS+1/4aEHjCNnQuVAiDJDLOfTrge61K0BLE5QtCkYme7OVpbFxCOgd4abQrR yDYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=hMl+FHjlivENcMZp9kN382Qfgc3teG6dw7HLRlVn2iA=; b=g+ifDDjG0yX6uT4bP4k2wZ+4YJIZnFAXGdOpDLQuIFVOTB8gMeNdFqOLmgUNTOF0D4 3lXcUmCi/QLWwq1UNwib2bAk7tWeisyceqyyvUrhi4gPAcg9f5ggYG++Dld41aFcJH1z +pZg0UZfF+Okx5SQ31FiXOjv0LkPpoYxH9UJpF46jMdJJXtcH4wBkLkE2457uvAjPIFx /tQeMSPbNqvEvS2z3k37hcu42KC3wKTc32EFv2KKFRv/bUzenQByzIjJTXSUx3PLHjh5 lWYObRizYUnGmVQ1UrXm4HN6LvAwKiN/B/oIueKmN7e9NYELB+7tffrMD5oMJxc/aji+ HSEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=oGrVxfJ+; 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 c19si3422179ejz.274.2020.11.26.09.52.12; Thu, 26 Nov 2020 09:52:35 -0800 (PST) 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=default header.b=oGrVxfJ+; 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 S2391689AbgKZRtk (ORCPT + 99 others); Thu, 26 Nov 2020 12:49:40 -0500 Received: from mail.kernel.org ([198.145.29.99]:43428 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391626AbgKZRtj (ORCPT ); Thu, 26 Nov 2020 12:49:39 -0500 Received: from sol.localdomain (172-10-235-113.lightspeed.sntcca.sbcglobal.net [172.10.235.113]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 257F52053B; Thu, 26 Nov 2020 17:49:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606412979; bh=BD8kUdWFybD9t7G40pqo6k9zDUDc9M1OCvnslZNmT4A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oGrVxfJ+LzZIs8hVexHcq3DO90RyIP3/zN4o9egA8ewsVmKocSWibGMAQiPB+c2YU b2vUm3XfWmGHmev1MKAGbIgC2MSHDF8wYlLR1ubi9qyg8NAGPGCc9LN8hnKlqMfRc2 wYQOmT95L0gjoRPFXx5d5z8hm5xFieSByrUFFKm4= Date: Thu, 26 Nov 2020 09:49:35 -0800 From: Eric Biggers To: Daeho Jeong Cc: Chao Yu , Daeho Jeong , kernel-team@android.com, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Subject: Re: [f2fs-dev] [PATCH 2/2] f2fs: add F2FS_IOC_DECOMPRESS_FILE and F2FS_IOC_COMPRESS_FILE Message-ID: References: <20201123031751.36811-1-daeho43@gmail.com> <20201123031751.36811-2-daeho43@gmail.com> <5b3cb83d-5d0f-c1ca-2cff-f28372dec48e@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 26, 2020 at 02:04:41PM +0900, Daeho Jeong wrote: > Eric, > > do_page_cache_ra() is defined in mm/internal.h for internal use > between in mm, so we cannot use this one right now. > So, I think we could use page_cache_ra_unbounded(), because we already > check i_size boundary on our own. > What do you think? What about page_cache_async_readahead() or page_cache_sync_readahead()? - Eric