[LU-6027] Issues with EAs of orphan files and EAs with empty values Created: 15/Dec/14 Updated: 15/Jul/15 Resolved: 08/Jan/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.7.0, Lustre 2.5.4 |
| Fix Version/s: | Lustre 2.7.0, Lustre 2.5.4 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Li Wei (Inactive) | Assignee: | Li Wei (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Severity: | 3 | ||||||||||||
| Rank (Obsolete): | 16803 | ||||||||||||
| Description |
|
Current b2_5 and master have the following issues with EAs:
|
| Comments |
| Comment by Li Wei (Inactive) [ 15/Dec/14 ] |
|
master http://review.whamcloud.com/12880 b2_5 http://review.whamcloud.com/12944 |
| Comment by Gerrit Updater [ 26/Dec/14 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12880/ |
| Comment by Gerrit Updater [ 26/Dec/14 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12884/ |
| Comment by Blake Caldwell [ 29/Dec/14 ] |
|
The tests for this issue require attr/xattr.h, part of libattr-dev. Should they simply be added to the dependencies for the default build (with tests enabled)? Here is a proposed change for autoconf to return an error if attr/xattr.h is not present. diff --git a/config/lustre-build.m4 b/config/lustre-build.m4
index da197ba..5fc614e 100644
--- a/config/lustre-build.m4
+++ b/config/lustre-build.m4
@@ -267,6 +267,13 @@ AC_ARG_ENABLE([tests],
[disable building of Lustre tests]),
[], [enable_tests="yes"])
AC_MSG_RESULT([$enable_tests])
+AS_IF([test "x$enable_tests" = xyes],[
+ AC_CHECK_HEADER([attr/xattr.h],[],[
+ AC_MSG_ERROR([\
+lattr is needed for tests, install libattr-devel (RHEL) or \
+libattr1-dev (Debian)])
+])
+])
]) # LB_CONFIG_TESTS
#
Also libattr-dev should be added to lustre.spec.in and libattr-dev1 to debian/control{,.main}. There's really no option besides installing libattr1-dev for Ubuntu, since --disable-tests isn't properly implemented in debian/rules. |
| Comment by James A Simmons [ 29/Dec/14 ] |
|
Does <sys/xattr.h> alone work for these test or is libattr required.. A patch was created for xattr.h issues at |
| Comment by Blake Caldwell [ 30/Dec/14 ] |
|
Yes, patch http://review.whamcloud.com/13197 fixes the issue. |
| Comment by Jodi Levi (Inactive) [ 08/Jan/15 ] |
|
Patch landed to Master. |
| Comment by Gerrit Updater [ 19/Jan/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12900/ |