Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-8710

libcfs fails to install when some CPUs are disabled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.10.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      This issue was mentioned when Lustre performance was tested on ZFS.

      To reproduce this, set a CPU offline:

      [root@centos7 tests]# echo 0 >  /sys/devices/system/cpu/cpu0/online
      [root@centos7 tests]# cat /sys/devices/system/cpu/cpu0/online 
      0
      [root@centos7 tests]# REFORMAT=yes OSTCOUNT=4 sh llmount.sh 
      Stopping clients: centos7 /mnt/lustre (opts:)
      Stopping clients: centos7 /mnt/lustre2 (opts:)
      Loading modules from /Users/jxiong/srcs/pfl/lustre/tests/..
      detected 4 online CPUs by sysfs
      Force libcfs to create 2 CPU partitions
      ../libcfs/libcfs/libcfs options: 'cpu_npartitions=2'
      insmod: ERROR: could not insert module /Users/jxiong/srcs/pfl/lustre/tests/../../libcfs/libcfs/libcfs.ko: Operation not permitted
      

      Really easy to be reproduced.

      Attachments

        Issue Links

          Activity

            People

              dmiter Dmitry Eremin (Inactive)
              jay Jinshan Xiong (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: