Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp373232pxb; Fri, 28 Jan 2022 00:42:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJzbMR9lZPV+Z95xrI2gAdXORIE5mWcytf+mNPvT4NKr1abnz//9Nx4kh2ocFc14zKy0hb3c X-Received: by 2002:a05:6402:190f:: with SMTP id e15mr7053751edz.195.1643359344672; Fri, 28 Jan 2022 00:42:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643359344; cv=none; d=google.com; s=arc-20160816; b=pCWT2VCyfjISyNecUA9aipLjqv6rokkyfYtl9N1HkAZgP3r20CUujBiXG7ADsHTa+F 1Fc2DHpEv9DRIA5mYv5+AZGWHs2mOZCd/iIxR5njkvW9f0AYP7wo9WWFpjMbEgwv+eUN Tdgo5Fghy7Civvi249PqixPZ2kSYxLP0piY6YiGec914pB9vtYXPkevm/RjAsre+1cJ8 2czX3xBFoBxCYZ+cpk4dbFV3maBTLDSQrO84P+16AMy8eZu7jwHZ82Tbmsm0yfnLvV1/ uMaVLswwPeih3Z23uQvLIhbo9zf5wlUjzU0QPIrOM3b+p6+OxTWvwRD0iGrsuUcBnAGu 9g3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:content-id:mime-version:subject :cc:to:references:in-reply-to:from:organization:dkim-signature; bh=7WoybKu6jP1QrYEjNppjV5tqvzvxfK13MZO3ivIjeOQ=; b=e5+5EqM3cf4bg9KflP8/Fj8HsXw1rohEWKTAGR0ZtkFaYNYHetkEXSBGh9qyMsD6VD nNjP3wtaZ2HaTR0x5fUQrlby/z0aNi/6duwPztxxCwSD4Qy/2RREM2Z/6/mlqnpHSkW2 w0k95PjWsLAId06ldZJ4Bz3nKcI0/GMNqrbL3hc8iFIRPjQ67QK+gEsnTZcSKJpZmOfq UZL9TzqdCq1hNpcctvVxrWBsUWb+Vsn83qZOt6DsjKuzlfYN2Y8ELsUv7GiYgyYb/4WA GGzB6rc0RCIc48gl2D6iVZQnkAnMYA1lugCIN+eUtANd9fA7kKZWFItJ5lOPuFg+2VS9 NenA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XYwqxcJ0; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id sh10si2628305ejc.87.2022.01.28.00.42.00; Fri, 28 Jan 2022 00:42:24 -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=@redhat.com header.s=mimecast20190719 header.b=XYwqxcJ0; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243481AbiA0QJy (ORCPT + 99 others); Thu, 27 Jan 2022 11:09:54 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:47403 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232851AbiA0QJx (ORCPT ); Thu, 27 Jan 2022 11:09:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1643299792; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7WoybKu6jP1QrYEjNppjV5tqvzvxfK13MZO3ivIjeOQ=; b=XYwqxcJ0yR2ggVC0XNud5/hESxiUARAEwHbTXOIQDzhpWQMP76RMCtWaG384bM4VmWBIPm 7fk/7TCOUnUyqmfwfTKJePFbVFti1oO2mHCX5Ug1h+KFJrYiRn3A+Dm1NM1WAHKq2WcTHm uKqbvbnzergu2g7uz224bvNK2UqilQQ= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-311-4-5cPEDoPbGB8a8bgOKtgA-1; Thu, 27 Jan 2022 11:09:49 -0500 X-MC-Unique: 4-5cPEDoPbGB8a8bgOKtgA-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CA651835BD2; Thu, 27 Jan 2022 16:09:47 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.33.36.26]) by smtp.corp.redhat.com (Postfix) with ESMTP id C0F4A798B9; Thu, 27 Jan 2022 16:09:45 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <164329930161.843658.7387773437540491743.stgit@warthog.procyon.org.uk> References: <164329930161.843658.7387773437540491743.stgit@warthog.procyon.org.uk> To: Steve French Cc: dhowells@redhat.com, Shyam Prasad N , linux-cifs@vger.kernel.org, linux-cachefs@redhat.com, Jeff Layton , Matthew Wilcox , Linus Torvalds , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/4] cifs: Use fscache I/O again after the rewrite disabled it MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <855752.1643299784.1@warthog.procyon.org.uk> Date: Thu, 27 Jan 2022 16:09:44 +0000 Message-ID: <855753.1643299784@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > (4) Make ->readahead() call (4) Make cifs_readahead() call into the cache to query if and where is has data available, and if it has, read data from it. David