Skip to content

staging/lustre: yet more dead code removal

John L. Hammond lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12staging/lustre/lov: remove unused OBD methodsdrivers/staging/lustre/lustre/lov/lov_internal.h drivers/staging/lustre/lustre/lov/lov_merge.c drivers/staging/lustre/lustre/lov/lov_obd.c +2 more+0 -15570 replies
2/12staging/lustre/osc: remove unused OBD methodsdrivers/staging/lustre/lustre/osc/osc_request.c+0 -2640 replies
3/12staging/lustre/osc: remove obsolete llog handling codedrivers/staging/lustre/lustre/osc/osc_request.c+1 -460 replies
4/12staging/lustre: remove obd_ost.hdrivers/staging/lustre/lustre/include/lustre_lite.h drivers/staging/lustre/lustre/include/lustre_log.h drivers/staging/lustre/lustre/include/obd_ost.h +8 more+44 -1560 replies
5/12staging/lustre/mdc: remove unused OBD methodsdrivers/staging/lustre/lustre/mdc/mdc_request.c+0 -900 replies
6/12staging/lustre/mdc: inline llog methodsdrivers/staging/lustre/lustre/mdc/mdc_request.c+29 -380 replies
7/12staging/lustre/mgc: inline mgc_cancel()drivers/staging/lustre/lustre/mgc/mgc_request.c+2 -150 replies
8/12staging/lustre: remove unused OBD methodsdrivers/staging/lustre/lustre/include/lustre_log.h drivers/staging/lustre/lustre/include/obd.h drivers/staging/lustre/lustre/include/obd_class.h +2 more+0 -3760 replies
9/12staging/lustre/mgc: remove server specific llog handlingdrivers/staging/lustre/lustre/mgc/mgc_request.c+4 -800 replies
10/12staging/lustre/ptlrpc: remove sptlrpc_conf_target_get_rules()drivers/staging/lustre/lustre/include/lustre_sec.h drivers/staging/lustre/lustre/ptlrpc/sec_config.c+0 -3300 replies
11/12staging/lustre/obdclass: remove llog_ioctl.cdrivers/staging/lustre/lustre/include/lustre_log.h drivers/staging/lustre/lustre/obdclass/Makefile drivers/staging/lustre/lustre/obdclass/llog_ioctl.c+1 -4230 replies
12/12staging/lustre/obdclass: remove local_storage.[ch]drivers/staging/lustre/lustre/obdclass/Makefile drivers/staging/lustre/lustre/obdclass/local_storage.c drivers/staging/lustre/lustre/obdclass/local_storage.h+1 -9860 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/12] staging/lustre: yet more dead code removal

From: "John L. Hammond" <[email protected]>

Howdy,

This series yet removes more dead and obsolete code from drivers/staging/lustre in the form of methods from struct obd_ops and server specific llog handling.

John L. Hammond (12):
staging/lustre/lov: remove unused OBD methods staging/lustre/osc: remove unused OBD methods staging/lustre/osc: remove obsolete llog handling code staging/lustre: remove obd_ost.h staging/lustre/mdc: remove unused OBD methods staging/lustre/mdc: inline llog methods staging/lustre/mgc: inline mgc_cancel() staging/lustre: remove unused OBD methods staging/lustre/mgc: remove server specific llog handling staging/lustre/ptlrpc: remove sptlrpc_conf_target_get_rules() staging/lustre/obdclass: remove llog_ioctl.c staging/lustre/obdclass: remove local_storage.[ch]

 .../staging/lustre/lustre/include/lustre_lite.h    |    1 -
 drivers/staging/lustre/lustre/include/lustre_log.h |   10 -
 drivers/staging/lustre/lustre/include/lustre_sec.h |    3 -
 drivers/staging/lustre/lustre/include/obd.h        |   47 -
 drivers/staging/lustre/lustre/include/obd_class.h  |  279 ------
 drivers/staging/lustre/lustre/include/obd_ost.h    |  100 ---
 drivers/staging/lustre/lustre/lov/lov_internal.h   |   45 -
 drivers/staging/lustre/lustre/lov/lov_merge.c      |   27 -
 drivers/staging/lustre/lustre/lov/lov_obd.c        |  531 ------------
 drivers/staging/lustre/lustre/lov/lov_pack.c       |  172 ----
 drivers/staging/lustre/lustre/lov/lov_request.c    |  784 -----------------
 drivers/staging/lustre/lustre/mdc/mdc_request.c    |  157 +---
 drivers/staging/lustre/lustre/mgc/mgc_request.c    |  101 +--
 drivers/staging/lustre/lustre/obdclass/Makefile    |    4 +-
 drivers/staging/lustre/lustre/obdclass/debug.c     |    1 -
 drivers/staging/lustre/lustre/obdclass/genops.c    |    1 -
 .../staging/lustre/lustre/obdclass/llog_ioctl.c    |  418 ---------
 drivers/staging/lustre/lustre/obdclass/llog_obd.c  |   25 -
 .../staging/lustre/lustre/obdclass/local_storage.c |  894 --------------------
 .../staging/lustre/lustre/obdclass/local_storage.h |   91 --
 .../lustre/lustre/obdclass/lprocfs_status.c        |   20 -
 .../staging/lustre/lustre/osc/osc_cl_internal.h    |    1 -
 drivers/staging/lustre/lustre/osc/osc_quota.c      |    2 +-
 drivers/staging/lustre/lustre/osc/osc_request.c    |  401 +--------
 drivers/staging/lustre/lustre/ptlrpc/recover.c     |    1 -
 drivers/staging/lustre/lustre/ptlrpc/sec_config.c  |  327 -------
 26 files changed, 82 insertions(+), 4361 deletions(-)
 delete mode 100644 drivers/staging/lustre/lustre/include/obd_ost.h
 delete mode 100644 drivers/staging/lustre/lustre/obdclass/llog_ioctl.c
 delete mode 100644 drivers/staging/lustre/lustre/obdclass/local_storage.c
 delete mode 100644 drivers/staging/lustre/lustre/obdclass/local_storage.h
Signature · 1 line
1.7.9.5