Skip to content
Snippets Groups Projects
Commit 92d56245 authored by Kit Westneat's avatar Kit Westneat Committed by John L. Hammond
Browse files

LU-8912 nodemap: fix contiguous range support

This patch fixes the contiguous range check to allow the addition of
multiple "full" ([0-255]) ranges. As part of this change,
is_contiguous and find_min_max are combined as they were always
called together and the logic is fairly similar. This also removes
the multiple range expression support, since it was broken.

Also, sanity-sec.sh test_10c is added to verify this patch.

Lustre-change: https://review.whamcloud.com/24397


Lustre-commit: eac95a65

Signed-off-by: default avatarKit Westneat <kit.westneat@gmail.com>
Signed-off-by: default avatarEmoly Liu <emoly.liu@intel.com>
Change-Id: I3c49a077039327fcbde87196f82db140f67a74d0
Reviewed-by: default avatarSebastien Buisson <sbuisson@ddn.com>
Reviewed-by: default avatarAndreas Dilger <andreas.dilger@intel.com>
Signed-off-by: default avatarMinh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/31521


Tested-by: Jenkins
Tested-by: default avatarMaloo <hpdd-maloo@intel.com>
Reviewed-by: default avatarJohn L. Hammond <john.hammond@intel.com>
parent cfe31e7b
No related branches found
Tags upstream/2.1.7
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment