[LU-1330] split/cleanup for obdclass/fid/fld modules Created: 17/Apr/12 Updated: 22/Apr/14 Resolved: 22/Apr/14 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.4.0, Lustre 2.5.0 |
| Fix Version/s: | Lustre 2.4.0, Lustre 2.6.0 |
| Type: | Task | Priority: | Minor |
| Reporter: | Xuezhao Liu | Assignee: | John Hammond |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | llite, patch | ||
| Environment: |
Linux client |
||
| Issue Links: |
|
||||||||
| Epic: | client | ||||||||
| Rank (Obsolete): | 7506 | ||||||||
| Description |
|
Clean up Lustre client to facilitate pushing it into upstream Linux kernel. Need to split some server code dependencies from client to avoidmaking extensive server code changes. There are some client-server shared modules that contain both client-side and server-side codes. For pushing client-side code to upstread linux kernel, we need to do some split/cleanup work. This ticket is to split/cleanup obdclass/fid/fld's server-side handling from client-side. |
| Comments |
| Comment by Xuezhao Liu [ 07/May/12 ] |
|
seven patches submitted: Those patch were generated based on |
| Comment by Gregoire Pichon [ 19/Jun/12 ] |
|
As part of the patch http://review.whamcloud.com/2678, I see you removes the llog_catinfo code. Do you plan to also remove the client part of this code: "lfs catinfo" command, lfs_catinfo() routine, ... ? Currently, running the "lfs catinfo config ." command crashes the system. The processing of the OBD_IOC_LLOG_CATINFO in ll_dir_ioctl() expects the obd device pointed by sbi->ll_md_exp->exp_obd to be a "client" device but it is a "lmv" device, which leads to a GPF in ptlrpc_request_alloc_internal(). thanks. |
| Comment by Xuezhao Liu [ 19/Jun/12 ] |
|
Hi Greoire, Thanks your reminding. I forgot to remove that client-side routine. I think it make sense to format another seperate patch to remove catinfo code(both client and server side). You may format and submit it as it is your idea, I can do it if it is in-convenient for you. Thanks. |
| Comment by Gregoire Pichon [ 20/Jun/12 ] |
|
Hi, I have created Grégoire. |
| Comment by John Hammond [ 14/Mar/13 ] |
|
Thanks for breaking these up in to a series, but I'm not sure that it's the best strategy for Lustre's landing process. I'm working on refactoring them into changes that I think will have an easier time going through. Here is my first patch: http://review.whamcloud.com/#change,5721 remove osd proc handlers from lprocfs_status.c |
| Comment by John Hammond [ 14/Mar/13 ] |
|
http://review.whamcloud.com/#change,5724 prepare fid module for client server split |
| Comment by John Hammond [ 11/Jun/13 ] |
|
http://review.whamcloud.com/#change,2673 prepare FID module for client server split - merged. Several patches still in flight. |
| Comment by Christopher Morrone [ 20/Jul/13 ] |
|
Hi guys. Some of the recent 65d63035c LU-1330 fid: prepare FID module for client server split When you make compilation of a source file optional, please remember to add it to EXTRA_DIST when the option is false. I have a patch to repair that and some other spots in another ticket: |
| Comment by Jodi Levi (Inactive) [ 22/Apr/14 ] |
|
Patches have landed. If more work is needed please open a new ticket. |