[LU-5586] Duplicate "xattr" from sbi_flags under procfs Created: 04/Sep/14  Updated: 05/Jun/15  Resolved: 17/Dec/14

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.7.0

Type: Bug Priority: Major
Reporter: Jinshan Xiong (Inactive) Assignee: Bob Glossman (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 15584

 Description   
[root@mercury tests]# cat /proc/fs/lustre/llite/*/sbi_flags 
checksum flock xattr acl lru_resize 64bit_hash agl verbose layout xattr 

The problem is in the definition of LL_SBI_FLAGS in llite_internal.h where two "xattr" coexist.

#define LL_SBI_FLAGS {  \
        "nolck",        \
        "checksum",     \
        "flock",        \
        "xattr",        \
        "acl",          \
        "???",          \
        "rmt_client",   \
        "mds_capa",     \
        "oss_capa",     \
        "flock",        \
        "lru_resize",   \
        "lazy_statfs",  \
        "som",          \
        "32bit_api",    \
        "64bit_hash",   \
        "agl",          \
        "verbose",      \
        "layout",       \
        "user_fid2path",\
        "xattr",        \

The first one should be changed to "user_xattr" and the latter one should be "xattr_cache".



 Comments   
Comment by Jodi Levi (Inactive) [ 01/Dec/14 ]

Bob,
Would you be able to have a look at this one?
Thank you!

Comment by Gerrit Updater [ 01/Dec/14 ]

Bob Glossman (bob.glossman@intel.com) uploaded a new patch: http://review.whamcloud.com/12892
Subject: LU-5586 llite: fix dup flags names
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 7347043f0595cb1d5d2c9e93724c7c228b3231e5

Comment by Gerrit Updater [ 04/Dec/14 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12892/
Subject: LU-5586 llite: fix dup flags names
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 709e5881d9e0c395105cfbfb003ca93f776cef26

Comment by Jodi Levi (Inactive) [ 17/Dec/14 ]

Patch landed to Master.

Generated at Sat Feb 10 01:52:46 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.