Hi,

I have a 64-cpu machine.

When running "drbdsetup new-resource blah --cpu-mask=300000003" I got the following error in the kernel logs:

Overflow in bitmap_parse(300000003), truncating to 256 bits

Is this expected? The man page says that the "--cpu-mask" argument takes a single hexadecimal number, but if I look at the kernel code for __bitmap_parse() code I *think* that the kernel wants to see something like "3,00000003" rather than ""300000003" because each chunk (separated by commas) can only be 32-bits.

If I run "drbdsetup new-resource blah2 --cpu-mask=3,00000003" then I don't see any parsing errors.

Is the documentation for drbdsetup wrong for high-cpu-count machines?

Thanks,
Chris
_______________________________________________
Star us on GITHUB: https://github.com/LINBIT
drbd-user mailing list
[email protected]
https://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to