Skip to content

qgroup clear-stale calls sync() even without quotas enabled #942

Closed
@buzo-ffm

Description

@buzo-ffm

btrfs qgroup clear-stale calls sync (via btrfs_util_sync_fd()) in cmd/qgroup.c line 2213 before figuring out whether quotas are enabled at all (in line 2219).

This causes unnecessary delays on a system which does not enable quotas, but which uses tools which call this quota-related command. Could you please find out whether quotas are enabled first?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions