Bug #57361
open
cephfs: rbytes seems not work correctly
Added by Xiubo Li over 1 year ago.
Updated 7 months ago.
Category:
Correctness/Safety
Component(FS):
Client, MDS
Description
I had two client with the rbytes enabled, one is kclient and another is ceph-fuse client. In kclient after I created a file in the subdir and write some contents to it and in the ceph-fuse client when stating the parent directory I didn't see the stat.size got updated, even I umount the kclient.
I need to wait for a long time or after remount the ceph-fuse client to see the size updated.
Xiubo Li wrote:
I had two client with the rbytes enabled, one is kclient and another is ceph-fuse client. In kclient after I created a file in the subdir and write some contents to it and in the ceph-fuse client when stating the parent directory I didn't see the stat.size got updated, even I umount the kclient.
I need to wait for a long time or after remount the ceph-fuse client to see the size updated.
Do you have the MDS logs, Xiubo?
Venky Shankar wrote:
Xiubo Li wrote:
I had two client with the rbytes enabled, one is kclient and another is ceph-fuse client. In kclient after I created a file in the subdir and write some contents to it and in the ceph-fuse client when stating the parent directory I didn't see the stat.size got updated, even I umount the kclient.
I need to wait for a long time or after remount the ceph-fuse client to see the size updated.
Do you have the MDS logs, Xiubo?
No, but I can reproduce it every time.
- Category set to Correctness/Safety
- Assignee set to Neeraj Pratap Singh
- Target version set to v18.0.0
- Backport set to pacific,quincy
- Component(FS) Client, MDS added
- Status changed from New to Triaged
- Subject changed from cpehfs: rbytes seems not work correctly to cephfs: rbytes seems not work correctly
- Priority changed from Normal to Low
Setting the priority to low: rbytes is disabled by default.As directory size is recursive size with rbytes enabled,if we try to get the stats.size, mds lazilly updates the recursive stats.
- Target version deleted (
v18.0.0)
Also available in: Atom
PDF