xfs: Check for extent overflow when growing realtime bitmap/summary inodes

Verify that XFS does not cause realtime bitmap/summary inode fork's
extent count to overflow when growing the realtime volume associated
with a filesystem.

Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Signed-off-by: Chandan Babu R <chandanrlinux@gmail.com>
This commit is contained in:
Chandan Babu R
2021-03-09 10:31:16 +05:30
committed by Eryu Guan
parent 9f8584434b
commit d9d2de11ef
3 changed files with 136 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
QA output created by 530
* Test extending rt inodes
Create fake rt volume
Format and mount rt volume
Consume free space
Create fragmented filesystem
Inject reduce_max_iextents error tag
Inject bmap_alloc_minlen_extent error tag
Grow realtime volume
Verify rbmino's and rsumino's extent count
Check filesystem