Spdk/include/spdk
Jim Harris 0928d63d20 blob: add asserts for md operations on md thread
The md (metadata) thread is always the thread that
initialize/loaded the blobstore.  Metadata operations may
only be performed from this thread.  This patch adds some
more asserts in metadata functions that were previously
missed.

While here, also update some of the blobstore documentation
related to this.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I5cafdb3ba402ceb6c3ccb6fdd9d36e7768f59f39

Reviewed-on: https://review.gerrithub.io/400885
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Maciej Szwed <maciej.szwed@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2018-02-27 10:58:29 -05:00
..
assert.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
barrier.h barrier: added spdk_smp_*mb to sync between cores 2017-11-29 10:51:42 -05:00
bdev.h bdev: rename 'dump_config_json' to 'dump_info_json' 2018-02-26 15:49:51 -05:00
bit_array.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
blob_bdev.h include/blob_bdev.h: add comments for public APIs 2018-01-09 13:52:28 -05:00
blob.h blob: add asserts for md operations on md thread 2018-02-27 10:58:29 -05:00
blobfs.h blobfs: make the cluster size of blobfs configurable. 2018-01-11 15:50:01 -05:00
conf.h include/conf: add comments for public APIs 2018-02-26 11:59:09 -05:00
copy_engine.h include: wrap header files in extern "C" for c++ 2017-12-07 19:13:47 -05:00
cpuset.h lib/util: return const pointer from spdk_cpuset_fmt 2018-02-20 13:05:36 -05:00
crc16.h util/crc16: add crc16 library support and unit tests 2017-12-20 15:12:26 -05:00
crc32.h include: wrap header files in extern "C" for c++ 2017-12-07 19:13:47 -05:00
endian.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
env.h lib: Return instead of exit/abort in env_dpdk 2018-01-10 16:20:15 -05:00
event.h util: extend cpumask to hold more than 64 cpus 2018-01-25 18:51:50 -05:00
fd.h include/fd.h: add comments for pubclic APIs 2018-01-04 12:12:10 -05:00
gpt_spec.h bdev/gpt: dump partition name 2017-07-12 18:12:52 -04:00
histogram_data.h util: enable dynamic spdk_histogram_data sizing 2017-12-29 14:20:48 -05:00
io_channel.h util: make spdk_io_channel_get_ctx() inline 2018-01-09 12:46:35 -05:00
ioat_spec.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
ioat.h copy: return 0 on success and appropriate errno on failure 2017-09-25 13:56:29 -04:00
iscsi_spec.h iscsi: fix layout of logout request reason field 2017-09-22 16:11:11 -04:00
json.h json: add va_arg versions for write_string and write_named_string 2018-02-23 15:27:16 -05:00
jsonrpc.h jsonrpc: add spdk_jsonrpc_send_error_response_fmt 2018-02-23 15:27:16 -05:00
likely.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
log.h include: wrap header files in extern "C" for c++ 2017-12-07 19:13:47 -05:00
lvol.h bdev: Added functions allowing logical volume rename. 2018-02-16 16:21:20 -05:00
mmio.h mmio: add functions for 1 and 2 byte I/O accesses 2017-10-13 10:46:00 -04:00
nbd.h include: wrap header files in extern "C" for c++ 2017-12-07 19:13:47 -05:00
net.h net, iscsi: add struct spdk_sock abstraction 2018-02-12 12:30:39 -05:00
nvme_intel.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
nvme_spec.h nvme: add asynchronous event completion definition 2018-02-07 12:45:14 -05:00
nvme.h nvme: add API to allocate CMB I/O buffers 2018-02-12 19:11:44 -05:00
nvmf_spec.h nvmf/subsystem: spdk_nvmf_valid_nqn fits nvme spec 2018-01-09 13:30:24 -05:00
nvmf.h nvmf: Add RPC methods to manage allowed hosts 2018-02-26 11:25:03 -05:00
pci_ids.h env: add pci_virtio.c 2017-09-26 14:28:24 -04:00
queue_extras.h Break out queue.h code pulled from FreeBSD into a separate file. 2015-09-25 12:45:04 -07:00
queue.h Add extern "C" wrapper to all public headers 2016-02-12 07:52:35 -07:00
rpc.h include: wrap header files in extern "C" for c++ 2017-12-07 19:13:47 -05:00
scsi_spec.h bdev-virtio: add test unit ready and start/stop to scan sequence 2017-12-04 14:39:27 -05:00
scsi.h iscsi: Add LUN to an existing target (not runtime) 2018-01-17 12:41:29 -05:00
sock.h sock: add sock_group abstraction 2018-02-13 19:25:22 -05:00
stdinc.h build: Automatically detect use of POSIX includes 2017-05-08 13:20:37 -07:00
string.h util: add spdk_mem_all_zero() function 2018-02-23 10:05:32 -05:00
trace.h trace: Move trace flags to separate implementation file 2017-11-15 18:57:12 -05:00
util.h util: add spdk_u32_is_pow2() function 2017-08-11 19:36:30 -04:00
version.h version: v18.04-pre 2018-02-01 11:34:43 -05:00
vhost.h vhost: vhost_dev_get_cpumask now returns const spdk_cpuset * 2018-02-14 15:34:06 -05:00