[LU-8837] Cleanly separate server code from client code. Created: 15/Nov/16  Updated: 06/Dec/22

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.10.0
Fix Version/s: Upstream

Type: Improvement Priority: Minor
Reporter: James A Simmons Assignee: James A Simmons
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Related
is related to LU-14055 Write performance regression caused b... Resolved
is related to LU-14983 actually use CONFIGS/mountdata in ser... Open
is related to LU-14291 Improve use of HAVE_SERVER_SUPPORT an... Reopened
Rank (Obsolete): 9223372036854775807

 Description   

With the syncing of the upstream client its becoming more clear what is the client code. Currently a lot of server code is included with the lustre client package. Its time to properly separate it out.



 Comments   
Comment by Gerrit Updater [ 15/Nov/16 ]

James Simmons (uja.ornl@yahoo.com) uploaded a new patch: http://review.whamcloud.com/23775
Subject: LU-8837 build: reduce obdclass code built for client
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 16409e689948d62f71433dd0f27c5bb4b2a7075e

Comment by James A Simmons [ 15/Nov/16 ]

this first patch is just the tip of the iceberg.

Comment by Peter Jones [ 16/Nov/16 ]

James

Have you got a handle on this task or is it something that could/should be shared between multiple engineers?

Peter

Comment by James A Simmons [ 16/Nov/16 ]

I got it. Just need the reviews to make sure its done right in some spots.

Comment by James A Simmons [ 14/Feb/17 ]

Note to self that server_name2svname() is really a server side function. Will submit patch once lustre_disk.h lands for LU-6401 work.

Comment by Gerrit Updater [ 02/Aug/17 ]

James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/28315
Subject: LU-8837 utils: make tools lightweight for lustre clients
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 5b5e2ad6c1fc950a167bb2c6db2bdddb25b1de99

Comment by James A Simmons [ 02/Aug/17 ]

This patch with the last patch for LU-6401 moves lustre to being able to be built against the upstream client With the completion of this work lustre will have reached a important mile stone.

Comment by Aurelien Degremont (Inactive) [ 20/Sep/17 ]

James, all your work regarding upstream client is really nice and important! Thanks for that!

I have the idea that Lustre build system, in the future, would handle server compilation simply like additional stuff to do, if requested by the admin.

Client code will be a set of kernel modules (which could be taken from Linux kernel) and a set of CLI tools (from lustre source code for now).

Server code will be another set of kernel modules and possibly CLI tools. This would simplify packing a lot.

 

For now, do you know which lustre modules have a different code depending if server compilation is enabled or not?

