Whamcloud - gitweb
LU-3648 test: large_xattr_enable doesn't detect large xattrs 33/7133/5
authorJames Nunez <james.a.nunez@intel.com>
Fri, 26 Jul 2013 17:43:42 +0000 (11:43 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 13 Aug 2013 19:26:48 +0000 (19:26 +0000)
commitf44a4604921f2450aab8997d80ba21ff1282b5b7
tree8c9dbce7463f41bceb0ca43954ac636da64e0842
parent9b3b6c106b53c2c391d5e4347875a1cd3e150600
LU-3648 test: large_xattr_enable doesn't detect large xattrs

The large_xattr_enable function looks for "large_xattr" from
the output of dumpe2fs to determine if large xattrs is
enabled. When large extended attributes are enabled, the file
system flag "ea_inode" is set and not "large_xattr".

Since "large_xattr" may be used in the future for this
attribute, the fix is to grep for both "ea_inode" and
"large_xattr".

Signed-off-by: James Nunez <james.a.nunez@intel.com>
Change-Id: Iebe744e7fc70c878f1897b853e37f85cd6e59031
Reviewed-on: http://review.whamcloud.com/7133
Tested-by: Hudson
Reviewed-by: Keith Mannthey <keith.mannthey@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/test-framework.sh