Skip to content

Why not use statfs for ZFS? #1884

@Random-Liu

Description

@Random-Liu

In cadvisor, we are using a special function getZfsStats for zfs (see here).

But use statfs for other filesystems.

ZFS does support statfs, why don't we use it? Is there any particular reason?

See https://github.com/zfsonlinux/zfs/blob/1b66810bad0a893031c6d49613aa83dc359bf034/module/zfs/zfs_vfsops.c#L1302-L1303

Metadata

Metadata

Assignees

No one assigned

    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