Spdk/lib
Shuhei Matsumoto b65443be6e iscsi: Allow to set cpumask more than active cores for iSCSI connection
Currently the cpumask must be a subset of the reactor mask.

However, this is different from sched_setaffinity() function
and taskset command of FreeBSD and Linux.  The latter will
be familier for more people. Hence the later is adopted.

The following is quoted from the FreeBSD Man Page of taskset:

  The CPU affinity is represented as a bitmask, with the lowest
  order bit corresponding to the first logical CPU and the
  highest order bit corresponding to the last logical CPU.

  Not all CPUs may exist on a given system but a mask may specify
  more CPUs than are present.

  A retrieved mask will reflect only the bits that correspond to
  CPUs physically on the system.

  If an invalid mask is given (i.e., one that corresponds to no
  valid CPUs on the current system) an error is returned.

  The masks are typically given in hexadecimal.

Change-Id: I7e0d2e029569bfc986f7fcdf78048791ab389f72
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/392446
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-12-20 15:19:04 -05:00
..
bdev virtio: remove pollers from virtqueues 2017-12-19 13:35:52 -05:00
blob blob: allow _spdk_bs_recover to operate as a sequence completion 2017-12-19 12:41:26 -05:00
blobfs blob: change spdk_bs_iter_next parameter to spdk_blob * 2017-12-15 12:28:44 -05:00
conf conf: Remove use of perror() for strdup() failure 2017-12-15 16:13:27 -05:00
copy astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
cunit include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
env_dpdk env: add spdk_mempool_create_ctor 2017-12-11 14:59:12 -05:00
event event: update the poller's period_ticks calculation 2017-12-19 18:49:16 -05:00
ioat astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
iscsi iscsi: Allow to set cpumask more than active cores for iSCSI connection 2017-12-20 15:19:04 -05:00
json astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
jsonrpc log: rename SPDK_TRACE_* to SPDK_LOG_* 2017-12-07 12:23:19 -05:00
log log: rename SPDK_TRACE_* to SPDK_LOG_* 2017-12-07 12:23:19 -05:00
lvol blob: change spdk_bs_iter_next parameter to spdk_blob * 2017-12-15 12:28:44 -05:00
nbd nbd: stop nbd if backing bdev is removed 2017-12-18 12:51:24 -05:00
net astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
nvme nvme: add checks for sq_head 2017-12-19 16:45:05 -05:00
nvmf nvmf/rdma: decrement r/w counter if ibv_post_send fails 2017-12-15 16:42:51 -05:00
rocksdb astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
rpc rpc: set g_jsonrpc_server to NULL on close 2017-11-28 16:20:47 -05:00
scsi scsi: remove spdk_scsi_dev_print() function 2017-12-12 18:04:20 -05:00
trace trace: replace DPDK call with SPDK env.h wrapper 2017-12-12 15:37:05 -05:00
ut_mock test/mock: add pthread_self 2017-09-19 17:15:15 -04:00
util util/crc16: add crc16 library support and unit tests 2017-12-20 15:12:26 -05:00
vhost vhost_blk: close the bdev in the hotplug callback 2017-12-19 14:54:51 -05:00
Makefile lvol: Logical volume implementation 2017-09-14 19:30:54 -04:00