Whamcloud - gitweb
LU-5418 echo: replace lov_stripe_md with lov_oinfo 47/12447/3
authorJohn L. Hammond <john.hammond@intel.com>
Wed, 29 Oct 2014 17:15:06 +0000 (12:15 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 21 Nov 2014 16:04:38 +0000 (16:04 +0000)
commiteecdcf3004952f5d3a7126e0d6790c0be82f0a56
treee3719db20a968cf071fc05942ff7dd042717a1f4
parent1f7e2b9215cc5ea19e378462d07bd3a3b5e0e204
LU-5418 echo: replace lov_stripe_md with lov_oinfo

In echo_client replace uses of struct lov_stripe_md with struct
lov_oinfo (since the instances of the former really only contained a
single instance of the latter). Remove the then unneccessary functions
echo_alloc_memmd(), echo_free_memmd(), osc_unpackmd(), and
obd_alloc_memmd(). Remove the struct lov_stripe_md * parameter from
obd_create(). Flatten osc_create() and osc_real_create() into a single
function.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I5fe276bcc56e1fa8138a4d3f20b9d5297cf74f3f
Reviewed-on: http://review.whamcloud.com/12447
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bobi Jam <bobijam@gmail.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/include/obd.h
lustre/include/obd_class.h
lustre/obdecho/echo.c
lustre/obdecho/echo_client.c
lustre/ofd/ofd_obd.c
lustre/osc/osc_internal.h
lustre/osc/osc_request.c