Project

General

Profile

Actions

Bug #39641

closed

cephfs-shell: 'du' command produces incorrect results

Added by Varsha Rao about 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
cephfs-shell
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Error observed in following cases:
  1. No error message printed for invalid directories.
  2. When directory name is greater than 1 and multiple arguments passed to du.
    CephFS:~/>>> du t
    0B         .t
    CephFS:~/>>> mkdir tt
    CephFS:~/>>> du tt
    0B         .t
    0B         .t
    
  3. Existing directories are not displayed, when no arguments are passed.
    CephFS:~/>>> du
    0B         ./
    CephFS:~/>>> ls
    t
    
Actions #1

Updated by Varsha Rao about 5 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 28038
Actions #2

Updated by Patrick Donnelly about 5 years ago

  • Subject changed from 'du' command produces incorrect results to cephfs-shell: 'du' command produces incorrect results
  • Target version set to v15.0.0
  • Start date deleted (05/09/2019)
  • Source set to Development
  • Backport set to nautilus
Actions #3

Updated by Patrick Donnelly over 4 years ago

  • Status changed from Fix Under Review to Resolved
  • Backport deleted (nautilus)

Will be backported via #40371.

Actions #4

Updated by Patrick Donnelly over 4 years ago

  • Pull request ID changed from 28038 to 28560
Actions

Also available in: Atom PDF