Whamcloud - gitweb
LU-8460 osc: max_pages_per_rpc should be chunk size aligned 25/21825/4
authorBobi Jam <bobijam.xu@intel.com>
Mon, 8 Aug 2016 09:31:34 +0000 (17:31 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 15 Aug 2016 21:12:29 +0000 (21:12 +0000)
commit13834f5aeef42d3c358574ac59475c0758dce300
tree0028798516340a6343b25076fb5225cb217b8af0
parentf756979d9730333394037f127e75f43910174622
LU-8460 osc: max_pages_per_rpc should be chunk size aligned

max_pages_per_rpc should be chunk size aligned.

obd_brw_size need to be at least one block size.

Improve the LASSERT() to an LASSERTF() that prints the related
parameters to help debug problem.

Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Change-Id: If73b8f05052f96970f3e97015a4642152ace2a38
Reviewed-on: http://review.whamcloud.com/21825
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/ofd/lproc_ofd.c
lustre/ofd/ofd_dev.c
lustre/ofd/ofd_obd.c
lustre/osc/osc_cache.c
lustre/osc/osc_request.c