Whamcloud - gitweb
LU-5814 lov: remove unused code 78/14878/7
authorJohn L. Hammond <john.hammond@intel.com>
Thu, 7 Jul 2016 21:16:23 +0000 (17:16 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 20 Jul 2016 17:42:47 +0000 (17:42 +0000)
commit2112bc0e8b54832c303008cfe53957b8a0019407
tree18a484677eb851608db9e2757e8ab4aec022b9b6
parentb2ee26bb78ccea8616b3fc94cc1c5fc258831207
LU-5814 lov: remove unused code

Remove:
  the tested but never set flag OBD_STATFS_PTLRPCD,
  the empty file lustre/lov/lovsub_io.c,
  the unused ld_emerg member of struct lov_device,
  the unused struct lov_device_emerg and supporting functions,
  the unused struct lov_lock_link and supporting functions, and
  the unused, get only, or set only members of struct
    lovsub_device, lovsub_lock, lov_sublock_env, lov_thread_info,
    lov_io_sub, lov_io, lov_request, and lov_request_set.

Reduce the scope of several functions from lov_request.c.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I3f4e7c94b401b5f90f7577c6c65311bd586a06ba
Reviewed-on: http://review.whamcloud.com/14878
Reviewed-by: Frank Zago <fzago@cray.com>
Reviewed-by: Ben Evans <bevans@cray.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
13 files changed:
lustre/include/obd_class.h
lustre/lov/Makefile.in
lustre/lov/lov_cl_internal.h
lustre/lov/lov_dev.c
lustre/lov/lov_internal.h
lustre/lov/lov_io.c
lustre/lov/lov_lock.c
lustre/lov/lov_obd.c
lustre/lov/lov_page.c
lustre/lov/lov_request.c
lustre/lov/lovsub_dev.c
lustre/lov/lovsub_io.c [deleted file]
lustre/lov/lovsub_lock.c