Spdk/test/unit/lib
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
..
bdev bdev: remove vbdevs during spdk_bdev_unregister() 2018-01-24 15:50:04 -05:00
blob blob: set md_ro and data_ro fields only after persisting data 2018-01-24 15:56:15 -05:00
blobfs blobfs, tree: fix a bug in spdk_tree_insert_buffer 2017-08-15 16:36:41 -04:00
event ut/event: add fatal assert for allocation 2017-10-17 11:34:38 -04:00
ioat test: move IOAT library unit test to test/unit 2017-06-21 18:57:35 -04:00
iscsi iscsi: put spdk_iscsi_conn_write_pdu() in lib/iscsi/conn.c 2018-01-22 23:22:17 -05:00
json test/json_util_ut: assert that string is valid 2017-07-12 18:13:23 -04:00
jsonrpc test: remove all uses of strcpy in the code 2017-12-12 17:34:45 -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
nvme nvme: Add support of hot remove vfio-attached devices in pcie layer. 2017-12-19 13:07:20 -05:00
nvmf nvmf/subsystem.c: add checks for valid utf-8 chars: 2018-01-11 10:57:38 -05:00
scsi test/scsi: fix dev.c unit tests 2018-01-17 16:16:09 -05:00
util test/unit: replace sprintf call with snprintf call. 2018-01-24 15:38:05 -05:00
vhost vhost: only split on 2MB boundaries when necessary 2018-01-24 10:33:43 -05:00
Makefile lvol: Logical volume implementation 2017-09-14 19:30:54 -04:00