[LU-1678] Panic when a file created with O_LOV_DELAY_CREAT is opened by fid Created: 26/Jul/12 Updated: 05/Aug/20 Resolved: 06/Sep/12 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.3.0, Lustre 2.4.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | CEA | Assignee: | Zhenyu Xu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Severity: | 3 |
| Rank (Obsolete): | 4463 |
| Description |
|
To reproduce:
Attached is a sanity.sh patch which introduces a new test to reproduce the bug |
| Comments |
| Comment by jacques-charles lafoucriere [ 26/Jul/12 ] |
|
Reproducer can be found at http://review.whamcloud.com/3477 |
| Comment by Peter Jones [ 26/Jul/12 ] |
|
Bobijam Could you please look into this one? Thanks Peter |
| Comment by Zhenyu Xu [ 26/Jul/12 ] |
|
.lustre does not contain LOV EA data, when access file with O_LOV_DELAY_CREAT under it, the supposed action is to get its parent's LOV data and create its own LOV data, so we need forbid such action when we access it through .lustre path. patch tracking at http://review.whamcloud.com/3483, it includes your sanity test case patch, thank you for that. patch description mdd: don't create LOV EA by going thru .lustre path When a file is created with O_LOV_DELAY_CREAT, we should not create Add a test to sanity.sh open by fid test suite (test_154). |