Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp463305lqp; Thu, 21 Mar 2024 06:42:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVrIjEsMnFepbVzBOhlcbSLC2HKBHEb6dC4391MibUbALBRhq5KV9ZrVdkEFUgjKIyJ2pz2YxFB2vj9WeEePScyrkGx2oWMQse8A+c/ug== X-Google-Smtp-Source: AGHT+IHuVj9AXSASYCEjvQ6ghtfx+8iLEgMlKNe6qUamR9m1avZt4uDpFVFJEF8XhKW8Y5gcvuuS X-Received: by 2002:a17:906:3702:b0:a46:a28d:2f49 with SMTP id d2-20020a170906370200b00a46a28d2f49mr2546469ejc.32.1711028528957; Thu, 21 Mar 2024 06:42:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711028528; cv=pass; d=google.com; s=arc-20160816; b=BVmObf1Lq4dIvHXRdHsb5O365+58XYw4h/QQ4IWGnha20+u0w0DCt3RoIuxED7sILP jdDZ8C2qMVMZXXKd/pqYDkfA4FOj2Pu39N7yw10lKPPbi3eFA46ElDDwe4Iet291Tr46 2+PPGNWElAczZhJfc2bm31UbATOHKstpf13BirMp6u+hHqNViMEkKWOhxfAclsdwBTmm X++Rw380ejJLzlms0mcZ5ltnFyw5/pmKm8dlbwQTglY1inH5sMYudl1PhztBLxD6TJyy qPbJHIjcvLZ4AohiQwyIzsrL777elpPp48xr37R0o0hg2eA4+9H4BH2BD4aW+gL1P0MK mwUw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=P90udbt6DsGYuVjZV5zMYCt0yOohxZ0RgxbKXvtAJOI=; fh=KEoESMf3gBBJDh3l8w4TCVzkgTkm+1kinEL3jtnleSo=; b=bWTdqBlAiQLi8To4DC54jMXnKHESZFSDAxcXAQnyLBOQ5t/62JZV3H/5UTuKPagFxE Pqd5buAO/j1AxlxOloDJpQibpQykLusejXQTVmWEOmg4axfSELCX4LN9195h6fC5Q4Ww yA4VkOXCOe+3BwYh5PFfGtV3RMOEeMYmBrndRDgF5aF4U0ZZe3XS/AXIzFYWj6fRFnQy BuigysDVroP5tR3Ih6pnaG5UcTTG9/S91J8dSY826ESkarPOT50dxLeGvfoqy5c5yir1 LOgJknZO+ELOtDGMXV0ZSc9D7Xn83NGRHAJywCxFwY2SxAyaONSDimtpjloStiHG84RZ +mUw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=KQyIRrAB; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-110029-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110029-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id hv12-20020a17090760cc00b00a470e612bdesi666461ejc.588.2024.03.21.06.42.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 06:42:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-110029-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=KQyIRrAB; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-110029-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110029-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 0A3001F23B5D for ; Thu, 21 Mar 2024 12:26:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6785F762ED; Thu, 21 Mar 2024 12:26:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="KQyIRrAB" Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (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 CAE3576038; Thu, 21 Mar 2024 12:26:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711023992; cv=none; b=L4kpe7tWTQIhfsFVnccxHByhazlcvpWfpCRMrcN8Nf6xwKfL/xAbW8OLWlwrfk32+Ja9VkCZkKmHjgTLkCz6s5rqspGpLah6H5Xbxgz/JF7kZamyM8Dq2Vr8u3gzqevWtxXHJ6YqJ0CpKhVns76k6P4l0B4xtQL5nMKArT7v4to= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711023992; c=relaxed/simple; bh=etOfsEzc1Kvmi7gMW+x+zHAqeY096Eoe+GEihPldJm8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=afiihtN024vLksRFDhTP3qZ2EzF/z2GOSykvUtp0++VsG9cMnZsLSa/Za+80X2VmiDHKBzMpIAT1ZyT156pHaiygguYrvSFWx0X3gFABlLZLUBmnRgrAqqu2wKq2OVVMtYRBpxZovnSGyulEE3UiLriNG1knXtuTda8zVPJY88A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=KQyIRrAB; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=P90udbt6DsGYuVjZV5zMYCt0yOohxZ0RgxbKXvtAJOI=; b=KQyIRrABQ3o8kVkUh6u+am24hW wCB6slDWPHN5gydoo1jpNt9oCpTsp+VDZXRJEzEsvv5yNk2ly+OaeaKDrHVaWcwUBIfs2FcM+T6G2 PBvc9j9kSHB4yVPUM3UuxzBTRJD2T5MhGAx7zjnZorN7a4BUt6OSAhLE9KQ9XB7QbiCk69D+VCIVs U0/rPFGKzL4SY9tqJvtqBHSaTgP3Lh9A2SDzsxJNWtc5DCQ/IuNqrWTbmGMfjFS26uZOFCmd+NlHO YkCnRU/nLH3JrMQLu68QUp8sqXUyJocFY6Lu18afQ7/zuQgLJvJRotQeSL0y27rtgC7k4Z6wlVd6S oPyNny+w==; Received: from willy by casper.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1rnHV5-00000006i2S-0afw; Thu, 21 Mar 2024 12:26:27 +0000 Date: Thu, 21 Mar 2024 12:26:27 +0000 From: Matthew Wilcox To: Kefeng Wang Cc: Alexander Viro , Benjamin LaHaise , Christian Brauner , Jan Kara , linux-kernel@vger.kernel.org, linux-aio@kvack.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 0/3] fs: aio: more folio conversion Message-ID: References: <20240321082733.614329-1-wangkefeng.wang@huawei.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240321082733.614329-1-wangkefeng.wang@huawei.com> On Thu, Mar 21, 2024 at 04:27:30PM +0800, Kefeng Wang wrote: > Convert to use folio throughout aio. I see no problems here other than the one you mentioned and the minor optimisation I pointed out. Thanks.