open-iscsi / rtslib-fb

Python library for configuring the Linux kernel-based multiprotocol SCSI target (LIO)
Apache License 2.0
72 stars 90 forks source link

handle target kernel module new attribute cpus_allowed_list #183

Closed zoumingzhe closed 2 years ago

zoumingzhe commented 2 years ago

target has been added cpus_allowed_list attribute in sysfs. Therefore, the rtslib should handle the new attribute:

  1. add cpus_allowed_list item in target_names_excludes
  2. add cpus_allowed_list feature in ISCSIFabricModule

Signed-off-by: Zou Mingzhe mingzhe.zou@easystack.cn

zoumingzhe commented 2 years ago

kernel module commit see https://www.spinics.net/lists/target-devel/msg21318.html

maurizio-lombardi commented 2 years ago

Tested on kernel 4.18 and 5.18-rc0 and seems to work without issues.