[LU-9842] If you disable xattr cache on client and run sanity 102n it will crash the MDS server Created: 07/Aug/17 Updated: 14/Sep/17 Resolved: 28/Aug/17 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.10.0, Lustre 2.11.0 |
| Fix Version/s: | Lustre 2.10.1, Lustre 2.11.0 |
| Type: | Bug | Priority: | Critical |
| Reporter: | James A Simmons | Assignee: | nasf (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Any lustre client |
||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
|
Run the following on a client with the maloo test suite installed: lctl set_param llite.lustre-*.xattr_cache=0 You will get the following crash on the MDS server: 2017-08-07T13:55:33.198203-04:00 ninja34.ccs.ornl.gov kernel: Lustre: DEBUG MARKER: == sanity test 102n: silently ignor |
| Comments |
| Comment by John Hammond [ 08/Aug/17 ] |
|
It's enough to ask for trusted.fid with the xattr cache disabled. The assertion was added by https://review.whamcloud.com/24882 |
| Comment by James A Simmons [ 08/Aug/17 ] |
|
Okay I updated the version impact. |
| Comment by Peter Jones [ 08/Aug/17 ] |
|
Fan Yong Could you please advise? Thanks Peter |
| Comment by John Hammond [ 08/Aug/17 ] |
|
Fan Yong, it looks like this assertion can be removed and then the MDT will handle this correctly. Do you agree? |
| Comment by nasf (Inactive) [ 08/Aug/17 ] |
Fan Yong, it looks like this assertion can be removed and then the MDT will handle this correctly. Do you agree? Basically, it is yes, but we can some improvement. XATTR_NAME_FID is OST side EA, if someone calls getxattr() for XATTR_NAME_FID on the MDT, we should return ENODATA. |
| Comment by Gerrit Updater [ 08/Aug/17 ] |
|
Fan Yong (fan.yong@intel.com) uploaded a new patch: https://review.whamcloud.com/28434 |
| Comment by Gerrit Updater [ 28/Aug/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/28434/ |
| Comment by Gerrit Updater [ 28/Aug/17 ] |
|
Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/28761 |
| Comment by Gerrit Updater [ 14/Sep/17 ] |
|
John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/28761/ |