Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2481242rdb; Mon, 20 Nov 2023 12:01:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IHWDgjsw3SVjW4ettZT1qouyGiuGejKiWQEPkFcARDzYGwhG3MJA33Cm9hsLMGQZgAyP7kp X-Received: by 2002:a05:6808:4d1:b0:3a6:fbe3:45cf with SMTP id a17-20020a05680804d100b003a6fbe345cfmr8867379oie.35.1700510482028; Mon, 20 Nov 2023 12:01:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700510481; cv=none; d=google.com; s=arc-20160816; b=tYKXNCBgI8n40jHV3z1O0szb90LxV3Ky4uAe0YDYTL2NuQ2a0AQ/Fs8ozzJeiZKAh+ F8pl0Unlh1Ktm10AS1MoSrliXmo+FzrHg47xwf3x6BRUkUo5h1KyIsYS9z7wq6YjbU7G XD125Mn4Ip46v0mkZMk7w1soPqKD7Km9Erp3UdcT2bZTmgV+mA/B/VS70hm8TIPGqjks 2ITrNDUG5nf7NkPlbrBfhRP9nHy8+sde+gQerQIbcLpulaCXjmRVHKWYxCNoW0OPSzdS 7RQfsN6yWQsYeYH0wrd215TNRTVwlcdvKxP3C6vgAR7+i9oeiSf1wBLTXmfZbH2Jh3KO U3Og== ARC-Message-Signature: i=1; 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=3tg08O0N/xa4tm5KWlE1PNyfoNc/ZkXyYLUnylHjAQU=; fh=FW3K8SsatDsWIpbiCVYsxhuaXmltdDjxfyWwgebVeiU=; b=qHZcZXkyLNg0Bzoxf1FcSxuotw2k+9ycq0EyosRGlQ4w103VHdHgpubBA7JP0+DDeE eF48ljIdXg9WG830n63U0advhGh7JhhUn9uNylheTH5o007wlGw5Q274l2JFw9K/ty7O fpx2QYt7UE+D8WYrTzDlxAfkHLW+igAooByQRPmjWnjrSd6XCwUmYb08lu2zUTBptI6B mHGL9JLILftD1R6L+InpSLLQD5U3cvZ79zmgQro/bkHg0tzJCsRsHopuT9MX0Ia0LOGh /w0tA6vnYsMW+sQ6Uv+BOzaxlGf1smNIp578vBD5Bc13cts76g6mbOiNe5olh/8tVTPX pJMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=vHkMkRom; spf=pass (google.com: domain of linux-ext4+bounces-47-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-ext4+bounces-47-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id j36-20020a635524000000b005b8ea21ef39si8713754pgb.267.2023.11.20.12.01.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 12:01:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4+bounces-47-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=vHkMkRom; spf=pass (google.com: domain of linux-ext4+bounces-47-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-ext4+bounces-47-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 3EEC02813BD for ; Mon, 20 Nov 2023 20:00:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2EC5D37164; Mon, 20 Nov 2023 20:00:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="vHkMkRom" X-Original-To: linux-ext4@vger.kernel.org Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2697C92; Mon, 20 Nov 2023 12:00:12 -0800 (PST) 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=3tg08O0N/xa4tm5KWlE1PNyfoNc/ZkXyYLUnylHjAQU=; b=vHkMkRomdMQPn56X43PZdq/l4J 7jiwzi8GVr9bQuhD8+ndaA9VZDq/axrDeZ0YRmpPOjFcxJ890sA5H/ApMDMA+zDpqiFe0bp3X34t4 K9AAtghz0M2gf88nG8/H2aCYj+kkImYvsnz7cPlJ9XX8OAN6okGHZ6Yhv1MByByVxDCVYnBK2BMT0 no6rIt3agFIAErR6nRH+OCmj2hzwIWT7mtV93OY3f7ugRwjueE9Z7K3X1ewf7Loync99qawsdt0wr UukuwTnSS0MEJw81XU+L5Umdzhf47cRrIXjiP349b0kRcRg+egzLQ9i3TRk5YohFurph8aSszE145 QW5aMT/A==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1r5ARF-004wNG-54; Mon, 20 Nov 2023 20:00:09 +0000 Date: Mon, 20 Nov 2023 20:00:09 +0000 From: Matthew Wilcox To: "Ritesh Harjani (IBM)" Cc: linux-ext4@vger.kernel.org, Jan Kara , linux-fsdevel@vger.kernel.org Subject: Re: [RFC 2/3] ext2: Convert ext2 regular file buffered I/O to use iomap Message-ID: References: Precedence: bulk X-Mailing-List: linux-ext4@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: On Tue, Nov 21, 2023 at 12:35:20AM +0530, Ritesh Harjani (IBM) wrote: > +static void ext2_file_readahead(struct readahead_control *rac) > +{ > + return iomap_readahead(rac, &ext2_iomap_ops); We generally prefer to omit the 'return' when the function returns void (it's a GCC extension to not warn about it, so not actually a bug) This all looks marvellously simple. Good job!