Spdk/include/spdk
Piotr Pelplinski 074f4d7627 blob: set md_ro and data_ro fields only after persisting data
Currently, there is no possibility to save read only blob to disk.
This patch modifies behaviour so that read only flags are applied after syncing blob.
This is analogy to resize, set xattr and remove xattr operations.

Signed-off-by: Piotr Pelplinski <piotr.pelplinski@intel.com>
Change-Id: Iffed601c78cb83231bb20e7ef05b73847dc3c95a
Reviewed-on: https://review.gerrithub.io/394243
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
2018-01-24 15:56:15 -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 include: wrap header files in extern "C" for c++ 2017-12-07 19:13:47 -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: set md_ro and data_ro fields only after persisting data 2018-01-24 15:56:15 -05:00
blobfs.h blobfs: make the cluster size of blobfs configurable. 2018-01-11 15:50:01 -05:00
conf.h include: wrap header files in extern "C" for c++ 2017-12-07 19:13:47 -05:00
copy_engine.h include: wrap header files in extern "C" for c++ 2017-12-07 19:13:47 -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 include: wrap header files in extern "C" for c++ 2017-12-07 19:13:47 -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 include: wrap header files in extern "C" for c++ 2017-12-07 19:13:47 -05:00
jsonrpc.h include: wrap header files in extern "C" for c++ 2017-12-07 19:13:47 -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 include: wrap header files in extern "C" for c++ 2017-12-07 19:13:47 -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 iscsi: remove idle connection handling 2018-01-22 23:22:17 -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_spec: add NVMe 1.3 Virtualization structures. 2017-11-10 12:49:18 -05:00
nvme.h nvme: add new spdk_nvme_connect() API to directly attach the ctrlr 2017-10-09 12:31:12 -04:00
nvmf_spec.h nvmf/subsystem: spdk_nvmf_valid_nqn fits nvme spec 2018-01-09 13:30:24 -05:00
nvmf.h nvmf: Check subsystem state when modifying listeners or hosts 2018-01-24 15:52:48 -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
stdinc.h build: Automatically detect use of POSIX includes 2017-05-08 13:20:37 -07:00
string.h util: add spdk_strerror() wrapper with TLS support 2018-01-04 15:00:09 -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.01-pre 2017-10-31 18:28:21 -04:00
vhost.h scsi: remove lun name 2018-01-11 18:37:34 -05:00