From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EA8C2C433EF for ; Mon, 28 Feb 2022 14:28:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236523AbiB1O3V (ORCPT ); Mon, 28 Feb 2022 09:29:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237144AbiB1O3V (ORCPT ); Mon, 28 Feb 2022 09:29:21 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 04EEA220C7 for ; Mon, 28 Feb 2022 06:28:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1646058519; 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=T7bpbKpVEq9MLTWx6hiGqkGi7ZJ+dBk/1YROkWUQd0k=; b=YPHTgc7lTQs3uuuH8YhjbAMVTFe26Qe2xVT2BHjXVO9zfS4PRmFNd3FQQo4r64RVNuXfOR FlFBvr9lBx1YwWmRpgYf9I1FpIsvD/lb8SUj8cii8BrkOCD5gi2woW5t0uoCL9GRK5JEPa +BBIfZvwOuBzBY5Vs4PyxPDWm0CkYi4= 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-519-J65TzDB_MTehWf8efipJpQ-1; Mon, 28 Feb 2022 09:28:36 -0500 X-MC-Unique: J65TzDB_MTehWf8efipJpQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C1250FC81; Mon, 28 Feb 2022 14:28:34 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.33.37.0]) by smtp.corp.redhat.com (Postfix) with ESMTP id C7A561057FCB; Mon, 28 Feb 2022 14:28:28 +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: References: <164311902471.2806745.10187041199819525677.stgit@warthog.procyon.org.uk> <164311919732.2806745.2743328800847071763.stgit@warthog.procyon.org.uk> <3013921.1644856403@warthog.procyon.org.uk> To: Rohith Surabattula Cc: dhowells@redhat.com, smfrench@gmail.com, nspmangalore@gmail.com, jlayton@kernel.org, linux-cifs@vger.kernel.org, linux-cachefs@redhat.com, linux-fsdevel@vger.kernel.org Subject: Re: [RFC PATCH 7/7] cifs: Use netfslib to handle reads MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2498967.1646058507.1@warthog.procyon.org.uk> Date: Mon, 28 Feb 2022 14:28:27 +0000 Message-ID: <2498968.1646058507@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org Rohith Surabattula wrote: > R=00000006 READAHEAD c=00000000 ni=0 s=0 1000 > vi-1631 [000] ..... 2519.247540: netfs_read: "c=00000000" would indicate that no fscache cookie was allocated for this inode. > COOKIE VOLUME REF ACT ACC S FL DEF > ======== ======== === === === = == ================ > 00000002 00000001 1 0 0 - 4008 302559bec76a7924, > 0a13e961000000000a13e96100000000d01f4719d01f4719 > 00000003 00000001 1 0 0 - 4000 0000000000640090, > 37630162000000003763016200000000e8650f119c49f411 But we can see some cookies have been allocated. Can you turn on: echo 1 >/sys/kernel/debug/tracing/events/fscache/fscache_acquire/enable David