Whamcloud - gitweb
LU-4993 libcfs: convert nodemask_t to linux bitmask 32/10332/6
authorJames Simmons <uja.ornl@gmail.com>
Fri, 27 Jun 2014 22:05:04 +0000 (18:05 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 9 Jul 2014 15:34:56 +0000 (15:34 +0000)
Starting in 3.14 kernels nodemask_t was changed from a
a unsigned long to a linux bitmap so more than 32 cores
could be supported. Using set_bit in cfs_cpt_table_alloc
no longer compiles so this patch backports bits of the
node management function that use a linux bitmap back
end. Cleaned up libcfs bitmap.h to use the libcfs layers
memory allocation function. This was pulling in lustre
related code that was not defined.

Change-Id: I7d08425bc09af2c3c04f7e5ed7d50e7c27d165df
Signed-off-by: James Simmons <uja.ornl@gmail.com>
Reviewed-on: http://review.whamcloud.com/10332
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Liang Zhen <liang.zhen@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>

No differences found