Skip to contentSkip to conversation

generic/417: reduce extend attribute size

PATCH In review Eryu Guan 2 participants 2 messages Mar 16, 2017 – Mar 17, 2017

lore
Share & tools
lore

Eryu Guan

author
#0 lore raw

PATCH 1/1 generic/417: reduce extend attribute size

xattr size 1024 is too big for 1k block size ext3/4 filesystem, so test fails due to ENSPC message from multi_open_unlink when setting xattr.

Reduce the xattr size to 512 so it fits in 1k block size ext3/4.

---
 tests/generic/417 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/generic/417 +1 -1
index 45d63f5..690ceb5 100755
@@ -61,7 +61,7 @@ function create_dirty_orphans() {
 
 	num_files=200
 	num_eas=1
-	ea_val_size=1024
+	ea_val_size=512
 
 	# sleep for ages and we will kill this pid when we are ready
 	delay=100
Signature · 1 line
2.9.3
#1 lore raw
Quoted 5 lines · Eryu Guan

xattr size 1024 is too big for 1k block size ext3/4 filesystem, so test fails due to ENSPC message from multi_open_unlink when setting xattr.

Reduce the xattr size to 512 so it fits in 1k block size ext3/4.

Tested and ack.

Quoted 26 lines
---
 tests/generic/417 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/generic/417 +1 -1
index 45d63f5..690ceb5 100755
@@ -61,7 +61,7 @@ function create_dirty_orphans() {
 
 	num_files=200
 	num_eas=1
-	ea_val_size=1024
+	ea_val_size=512
 
 	# sleep for ages and we will kill this pid when we are ready
 	delay=100
Signature · 6 lines
2.9.3

--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html