Whamcloud - gitweb
LU-9983 osp: align the OSP request size by 4k 70/29270/4
authorDi Wang <di.wang@intel.com>
Tue, 26 Sep 2017 00:25:07 +0000 (20:25 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 17 Dec 2017 06:17:59 +0000 (06:17 +0000)
commit1f50b1e494ff1b4988508c6d6398ee6769467931
treed807973e7a7fb912b7f77af6b4b6db706c1ac87f
parent3ff1c932f869c8535aaebc56f0c924a760d1d601
LU-9983 osp: align the OSP request size by 4k

In osp_object_update_request_create() round up the size of the object
update request to a multiple of the PAGE_SIZE to avoid issues with IB
HW that cannot handle gaps in memory regions.

Signed-off-by: Di Wang <di.wang@intel.com>
Change-Id: Id5c16b031dcb16d764c4e4f325f51b9ecf454533
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-on: https://review.whamcloud.com/29270
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre_update.h
lustre/osp/osp_trans.c