Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3409451iog; Mon, 20 Jun 2022 19:57:58 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vkbwHQbUNw3tIpTjuxc/Gh7owA+ObE5r4lMRAmBo7mQgHPjqyfAfjL7lIqSG3uIzaVwYJ8 X-Received: by 2002:aa7:cf91:0:b0:435:6e07:2825 with SMTP id z17-20020aa7cf91000000b004356e072825mr18150228edx.381.1655780278318; Mon, 20 Jun 2022 19:57:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655780278; cv=none; d=google.com; s=arc-20160816; b=u0+E6SO21Y5vVMH2IGQ+4FSFYchFsZDxYjnBoKqLXzUPnFQ1SREztmU/q6k4m9ZSap gTaLh+9gwCR3AS0QgrOC7eoaDsxuA69RiTkY9fEtrqhQGUdEcrMYJ0UJZnib4OEDjiXK HaJz8Moc/n1MH4p7tu5osSqG8OmVs8t0YRm/HzmFkD/FFz12mziBW/THAqjO8o3iD4yW Z18JQASb5I5CD6Q7VA4jaXASw82boRnKpoL6VeScNHaT3wK507+BQ9OLddBTAd4K0j2t NoNQIXezkI9c+uVrg6orLC+jmWHYMLZc6Dq/9i3kG7Tk96ydn7daRkoOkGAwdARKK/zK EGNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=CHkRWvTqfGmb/8IY8gMVTWaFNX72OsVVZ1uxr6pqjhk=; b=VD/bNaT9mI6UbWMLKmWAXWYlSxjglq6CFnhcryvrw81YHBSBK6vawm88GZj5FOxF/t OP1enDbzz1vzzlPmSI3+gwZvJgiQGiwKfUtHqRU/zlYWVpF1+dETAaY33KRziNRNbdau CoAyq2QcqU4f2X8nuWrsh6TzPG/ErWIZqzFTVr8JKdJgOvsO75dPciCezZ4z9MLKezRH zYH+pEhBwswVymF/oVN+qDeUE8pLdDB0vgGv4IrqlwUYiDq52ix13wTB0h2BAOACYAVt 9VkWTUafl2lvmhmGEpGY8c06c1avQxR4EUqKFxX/x+4X6JUR99HuDcKe+1tjLVoEDDQD VQhg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w22-20020a1709060a1600b0071573d2df78si13129178ejf.429.2022.06.20.19.57.33; Mon, 20 Jun 2022 19:57:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344219AbiFUCgl (ORCPT + 99 others); Mon, 20 Jun 2022 22:36:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243210AbiFUCgk (ORCPT ); Mon, 20 Jun 2022 22:36:40 -0400 Received: from p3plwbeout15-03.prod.phx3.secureserver.net (p3plsmtp15-03-2.prod.phx3.secureserver.net [173.201.193.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B70B1580C for ; Mon, 20 Jun 2022 19:36:36 -0700 (PDT) Received: from mailex.mailcore.me ([94.136.40.145]) by :WBEOUT: with ESMTP id 3Tkoojc5Ig7Zl3TkpoLUgb; Mon, 20 Jun 2022 19:36:35 -0700 X-CMAE-Analysis: v=2.4 cv=a//1SWeF c=1 sm=1 tr=0 ts=62b12eb3 a=7e6w4QD8YWtpVJ/7+iiidw==:117 a=84ok6UeoqCVsigPHarzEiQ==:17 a=ggZhUymU-5wA:10 a=IkcTkHD0fZMA:10 a=JPEYwPQDsx4A:10 a=VwQbUJbxAAAA:8 a=pGLkceISAAAA:8 a=JfrnYn6hAAAA:8 a=FXvPX3liAAAA:8 a=NTb5vJx-PtTLRpkcHBgA:9 a=6RyHdP9wf0s6W1bbVaoE2bQoMl4=:19 a=QEXdDO2ut3YA:10 a=AjGcO6oz07-iQ99wixmX:22 a=1CNFftbPRP8L7MoqJWF3:22 a=UObqyxdv-6Yh2QiB9mM_:22 X-SECURESERVER-ACCT: phillip@squashfs.org.uk X-SID: 3Tkoojc5Ig7Zl Received: from 82-69-79-175.dsl.in-addr.zen.co.uk ([82.69.79.175] helo=[192.168.178.33]) by smtp03.mailcore.me with esmtpa (Exim 4.94.2) (envelope-from ) id 1o3Tko-0002Om-4h; Tue, 21 Jun 2022 03:36:34 +0100 Message-ID: Date: Tue, 21 Jun 2022 03:36:31 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v7 0/4] Implement readahead for squashfs To: Hsin-Yi Wang , Matthew Wilcox , Marek Szyprowski , Andrew Morton Cc: Xiongwei Song , Zheng Liang , Zhang Yi , Hou Tao , Miao Xie , "linux-mm @ kvack . org" , "squashfs-devel @ lists . sourceforge . net" , linux-kernel@vger.kernel.org References: <20220617083810.337573-1-hsinyi@chromium.org> From: Phillip Lougher In-Reply-To: <20220617083810.337573-1-hsinyi@chromium.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailcore-Auth: 439999529 X-Mailcore-Domain: 1394945 X-123-reg-Authenticated: phillip@squashfs.org.uk X-Originating-IP: 82.69.79.175 X-CMAE-Envelope: MS4xfIFYN3kADVjENKES00lDTs3NJ0pXybwYCAquBLhJgCuPOVHs/Nj2IoACJqrV6fZD05wExQFTy1ReIiqPHmGU0A4rOCAJmaF32TgEupCZj04Zxed9iHU9 g6SiLqyNMHOhv1dXJ+gwyWjJj1rN8yKvWLhFa6X2hSwLFxLJK5blDB1QvWtsSHjcXtt8d1ZF9iVkxEf4G14OVi4/ibpDs1LkfuE= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17/06/2022 09:38, Hsin-Yi Wang wrote: > Commit 9eec1d897139("squashfs: provide backing_dev_info in order to > disable read-ahead") mitigates the performance drop issue for squashfs > by closing readahead for it. > > This series implements readahead callback for squashfs. The previous > discussions are in [1] and [2]. Patch series looks OK to me. I will be offline at the Glastonbury festival from Tuesday 21 June to Monday 27 June. Thanks Phillip > > [1] > https://lore.kernel.org/all/CAJMQK-g9G6KQmH-V=BRGX0swZji9Wxe_2c7ht-MMAapdFy2pXw@mail.gmail.com/T/ > [2] > https://lore.kernel.org/linux-mm/Yn5Yij9pRPCzDozt@casper.infradead.org/t/#m4af4473b94f98a4996cb11756b633a07e5e059d1 > > v7 adds the patch to support reading fragments in readahead call[3]. No > changes on other patches since v6, which is included in next-20220617. > > [3] > https://patchwork.kernel.org/project/linux-mm/patch/20220617030345.24712-1-phillip@squashfs.org.uk/ > > Hsin-Yi Wang (2): > Revert "squashfs: provide backing_dev_info in order to disable > read-ahead" > squashfs: implement readahead > > Phillip Lougher (2): > squashfs: always build "file direct" version of page actor > squashfs: support reading fragments in readahead call > > fs/squashfs/Makefile | 4 +- > fs/squashfs/file.c | 133 ++++++++++++++++++++++++++++++++++++++- > fs/squashfs/page_actor.h | 46 -------------- > fs/squashfs/super.c | 33 ---------- > 4 files changed, 134 insertions(+), 82 deletions(-) >