Thread (28 messages) 28 messages, 3 authors, 2021-07-09
STALE1793d

[PATCH 9/9] common/attr: Reduce MAX_ATTRS to leave some overhead for 64K blocksize

From: Ritesh Harjani <hidden>
Date: 2021-06-14 06:28:53
Also in: fstests
Subsystem: the rest · Maintainer: Linus Torvalds

Test generic/020 fails for ext4 with 64K blocksize. So increase some overhead
value to reduce the MAX_ATTRS so that it can accomodate for 64K blocksize.

Signed-off-by: Ritesh Harjani <redacted>
---
 common/attr | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/attr b/common/attr
index d3902346..e8661d80 100644
--- a/common/attr
+++ b/common/attr
@@ -260,7 +260,7 @@ xfs|udf|pvfs2|9p|ceph|nfs)
 	# Assume max ~1 block of attrs
 	BLOCK_SIZE=`_get_block_size $TEST_DIR`
 	# user.attribute_XXX="value.XXX" is about 32 bytes; leave some overhead
-	let MAX_ATTRS=$BLOCK_SIZE/40
+	let MAX_ATTRS=$BLOCK_SIZE/48
 esac
 
 export MAX_ATTRS
-- 
2.31.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help