Skip to content

issues with btrfs #5352

Description

@calestyo

Hi.

Not sure whether dCache should really take care on this or not, but given the recent discussions with the problems in Göttingen I have thought, that the default pool gap of (in most cases) 4 GB might be to small for CoW filesystems (e.g. btrfs or ZFS).

Given the nature of CoW filesystem, they tend to have problems when filesystems get pretty full.
Even deletion of files will then require some space first, which can in principle result in a deadlock situation (though btrfs, and presumably zfs as well, have some measurements against this (the global reserve)).

Yet, there are other "default operations" which can cause similar problems, in btrfs I would mostly think about "balance".
I thought to remember that the max extent size for btrfs was 1GB, but looking at

ctree.h:#define BTRFS_MAX_EXTENT_SIZE SZ_128M

it seems to be 128MB.

Yet a 4GB gap might still become a little tight on btrfs.

Cheers,
Chris.

Metadata

Metadata

Assignees

No one assigned

    Labels

    poolTargeting the pool

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions