Skip to content

Removal of unused Lustre code

[email protected] lkml lustre-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest29 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/29staging/lustre: Remove unused target_print_req()drivers/staging/lustre/lustre/include/lprocfs_status.h drivers/staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c+0 -340 replies
2/29staging/lustre: Remove unused lustre_acl_xattr_merge2posix()drivers/staging/lustre/lustre/include/lustre_eacl.h drivers/staging/lustre/lustre/obdclass/acl.c+0 -1230 replies
3/29staging/lustre/ptlrpc: Remove server-specific health checksdrivers/staging/lustre/lustre/include/lustre_net.h drivers/staging/lustre/lustre/ptlrpc/ptlrpc_internal.h drivers/staging/lustre/lustre/ptlrpc/service.c+0 -650 replies
4/29staging/lustre: Remove unused req_capsule_server_growdrivers/staging/lustre/lustre/include/lustre_req_layout.h drivers/staging/lustre/lustre/ptlrpc/layout.c+0 -650 replies
5/29staging/lustre: Remove unused reply state batches codedrivers/staging/lustre/lustre/include/lustre_net.h drivers/staging/lustre/lustre/ptlrpc/service.c+1 -1500 replies
6/29staging/lustre: Remove high-priority request callbacksdrivers/staging/lustre/lustre/include/lustre_net.h drivers/staging/lustre/lustre/ptlrpc/service.c+0 -560 replies
7/29staging/lustre: Remove unused statfs_pack()drivers/staging/lustre/lustre/include/lustre_lib.h drivers/staging/lustre/lustre/obdclass/statfs_pack.c+0 -150 replies
8/29staging/lustre: Remove unused ptlrpcd_add_rqset()drivers/staging/lustre/lustre/include/lustre_net.h drivers/staging/lustre/lustre/ptlrpc/ptlrpcd.c+0 -430 replies
9/29staging/lustre: Remove unused functions and definitions from cl_objectdrivers/staging/lustre/lustre/include/cl_object.h drivers/staging/lustre/lustre/obdclass/cl_io.c drivers/staging/lustre/lustre/obdclass/cl_lock.c +1 more+0 -1580 replies
10/29staging/lustre: Remove unused lu_object functions.drivers/staging/lustre/lustre/include/lu_object.h drivers/staging/lustre/lustre/obdclass/lu_object.c+0 -2680 replies
11/29staging/lustre/ldlm: Remove unused round_timeout functiondrivers/staging/lustre/lustre/ldlm/ldlm_lockd.c+0 -50 replies
12/29staging/lustre/obdclass: Remove unused functions from genops.cdrivers/staging/lustre/lustre/include/lustre_import.h drivers/staging/lustre/lustre/include/obd_class.h drivers/staging/lustre/lustre/obdclass/genops.c+0 -2010 replies
13/29staging/lustre: Remove unused function class_handle_hash_back()drivers/staging/lustre/lustre/include/lustre_handles.h drivers/staging/lustre/lustre/obdclass/lustre_handles.c+0 -140 replies
14/29staging/lustre: Remove unused function server_name2svname()drivers/staging/lustre/lustre/include/lustre_disk.h drivers/staging/lustre/lustre/obdclass/obd_mount.c+0 -290 replies
15/29staging/lustre/obdclass: Drop unused code from obdo.cdrivers/staging/lustre/lustre/obdclass/obdo.c+0 -1700 replies
16/29staging/lustre/ptlrpc: Drop unused client codedrivers/staging/lustre/lustre/include/lustre_net.h drivers/staging/lustre/lustre/ptlrpc/client.c drivers/staging/lustre/lustre/ptlrpc/import.c+0 -1190 replies
17/29staging/lustre/ptlrpc: secure wrapping code cleanupdrivers/staging/lustre/lustre/include/lustre_sec.h drivers/staging/lustre/lustre/ptlrpc/sec.c drivers/staging/lustre/lustre/ptlrpc/sec_bulk.c +2 more+0 -5280 replies
18/29staging/lustre: Drop unused obdo_from_la() and la_from_obdo()drivers/staging/lustre/lustre/obdclass/linux/linux-obdo.c+0 -1370 replies
19/29staging/lustre: remove lots of dead codedrivers/staging/lustre/lustre/include/lustre/lustre_idl.h drivers/staging/lustre/lustre/include/lustre/lustre_user.h drivers/staging/lustre/lustre/include/lustre_debug.h +13 more+0 -7310 replies
20/29staging/lustre/fid: Remove server fid function declarationsdrivers/staging/lustre/lustre/include/lustre_fid.h+0 -240 replies
21/29staging/lustre/fid: seq_client_init/fini don't need to be exporteddrivers/staging/lustre/lustre/fid/fid_request.c drivers/staging/lustre/lustre/include/lustre_fid.h+18 -290 replies
22/29staging/lustre/fid: Remove unused seq_client_get_seq functiondrivers/staging/lustre/lustre/fid/fid_request.c drivers/staging/lustre/lustre/include/lustre_fid.h+0 -540 replies
23/29staging/lustre/fid: Get rid of lcs_srv in lu_client_seqdrivers/staging/lustre/lustre/fid/fid_request.c drivers/staging/lustre/lustre/fid/lproc_fid.c drivers/staging/lustre/lustre/include/lustre_fid.h+17 -380 replies
24/29staging/lustre/fid: Remove unused struct lu_server_seqdrivers/staging/lustre/lustre/include/lustre_fid.h+0 -510 replies
25/29staging/lustre/obdclass: Remove unused nid_hashdrivers/staging/lustre/lustre/include/lustre_export.h drivers/staging/lustre/lustre/include/obd.h drivers/staging/lustre/lustre/obdclass/genops.c +1 more+1 -1070 replies
26/29staging/lustre: Remove server-only recovery-related bitsdrivers/staging/lustre/lustre/include/lustre_export.h drivers/staging/lustre/lustre/include/obd.h drivers/staging/lustre/lustre/include/obd_class.h +4 more+28 -1400 replies
27/29staging/lustre: Remove ccc_attr/conf_set()drivers/staging/lustre/lustre/include/lclient.h drivers/staging/lustre/lustre/lclient/lcommon_cl.c+0 -190 replies
28/29staging/lustre: Remove unused ccc_io_fini()drivers/staging/lustre/lustre/include/lclient.h drivers/staging/lustre/lustre/lclient/lcommon_cl.c+0 -80 replies
29/29staging/lustre: Remove ccc_transient_page_* methodsdrivers/staging/lustre/lustre/include/lclient.h drivers/staging/lustre/lustre/lclient/lcommon_cl.c+0 -670 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/29] Removal of unused Lustre code

From: Oleg Drokin <[email protected]>

This set removes a bunch of lustre code that is no lonver relevant, is server specific or is otherwise unused.

Please consider.

More to come later.

Arnd Bergmann (1):
staging/lustre: remove lots of dead code

Oleg Drokin (28):
staging/lustre: Remove unused target_print_req() staging/lustre: Remove unused lustre_acl_xattr_merge2posix() staging/lustre/ptlrpc: Remove server-specific health checks staging/lustre: Remove unused req_capsule_server_grow staging/lustre: Remove unused reply state batches code staging/lustre: Remove high-priority request callbacks staging/lustre: Remove unused statfs_pack() staging/lustre: Remove unused ptlrpcd_add_rqset() staging/lustre: Remove unused functions and definitions from cl_object staging/lustre: Remove unused lu_object functions. staging/lustre/ldlm: Remove unused round_timeout function staging/lustre/obdclass: Remove unused functions from genops.c staging/lustre: Remove unused function class_handle_hash_back() staging/lustre: Remove unused function server_name2svname() staging/lustre/obdclass: Drop unused code from obdo.c staging/lustre/ptlrpc: Drop unused client code staging/lustre/ptlrpc: secure wrapping code cleanup staging/lustre: Drop unused obdo_from_la() and la_from_obdo() staging/lustre/fid: Remove server fid function declarations staging/lustre/fid: seq_client_init/fini don't need to be exported staging/lustre/fid: Remove unused seq_client_get_seq function staging/lustre/fid: Get rid of lcs_srv in lu_client_seq staging/lustre/fid: Remove unused struct lu_server_seq staging/lustre/obdclass: Remove unused nid_hash staging/lustre: Remove server-only recovery-related bits staging/lustre: Remove ccc_attr/conf_set()
staging/lustre: Remove unused ccc_io_fini() staging/lustre: Remove ccc_transient_page_* methods

 drivers/staging/lustre/lustre/fid/fid_request.c    | 132 ++------
 drivers/staging/lustre/lustre/fid/lproc_fid.c      |   2 -
 drivers/staging/lustre/lustre/include/cl_object.h  |  26 --
 drivers/staging/lustre/lustre/include/lclient.h    |  24 --
 .../staging/lustre/lustre/include/lprocfs_status.h |   4 -
 drivers/staging/lustre/lustre/include/lu_object.h  |  27 --
 .../lustre/lustre/include/lustre/lustre_idl.h      |   8 -
 .../lustre/lustre/include/lustre/lustre_user.h     |   2 -
 .../staging/lustre/lustre/include/lustre_debug.h   |   1 -
 .../staging/lustre/lustre/include/lustre_disk.h    |   2 -
 .../staging/lustre/lustre/include/lustre_eacl.h    |   4 -
 .../staging/lustre/lustre/include/lustre_export.h  |  19 +-
 drivers/staging/lustre/lustre/include/lustre_fid.h |  91 ------
 .../staging/lustre/lustre/include/lustre_handles.h |   1 -
 .../staging/lustre/lustre/include/lustre_import.h  |   1 -
 drivers/staging/lustre/lustre/include/lustre_lib.h |   1 -
 drivers/staging/lustre/lustre/include/lustre_net.h |  42 +--
 .../staging/lustre/lustre/include/lustre_param.h   |   6 -
 .../lustre/lustre/include/lustre_req_layout.h      |   7 -
 drivers/staging/lustre/lustre/include/lustre_sec.h |  20 --
 drivers/staging/lustre/lustre/include/obd.h        |  29 --
 drivers/staging/lustre/lustre/include/obd_class.h  |  28 --
 drivers/staging/lustre/lustre/lclient/lcommon_cl.c |  70 ----
 drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c    |   5 -
 drivers/staging/lustre/lustre/obdclass/acl.c       | 119 -------
 drivers/staging/lustre/lustre/obdclass/cl_io.c     |  65 ----
 drivers/staging/lustre/lustre/obdclass/cl_lock.c   |  26 --
 drivers/staging/lustre/lustre/obdclass/cl_object.c |  41 ---
 drivers/staging/lustre/lustre/obdclass/debug.c     |  10 -
 drivers/staging/lustre/lustre/obdclass/genops.c    | 249 +-------------
 .../lustre/lustre/obdclass/linux/linux-obdo.c      | 137 --------
 .../lustre/lustre/obdclass/linux/linux-sysctl.c    |   4 -
 drivers/staging/lustre/lustre/obdclass/lu_object.c | 241 --------------
 .../lustre/lustre/obdclass/lustre_handles.c        |  13 -
 .../staging/lustre/lustre/obdclass/obd_config.c    | 358 ---------------------
 drivers/staging/lustre/lustre/obdclass/obd_mount.c |  27 --
 drivers/staging/lustre/lustre/obdclass/obdo.c      | 170 ----------
 .../staging/lustre/lustre/obdclass/statfs_pack.c   |  14 -
 drivers/staging/lustre/lustre/ptlrpc/client.c      |  95 ------
 drivers/staging/lustre/lustre/ptlrpc/import.c      |  11 -
 drivers/staging/lustre/lustre/ptlrpc/layout.c      | 126 --------
 .../staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c    |  30 --
 drivers/staging/lustre/lustre/ptlrpc/niobuf.c      |   3 +-
 drivers/staging/lustre/lustre/ptlrpc/nrs.c         | 123 -------
 .../staging/lustre/lustre/ptlrpc/pack_generic.c    | 197 ------------
 drivers/staging/lustre/lustre/ptlrpc/pinger.c      |  18 --
 .../staging/lustre/lustre/ptlrpc/ptlrpc_internal.h |   8 -
 drivers/staging/lustre/lustre/ptlrpc/ptlrpcd.c     |  42 ---
 drivers/staging/lustre/lustre/ptlrpc/sec.c         | 116 -------
 drivers/staging/lustre/lustre/ptlrpc/sec_bulk.c    | 329 -------------------
 drivers/staging/lustre/lustre/ptlrpc/sec_config.c  |  48 ---
 drivers/staging/lustre/lustre/ptlrpc/sec_gc.c      |  15 -
 drivers/staging/lustre/lustre/ptlrpc/service.c     | 320 ++----------------
 53 files changed, 62 insertions(+), 3445 deletions(-)
Signature · 1 line
2.1.0