gluster / glusterfs

Gluster Filesystem : Build your distributed storage in minutes
https://www.gluster.org
GNU General Public License v2.0
4.51k stars 1.07k forks source link

sq: df show wrong usage after file deleted #4317

Closed zhangxyue closed 2 months ago

zhangxyue commented 2 months ago

Description of problem: I have used simple-quota and XFS, Because xfs prealloc mechanism,when writing to sparse file, it can lead to df show wrong usage after file deleted.

Is there any way to improve it? Thanks.

The exact command to reproduce the issue:

The full output of the command that failed:

**Expected results:**
**Mandatory info:** **- The output of the `gluster volume info` command**: **- The output of the `gluster volume status` command**: **- The output of the `gluster volume heal` command**: **- Provide logs present on following locations of client and server nodes - /var/log/glusterfs/ **- Is there any crash ? Provide the backtrace and coredump **Additional info:**
**- The operating system / glusterfs version**: **Note: Please hide any confidential data which you don't want to share in public like IP address, file name, hostname or any other configuration**