diff mbox

generic/417: reduce extend attribute size

Message ID 20170316070637.6489-1-eguan@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Eryu Guan March 16, 2017, 7:06 a.m. UTC
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.

Signed-off-by: Eryu Guan <eguan@redhat.com>
---
 tests/generic/417 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Murphy Zhou March 17, 2017, 4:50 a.m. UTC | #1
On Thu, Mar 16, 2017 at 03:06:37PM +0800, Eryu Guan wrote:
> 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.

> 
> Signed-off-by: Eryu Guan <eguan@redhat.com>
> ---
>  tests/generic/417 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/generic/417 b/tests/generic/417
> index 45d63f5..690ceb5 100755
> --- a/tests/generic/417
> +++ b/tests/generic/417
> @@ -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
> -- 
> 2.9.3
> 
> --
> To unsubscribe from this list: send the line "unsubscribe fstests" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/tests/generic/417 b/tests/generic/417
index 45d63f5..690ceb5 100755
--- a/tests/generic/417
+++ b/tests/generic/417
@@ -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