Whamcloud - gitweb
LU-11057 obd: check '-o network' and peer discovery conflict 62/32562/5
authorSebastien Buisson <sbuisson@ddn.com>
Fri, 25 May 2018 16:15:25 +0000 (01:15 +0900)
committerOleg Drokin <green@whamcloud.com>
Tue, 4 Sep 2018 03:48:33 +0000 (03:48 +0000)
commit2269d27e07cb4dd9c80a770dec45fa6bd22883ab
treebead22c8fc7245a2fa461a91546bc2860859af51
parent05becd69bc0c79fde00f0fddf4935ed8d8e3beb3
LU-11057 obd: check '-o network' and peer discovery conflict

"-o network=net" client mount option is not taken into account
when LNet dynamic peer discovery is active.
Check if LNet dynamic peer discovery is active on local node. If it
is, return error if "-o network=net" option is specified.

This patch will have to be reverted when the incompatibility between
"-o network=net" client mount option and LNet dynamic peer discovery
is resolved.

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I0520e58b22b7adecf797fbd351506c2f8712dc85
Reviewed-on: https://review.whamcloud.com/32562
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Amir Shehata <ashehata@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/include/lnet/api.h
lnet/lnet/api-ni.c
lustre/doc/mount.lustre.8
lustre/obdclass/obd_mount.c