From: Christian Ebner <c.ebner@proxmox.com>
To: David Howells <dhowells@redhat.com>
Cc: Jeff Layton <jlayton@kernel.org>,
Ilya Dryomov <idryomov@gmail.com>, Xiubo Li <xiubli@redhat.com>,
regressions@lists.linux.dev, ceph-devel@vger.kernel.org,
stable@vger.kernel.org
Subject: Re: [REGRESSION]: cephfs: file corruption when reading content via in-kernel ceph client
Date: Sat, 7 Sep 2024 11:14:49 +0200 [thread overview]
Message-ID: <5e1785ec-157a-4e7c-953f-3d33f0f2a037@proxmox.com> (raw)
In-Reply-To: <127721.1725639777@warthog.procyon.org.uk>
On 9/6/24 18:22, David Howells wrote:
>
> Are they using local caching with cachefiles?
>
> David
Hi David,
if you are referring to [0] than no, there is no such caching layer active.
Output of
```
$ cat /proc/fs/fscache/{caches,cookies,requests,stats,volumes}
CACHE REF VOLS OBJS ACCES S NAME
======== ===== ===== ===== ===== = ===============
COOKIE VOLUME REF ACT ACC S FL DEF
======== ======== === === === = == ================
REQUEST OR REF FL ERR OPS COVERAGE
======== == === == ==== === =========
Netfs : DR=0 RA=140 RF=0 WB=0 WBZ=0
Netfs : BW=0 WT=0 DW=0 WP=0
Netfs : ZR=0 sh=0 sk=0
Netfs : DL=548 ds=548 df=0 di=0
Netfs : RD=0 rs=0 rf=0
Netfs : UL=0 us=0 uf=0
Netfs : WR=0 ws=0 wf=0
Netfs : rr=0 sr=0 wsc=0
-- FS-Cache statistics --
Cookies: n=0 v=0 vcol=0 voom=0
Acquire: n=0 ok=0 oom=0
LRU : n=0 exp=0 rmv=0 drp=0 at=0
Invals : n=0
Updates: n=0 rsz=0 rsn=0
Relinqs: n=0 rtr=0 drop=0
NoSpace: nwr=0 ncr=0 cull=0
IO : rd=0 wr=0 mis=0
VOLUME REF nCOOK ACC FL CACHE KEY
======== ===== ===== === == =============== ================
```
Also, disabling caching by stetting `client_cache_size` to 0 and
`client_oc` to false as found in [1] did not change the corrupted read
behavior.
[0] https://www.kernel.org/doc/html/latest/filesystems/caching/fscache.html
[1]
https://docs.ceph.com/en/latest/cephfs/client-config-ref/#client-config-reference
Regards,
Chris
prev parent reply other threads:[~2024-09-07 9:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-04 15:49 [REGRESSION]: cephfs: file corruption when reading content via in-kernel ceph client Christian Ebner
2024-09-06 1:01 ` Xiubo Li
2024-09-06 7:15 ` Christian Ebner
2024-09-06 11:09 ` Xiubo Li
2024-09-06 11:25 ` Linux regression tracking (Thorsten Leemhuis)
2024-09-06 16:22 ` David Howells
2024-09-23 8:06 ` Christian Ebner
2024-10-02 14:28 ` Christian Ebner
2024-09-06 16:22 ` David Howells
2024-09-07 9:14 ` Christian Ebner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5e1785ec-157a-4e7c-953f-3d33f0f2a037@proxmox.com \
--to=c.ebner@proxmox.com \
--cc=ceph-devel@vger.kernel.org \
--cc=dhowells@redhat.com \
--cc=idryomov@gmail.com \
--cc=jlayton@kernel.org \
--cc=regressions@lists.linux.dev \
--cc=stable@vger.kernel.org \
--cc=xiubli@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox