LOD/OSP Implementation
(LU-1303)
|
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.4.0 |
| Fix Version/s: | None |
| Type: | Technical task | Priority: | Minor |
| Reporter: | Andreas Dilger | Assignee: | Alex Zhuravlev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Rank (Obsolete): | 4253 |
| Description |
|
Per discussion in http://review.whamcloud.com/4054, it would be desirable to clean up the handling for inherited/default striping in the LOD code:
To which Alex replied:
This bug is to track the outstanding cleanup. |
| Comments |
| Comment by Alex Zhuravlev [ 24/Dec/12 ] |
|
Andreas, let's refresh this a bit.. what specifically you'd like to improve: reduce memory footprint? or rework the code to improve readability ? |
| Comment by Andreas Dilger [ 24/Dec/12 ] |
|
To be honest, I don't recall how I wanted this to be cleaned up. For now, I'd be happy to get some clear comments where the "default" layout is stored on the directory that this will not be saved to disk in whatever function saves it, and again in that function indicating that default layouts are not saved to disk. |
| Comment by Alex Zhuravlev [ 24/Dec/12 ] |
|
OK, so during directory creation the rough sequence will be: lod_ah_init() lod_object_create() where so, all directory objects will be getting {0, 0, -1} striping in struct lod_object, I can not argue this is the best approach and wouldn't mind options. |
| Comment by Alex Zhuravlev [ 17/Jan/13 ] |
|
I think the last comment should have this explained. if anyone would like to keep this open or still have questions, please feel free to re-open. |