Whamcloud - gitweb
LU-13004 lnet: always put a page list into struct lnet_libmd 42/37842/5
authorMr NeilBrown <neilb@suse.de>
Tue, 17 Mar 2020 23:00:29 +0000 (10:00 +1100)
committerOleg Drokin <green@whamcloud.com>
Fri, 1 May 2020 04:26:49 +0000 (04:26 +0000)
commit857f11169fc8d7575b6b92e5dbb57b4c359d9dcc
tree46e7cc68a7cb2c8b4188518f46be24068c53f681
parentf36f00811fddd8c1494cba080ebaaa44bbc284b2
LU-13004 lnet: always put a page list into struct lnet_libmd

'struct lnet_libmd' is only created in lnet_md_build().  It can be
given a list of pages or a virtual address.  In the latter case, the
memory will eventually be split into a list of pages.  It is cleaner
to split it into a list of pages early so that all lower levels only
need to handle one type: a page list.

Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: Iaeb4f18f7ac63986e6fed259945e8594ea1b9f25
Reviewed-on: https://review.whamcloud.com/37842
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/lnet/lib-md.c