]> git.proxmox.com Git - mirror_zfs.git/commit
zfs filesystem skipped by df -h
authorPaul Zuchowski <31706010+PaulZ-98@users.noreply.github.com>
Sun, 13 Jan 2019 18:06:13 +0000 (13:06 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sun, 13 Jan 2019 18:06:13 +0000 (10:06 -0800)
commit83c796c5e9d9ecb28e9553338f079a5d6b015b10
tree7b6661d3070441ad1472111fe2c92879a1a3d057
parenta13392a6a1a0e3858a11f79cf3fc2f2026b4dcc0
zfs filesystem skipped by df -h

On full pool when pool root filesystem references very few bytes,
the f_blocks returned to statvfs is 0 but should be at least 1.

Reviewed by: Tom Caputi <tcaputi@datto.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Paul Zuchowski <pzuchowski@datto.com>
Closes #8253
Closes #8254
module/zfs/zfs_vfsops.c
tests/runfiles/linux.run
tests/zfs-tests/tests/functional/no_space/Makefile.am
tests/zfs-tests/tests/functional/no_space/enospc_df.ksh [new file with mode: 0755]