Whamcloud - gitweb
LU-9682 nodemap: delete nids range from nodemap correctly 38/29138/2
authorEmoly Liu <emoly.liu@intel.com>
Fri, 15 Sep 2017 07:56:11 +0000 (15:56 +0800)
committerJohn L. Hammond <john.hammond@intel.com>
Wed, 11 Oct 2017 19:51:10 +0000 (19:51 +0000)
commit783b470f800c85e9ca5c9453fdb3c13062f67e41
tree15e3fddf32749c1a68f16dbe635d859275c5dc61
parent535357936fceb001239d55527949aa8f5e21c9b1
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.

Lustre-change: https://review.whamcloud.com/28922
Lustre-commit: 62ca9b823524ca44d3344b2555754890abc55a3b

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