Whamcloud - gitweb
LU-5814 echo: remove userspace LSM handling 46/12446/4
authorJohn L. Hammond <john.hammond@intel.com>
Mon, 27 Oct 2014 22:53:04 +0000 (17:53 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 4 Nov 2014 18:12:57 +0000 (18:12 +0000)
commit761e93f471aed74cabd9de75310d7b028875a9f0
tree0550f2bd84ebae8105cb7eabff9ed089fac4eb4a
parentc2c332bd8418bfe117e8d0a2b9a10f6e6e0cd204
LU-5814 echo: remove userspace LSM handling

In lustre/obdecho/echo_client.c, remove handling of lov_stripe_md
passed from userspace (since userspace never passes it). Remove the
LOV specific code (ed_next_islov) from the echo client (since it
doesn't work).

Remove echo_get_stripe_off_id() and all calls to it since the stripe
count of the passed in lsm is always 0 and the funciton does nothing
in this case. Remove the then unused lsm parameters of
echo_client_page_debug_setup() and echo_client_page_debug_check().

In the OBD_IOC_GETATTR and OBD_IOC_SETATTR cases of
echo_client_iocontrol() do not set the oi_md member of struct obd_info
since only LOV OBD methods access it.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: If5d31ca3bf798d2e4f6c4f63c2012160e50f8cd7
Reviewed-on: http://review.whamcloud.com/12446
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bobi Jam <bobijam@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/include/obd.h
lustre/obdecho/echo_client.c