From: Liang Zhen Date: Mon, 5 Sep 2011 15:12:32 +0000 (+0800) Subject: LU-521 lnet: make LST support variable page size X-Git-Tag: 2.2.60~4 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=fe651f6b21a442436b1b3f3a2b14fa2eb119aa04;hp=fe651f6b21a442436b1b3f3a2b14fa2eb119aa04;ds=inline LU-521 lnet: make LST support variable page size LNet selftest can't support variable page size because it sends number of pages over the wire. We have to change wire format to fix this but it will have compatibility issue, so this patch also implemented "session features" for LST to resolve compatibility issue, only new version LST can understand new bulk RPC format, although new LST nodes still can communicate with old LST nodes. The Variable page size feature can be turned on by setting LST_FEATURES to LST_FEAT_BULK_LEN (1). This feature is off by default. Please see the Jira ticket (LU-521) for more details. Change-Id: I4a552a3310cf0ed0a2f5ae29eaf789469e1c245a Signed-off-by: Liang Zhen Signed-off-by: Doug Oucharek Reviewed-on: http://review.whamcloud.com/1338 Reviewed-by: Andreas Dilger Tested-by: Hudson Tested-by: Maloo ---