ext4: add a test for ea_inode feature
authorTahsin Erdogan <tahsin@google.com>
Wed, 26 Jul 2017 18:02:16 +0000 (11:02 -0700)
committerEryu Guan <eguan@redhat.com>
Fri, 28 Jul 2017 10:53:51 +0000 (18:53 +0800)
commit606c652eee97bacfa2cafce70cede6a6e8ea725c
tree510ce1650fbff958c31d9add5e04230a5bb8f652
parent6a6e65aa50932c95d413336a3f4d89ae603a10c3
ext4: add a test for ea_inode feature

ea_inode feature supports creating extended attributes with values
greater than the fs block size. This test exercises some common
scenarios:

 - Extended attibute being placed in inode vs xattr block
 - Removing extended attribute
 - Removing a file that has an extended attribute
 - Multiple files having identical large attribute values
 - Repeatedly setting an extended attribute with various sizes

Signed-off-by: Tahsin Erdogan <tahsin@google.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/ext4/026 [new file with mode: 0755]
tests/ext4/026.out [new file with mode: 0644]
tests/ext4/group