Project

General

Profile

Actions

Bug #57361

open

cephfs: rbytes seems not work correctly

Added by Xiubo Li over 1 year ago. Updated 7 months ago.

Status:
Triaged
Priority:
Low
Category:
Correctness/Safety
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
pacific,quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Client, MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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.

Actions #1

Updated by Venky Shankar over 1 year ago

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?

Actions #2

Updated by Xiubo Li over 1 year ago

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.

Actions #3

Updated by Venky Shankar over 1 year ago

  • 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

Neeraj, PTAL.

Actions #4

Updated by Venky Shankar over 1 year ago

  • Status changed from New to Triaged
Actions #5

Updated by Neeraj Pratap Singh over 1 year ago

  • 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.

Actions #6

Updated by Patrick Donnelly 7 months ago

  • Target version deleted (v18.0.0)
Actions

Also available in: Atom PDF