Comment by Gerrit Updater [ 22/Nov/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/28315/
Subject: LU-8837 utils: make tools lightweight for lustre clients
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: d62efba975d27d98f2d50f14d49dda53d2355d0c

Comment by Gerrit Updater [ 20/Apr/18 ]

James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/32100
Subject: LU-8837 obd: remove linux directory
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 49af44e389e3ff7c85ac81d0c6e8e3d2b204b371

Comment by Gerrit Updater [ 06/May/18 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/32100/
Subject: LU-8837 obd: remove linux directory
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 6f8d0e2905286cadda1564ace6c2e6b034f0dfd6

Comment by Gerrit Updater [ 17/Aug/20 ]

James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/39683
Subject: LU-8837 build: use tgt_pool for lov layer
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: a3a32c954f2200aab775896f9c93172cc6c76b25

Comment by Gerrit Updater [ 01/Dec/20 ]

James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/40821
Subject: LU-8837 build: make OpenSFS code buildable against Lustre linux client
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 3160ddf498af93c3a78e69d38eaa57171a905672

Comment by Gerrit Updater [ 26/Feb/21 ]

Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/41768
Subject: LU-8837 target: don't build any 'target' on client.
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 4f997afbe27b06fe3a215c8b45352240a9890e3b

Comment by Gerrit Updater [ 26/Feb/21 ]

Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/41769
Subject: LU-8837 ptlrpc: restrict sec_ctx.c to server-only
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: ac69e41035641aa8ac0ab525d5f136ef7cf86111

Comment by Gerrit Updater [ 09/Mar/21 ]

Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/41947
Subject: LU-8837 ptlrpc: mark some functions as static
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 2e6f199f904dab34d72ad691ed1dc404f2f7082e

Comment by Gerrit Updater [ 09/Mar/21 ]

Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/41948
Subject: LU-8837 ptlrpc: only build service.c on the server
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: add6c3ec335112a6b667ec3bf5b5c6b90c374e3c

Comment by Gerrit Updater [ 09/Mar/21 ]

Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/41949
Subject: LU-8837 lmv: don't use lqr_alloc spinlock in lmv
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 37d8d4022d092a1244f5b4d7814ffefe429b26ed

Comment by Gerrit Updater [ 09/Mar/21 ]

Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/41950
Subject: LU-8837 lmv: don't include struct lu_qos_rr in client
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 3b605f90c50a3824d64adad948b98ffbaf4bb9e1

Comment by Gerrit Updater [ 09/Mar/21 ]

Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/41951
Subject: LU-8837 lustre: move lu_tgt_pool out of obd_target.h
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: ff6318d60d235c7f699bf9a71e6be67ad3a83ea7

Comment by Gerrit Updater [ 09/Mar/21 ]

Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/41952
Subject: LU-8837 lustre: remove target declarations from obd.h
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 4fc25bc4084439c1072ec3990951edd23b87ac66

Comment by Gerrit Updater [ 10/Mar/21 ]

Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/41993
Subject: LU-8837 lod: move lod-specifc pool config code into lod_dev
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 37c7e85c8b04710f9b3353a6b5bc6d27f4730f62

Comment by Gerrit Updater [ 10/Mar/21 ]

Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/41994
Subject: LU-8837 lustre: make uapi...lustre_disk.h unnecessary on client
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 25cdb824871124bd2a4f2828c54a8fe1292b0ead

Comment by Gerrit Updater [ 10/Mar/21 ]

Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/41995
Subject: LU-8837 mgc: move server-only code out of mgc_request.c
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 8efe2d0d913c57402cca0584dd3f981b83baa4b3

Comment by Gerrit Updater [ 16/Mar/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41947/
Subject: LU-8837 ptlrpc: mark some functions as static
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: f77e53d3656504c804fe3dd0a3fb72080229b648

Comment by Gerrit Updater [ 22/Mar/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41949/
Subject: LU-8837 lmv: don't use lqr_alloc spinlock in lmv
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 3e14a71d87efde0a91ef04d3f37f0d16e3c2b450

Comment by Gerrit Updater [ 30/Mar/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41993/
Subject: LU-8837 lod: move lod-specifc pool config code into lod_dev
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: a12a61ab7f927dfc2213b213167be60369eaa275

Comment by Gerrit Updater [ 10/Apr/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41950/
Subject: LU-8837 lmv: don't include struct lu_qos_rr in client
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: b6882c8ae4f47e931cc7b49da1c6bffaaf31499b

Comment by Gerrit Updater [ 28/Apr/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41951/
Subject: LU-8837 lustre: move lu_tgt_pool out of obd_target.h
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 5a8dc02609ace484079a66c13e9e35c04af7f06c

Comment by Gerrit Updater [ 02/Sep/21 ]

"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/44829
Subject: LU-8837 utils: move lustre_disk_data back to lustre_disk.h
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 045cb5aa53d92717d48faac1ec5462420a1983ef

Comment by Gerrit Updater [ 22/Sep/21 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44829/
Subject: LU-8837 utils: move lustre_disk_data back to lustre_disk.h
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: b5ddb7dab5fca41b493212002406034925770942

Comment by Gerrit Updater [ 08/Aug/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/41994/
Subject: LU-8837 lustre: make uapi...lustre_disk.h unnecessary on client
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: e34950d29f1168a8a85f26e862eaec888b94350e

Comment by Gerrit Updater [ 08/Nov/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/41767/
Subject: LU-8837 lustre: make ldlm and target file lists
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: f32bdde0574daae522a61d00f9dda87c84c9dd05

Comment by Gerrit Updater [ 08/Nov/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/41995/
Subject: LU-8837 mgc: move server-only code out of mgc_request.c
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 41610e6207ef5ef43093fb79d54200516b5b2838

Comment by Gerrit Updater [ 10/Nov/22 ]

"Neil Brown <neilb@suse.de>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49126
Subject: LU-8837 ptlrpc: fix problem with distclean
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 517eb826900435a14fdc5356af92cd60fc77ca82

Comment by Gerrit Updater [ 11/Nov/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49126/
Subject: LU-8837 ptlrpc: fix problem with distclean
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 4fe328b39be6188d7e470260943e7b6aba739422

Comment by Gerrit Updater [ 06/Dec/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/41768/
Subject: LU-8837 target: don't build any 'target' on client.
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: a5d5bfbf9b6141954ec56e196aceaa233ef0228b

Comment by Gerrit Updater [ 06/Dec/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/41952/
Subject: LU-8837 lustre: remove target declarations from obd.h
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 888962496078198250d8ad63e4ac928c45f31473

Generated at Sat Feb 10 02:20:58 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.