Whamcloud - gitweb
LU-13004 modules: replace lnet_kiov_t with struct bio_vec 52/37852/7
authorMr NeilBrown <neilb@suse.de>
Thu, 21 Nov 2019 05:53:57 +0000 (16:53 +1100)
committerOleg Drokin <green@whamcloud.com>
Tue, 24 Mar 2020 05:17:20 +0000 (05:17 +0000)
commit7a74d382d5e8867785f662aede54a3e399168325
tree6385ee660c4aceb3023132e6ed26dd4924ad631c
parent63d9de69f8277a733ee254ad2f243beb7e789cc1
LU-13004 modules: replace lnet_kiov_t with struct bio_vec

lnet_kiov_t has the same structure and general purpose
as struct bio_vec - only the names a different.
The difference brings no value - so let's remove it.
sed -e 's/lnet_kiov_t/struct biovec/g'
    -e 's/kiov_page/bv_page/g'
    -e 's/kiov_len/bv_len/g'
    -e 's/kiov_offset/bv_offset/g'

plus some cleaning up.

Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: Ia718e5880d0fbbb9aa9aed0edf48a2b2c42b54d3
Reviewed-on: https://review.whamcloud.com/37852
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
34 files changed:
libcfs/include/libcfs/linux/linux-misc.h
lnet/include/lnet/lib-lnet.h
lnet/include/lnet/lib-types.h
lnet/include/uapi/linux/lnet/lnet-types.h
lnet/klnds/gnilnd/gnilnd.h
lnet/klnds/gnilnd/gnilnd_cb.c
lnet/klnds/gnilnd/gnilnd_proc.c
lnet/klnds/o2iblnd/o2iblnd.h
lnet/klnds/o2iblnd/o2iblnd_cb.c
lnet/klnds/socklnd/socklnd.h
lnet/klnds/socklnd/socklnd_cb.c
lnet/klnds/socklnd/socklnd_lib.c
lnet/lnet/lib-md.c
lnet/lnet/lib-move.c
lnet/lnet/lo.c
lnet/lnet/router.c
lnet/selftest/brw_test.c
lnet/selftest/conrpc.c
lnet/selftest/framework.c
lnet/selftest/rpc.c
lnet/selftest/selftest.h
lustre/include/lustre_net.h
lustre/osc/osc_page.c
lustre/ptlrpc/client.c
lustre/ptlrpc/gss/gss_api.h
lustre/ptlrpc/gss/gss_bulk.c
lustre/ptlrpc/gss/gss_crypto.c
lustre/ptlrpc/gss/gss_crypto.h
lustre/ptlrpc/gss/gss_krb5_mech.c
lustre/ptlrpc/gss/gss_mech_switch.c
lustre/ptlrpc/gss/gss_null_mech.c
lustre/ptlrpc/gss/gss_sk_mech.c
lustre/ptlrpc/sec_bulk.c
lustre/ptlrpc/sec_plain.c