module filesystem: partially fix idempotency issue #1457 (resizefs) (#1478)

* Use 'xfs_info' to query fs size, that doesn't always require the device be
  mounted. Although still query mountpoint first for backward compatibility.
* Do not fail whith fstype=xfs and resizefs=yes if filesystem already fills
  its underlying device.
* Include xfs in the tasks that test idempotency of resizefs option
* Add changelogs/fragments/1478-filesystem-fix-1457-resizefs-idempotency.yml
This commit is contained in:
quidame
2021-02-03 07:54:04 +01:00
committed by GitHub
parent b40a5ef09a
commit aa95d8a5b7
9 changed files with 64 additions and 39 deletions

View File

@@ -1,3 +1,4 @@
---
tested_filesystems:
# key: fstype
# fssize: size (Mo)