Whamcloud - gitweb
LU-9682 nodemap: delete nids range from nodemap correctly 22/28922/4
authorEmoly Liu <emoly.liu@intel.com>
Fri, 15 Sep 2017 07:56:11 +0000 (15:56 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 21 Sep 2017 06:13:54 +0000 (06:13 +0000)
commit62ca9b823524ca44d3344b2555754890abc55a3b
tree4a1f67b76d248b3661390f1db24d6aa1046cfb19
parent38c78e21ca7abe4bd6e6500d88a692e7a56a7712
LU-9682 nodemap: delete nids range from nodemap correctly

In function nodemap_del_range(), we should check if the current
nodemap has the specified range before delete it from global
range tree.
Also, test_10b is added to sanity-sec.sh to verify this patch.

Change-Id: Ibab79056509d14d52f99b1ebe3319c301dbe45d9
Test-Parameters: testlist=sanity-sec
Signed-off-by: Emoly Liu <emoly.liu@intel.com>
Reviewed-on: https://review.whamcloud.com/28922
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/ptlrpc/nodemap_handler.c
lustre/tests/sanity-sec.sh