Hi David,
Below are traces:
vi-9189 [001] ..... 64454.731493: fscache_acquire:
c=0000001f V=00000001 vr=31 vc=30
vi-9189 [001] ..... 64454.739242: fscache_acquire:
c=00000020 V=00000001 vr=32 vc=31
vi-9189 [001] ..... 64454.783474: fscache_acquire:
c=00000021 V=00000001 vr=33 vc=32
vi-9189 [001] ..... 64454.794650: netfs_read:
R=00000007 READAHEAD c=00000000 ni=0 s=0 1000
vi-9189 [001] ..... 64454.794652: netfs_read:
R=00000007 EXPANDED c=00000000 ni=0 s=0 1000
vi-9189 [001] ..... 64454.794661: netfs_sreq:
R=00000007[0] PREP DOWN f=00 s=0 0/100000 e=0
vi-9189 [001] ..... 64454.794662: netfs_sreq:
R=00000007[0] SUBMT DOWN f=00 s=0 0/100000 e=0
cifsd-1390 [000] ..... 64454.817450: netfs_sreq:
R=00000007[0] TERM DOWN f=02 s=0 100000/100000 e=0
cifsd-1390 [000] ..... 64454.817451: netfs_rreq:
R=00000007 ASSESS f=20
cifsd-1390 [000] ..... 64454.817452: netfs_rreq:
R=00000007 UNLOCK f=20
cifsd-1390 [000] ..... 64454.817464: netfs_rreq:
R=00000007 DONE f=00
cifsd-1390 [000] ..... 64454.817464: netfs_sreq:
R=00000007[0] FREE DOWN f=02 s=0 100000/100000 e=0
cifsd-1390 [000] ..... 64454.817465: netfs_rreq:
R=00000007 FREE f=00
Regards,
Rohith
On Mon, Feb 28, 2022 at 7:58 PM David Howells <[email protected]> wrote:
>
> Rohith Surabattula <[email protected]> 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
>
--
Linux-cachefs mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/linux-cachefs