Project

General

Profile

Bug #48318

Client: the directory's capacity will not be updated after write data into the directory

Added by wei qiaomiao about 2 months ago. Updated about 1 month ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
octopus,nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Client
Labels (FS):
Pull request ID:
Crash signature:

Description

The reproduction steps are as follows:

[root@ceph105 test]# mkdir dir1
[root@ceph105 test]# cd dir1/
[root@ceph105 dir1]# dd if=/dev/zero of=100M bs=100M count=1
1+0 records in
1+0 records out
104857600 bytes (105 MB) copied, 0.495317 s, 212 MB/s
[root@ceph105 dir1]# cd ..
[root@ceph105 test]# ll
total 1
drwxr-xr-x. 2 root root 0 Nov 21 10:25 dir1
[root@ceph105 test]# ll
total 1
drwxr-xr-x. 2 root root 0 Nov 21 10:25 dir1

Related issues

Copied to CephFS - Backport #48641: nautilus: Client: the directory's capacity will not be updated after write data into the directory In Progress
Copied to CephFS - Backport #48642: octopus: Client: the directory's capacity will not be updated after write data into the directory In Progress

History

#1 Updated by Patrick Donnelly about 2 months ago

  • Status changed from New to Won't Fix

rstats are propagated lazily. Try doing an fsync.

#2 Updated by Patrick Donnelly about 1 month ago

  • Status changed from Won't Fix to Fix Under Review
  • Assignee set to wei qiaomiao
  • Target version set to v16.0.0
  • Source set to Community (dev)
  • Backport set to octopus,nautilus
  • Pull request ID set to 38222

#3 Updated by Patrick Donnelly about 1 month ago

  • Status changed from Fix Under Review to Pending Backport

#4 Updated by Backport Bot about 1 month ago

  • Copied to Backport #48641: nautilus: Client: the directory's capacity will not be updated after write data into the directory added

#5 Updated by Backport Bot about 1 month ago

  • Copied to Backport #48642: octopus: Client: the directory's capacity will not be updated after write data into the directory added

Also available in: Atom PDF