mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
397c6eb2b6
This exercises the xfs_quota "state" command for every
combination of user, group, and project quota enablement
on both crc (with project quota inode on disk) and non-crc
(where project quota overlaps group quota on disk) filesystems.
It currently requires patches to the upstream kernel
("quota: fill in Q_XGETQSTAT inode information for inactive quotas")
and to xfsprogs ("xfs_quota: wire up XFS_GETQSTATV") to pass.
Rather than trying to make it run on older kernels without
crc capability, I restrict the test to crc-capable environments,
but test with and without crcs enabled (and hence with and without
project quota inode on disk).
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Bill O'Donnell <billodo@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
200 lines
5.6 KiB
Plaintext
200 lines
5.6 KiB
Plaintext
QA output created by 263
|
|
==== NO CRC ====
|
|
== Options: rw ==
|
|
== Options: usrquota,rw ==
|
|
User quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: ON
|
|
Inode: #131 (1 blocks, 1 extents)
|
|
Group quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: OFF
|
|
Enforcement: OFF
|
|
Inode: N/A
|
|
Project quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: OFF
|
|
Enforcement: OFF
|
|
Inode: N/A
|
|
Blocks grace time: [7 days]
|
|
Inodes grace time: [7 days]
|
|
Realtime Blocks grace time: [7 days]
|
|
== Options: grpquota,rw ==
|
|
User quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: OFF
|
|
Enforcement: OFF
|
|
Inode: #131 (1 blocks, 1 extents)
|
|
Group quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: ON
|
|
Inode: #132 (1 blocks, 1 extents)
|
|
Project quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: OFF
|
|
Enforcement: OFF
|
|
Inode: N/A
|
|
Blocks grace time: [7 days]
|
|
Inodes grace time: [7 days]
|
|
Realtime Blocks grace time: [7 days]
|
|
== Options: usrquota,grpquota,rw ==
|
|
User quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: ON
|
|
Inode: #131 (1 blocks, 1 extents)
|
|
Group quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: ON
|
|
Inode: #132 (1 blocks, 1 extents)
|
|
Project quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: OFF
|
|
Enforcement: OFF
|
|
Inode: N/A
|
|
Blocks grace time: [7 days]
|
|
Inodes grace time: [7 days]
|
|
Realtime Blocks grace time: [7 days]
|
|
== Options: prjquota,rw ==
|
|
User quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: OFF
|
|
Enforcement: OFF
|
|
Inode: #131 (1 blocks, 1 extents)
|
|
Group quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: OFF
|
|
Enforcement: OFF
|
|
Inode: N/A
|
|
Project quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: ON
|
|
Inode: #132 (1 blocks, 1 extents)
|
|
Blocks grace time: [7 days]
|
|
Inodes grace time: [7 days]
|
|
Realtime Blocks grace time: [7 days]
|
|
== Options: usrquota,prjquota,rw ==
|
|
User quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: ON
|
|
Inode: #131 (1 blocks, 1 extents)
|
|
Group quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: OFF
|
|
Enforcement: OFF
|
|
Inode: N/A
|
|
Project quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: ON
|
|
Inode: #132 (1 blocks, 1 extents)
|
|
Blocks grace time: [7 days]
|
|
Inodes grace time: [7 days]
|
|
Realtime Blocks grace time: [7 days]
|
|
== Options: grpquota,prjquota,rw ==
|
|
== Options: usrquota,grpquota,prjquota,rw ==
|
|
==== CRC ====
|
|
== Options: rw ==
|
|
== Options: usrquota,rw ==
|
|
User quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: ON
|
|
Inode: #99 (1 blocks, 1 extents)
|
|
Group quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: OFF
|
|
Enforcement: OFF
|
|
Inode: N/A
|
|
Project quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: OFF
|
|
Enforcement: OFF
|
|
Inode: N/A
|
|
Blocks grace time: [7 days]
|
|
Inodes grace time: [7 days]
|
|
Realtime Blocks grace time: [7 days]
|
|
== Options: grpquota,rw ==
|
|
User quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: OFF
|
|
Enforcement: OFF
|
|
Inode: #99 (1 blocks, 1 extents)
|
|
Group quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: ON
|
|
Inode: #100 (1 blocks, 1 extents)
|
|
Project quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: OFF
|
|
Enforcement: OFF
|
|
Inode: N/A
|
|
Blocks grace time: [7 days]
|
|
Inodes grace time: [7 days]
|
|
Realtime Blocks grace time: [7 days]
|
|
== Options: usrquota,grpquota,rw ==
|
|
User quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: ON
|
|
Inode: #99 (1 blocks, 1 extents)
|
|
Group quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: ON
|
|
Inode: #100 (1 blocks, 1 extents)
|
|
Project quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: OFF
|
|
Enforcement: OFF
|
|
Inode: N/A
|
|
Blocks grace time: [7 days]
|
|
Inodes grace time: [7 days]
|
|
Realtime Blocks grace time: [7 days]
|
|
== Options: prjquota,rw ==
|
|
User quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: OFF
|
|
Enforcement: OFF
|
|
Inode: #99 (1 blocks, 1 extents)
|
|
Group quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: OFF
|
|
Enforcement: OFF
|
|
Inode: #100 (1 blocks, 1 extents)
|
|
Project quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: ON
|
|
Inode: #101 (1 blocks, 1 extents)
|
|
Blocks grace time: [7 days]
|
|
Inodes grace time: [7 days]
|
|
Realtime Blocks grace time: [7 days]
|
|
== Options: usrquota,prjquota,rw ==
|
|
User quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: ON
|
|
Inode: #99 (1 blocks, 1 extents)
|
|
Group quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: OFF
|
|
Enforcement: OFF
|
|
Inode: #100 (1 blocks, 1 extents)
|
|
Project quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: ON
|
|
Inode: #101 (1 blocks, 1 extents)
|
|
Blocks grace time: [7 days]
|
|
Inodes grace time: [7 days]
|
|
Realtime Blocks grace time: [7 days]
|
|
== Options: grpquota,prjquota,rw ==
|
|
User quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: OFF
|
|
Enforcement: OFF
|
|
Inode: #99 (1 blocks, 1 extents)
|
|
Group quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: ON
|
|
Inode: #100 (1 blocks, 1 extents)
|
|
Project quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: ON
|
|
Inode: #101 (1 blocks, 1 extents)
|
|
Blocks grace time: [7 days]
|
|
Inodes grace time: [7 days]
|
|
Realtime Blocks grace time: [7 days]
|
|
== Options: usrquota,grpquota,prjquota,rw ==
|
|
User quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: ON
|
|
Inode: #99 (1 blocks, 1 extents)
|
|
Group quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: ON
|
|
Inode: #100 (1 blocks, 1 extents)
|
|
Project quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: ON
|
|
Inode: #101 (1 blocks, 1 extents)
|
|
Blocks grace time: [7 days]
|
|
Inodes grace time: [7 days]
|
|
Realtime Blocks grace time: [7 days]
|