Skip to content

Pool usage does not appear to go down when files are deleted in the filesystem #403

@jbaublitz

Description

@jbaublitz

As reported by @bleve on IRC, there appears to be a problem with pool usage not going down when files are deleted. Even if usage goes down on the filesystem, the pool still reports a usage that is reflective of the original state of the filesystem usage. This could be a problem for things like monitoring so we should find a way to resolve this with minimal performance impacts.

Deleting snapshots does appear to cause the pool usage to go down. This leads me to believe that there is some disconnect between the removed files in the filesystem vs. deleting snapshots which is a thin pool operation.

The first thing I'll be investigating is fstrim and its effects on the thin pool using some different tunables for discard minimum extent length.

Related to stratis-storage/stratisd#2814

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions