Spdk/lib
Ben Walker a94accabff bdev: Begin encapsulating spdk_bdev_io
This begins the process of hiding data members in
spdk_bdev_io that don't need to be accessed from
within bdev modules.

One strategy would be to implement accessors for
every data member in the structure. However, that
may have negative performance effects. Instead,
create a new internal structure within the old
structure. This new structure will still be visible
for now, but at least makes clear which members
are accessible and which are not.

This patch shifts one data member to the new structure
as an example.

Change-Id: I68525db995325732fe9f5fc3f45b06920948309b
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.gerrithub.io/412298
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-06-04 17:14:22 +00:00
..
bdev bdev: Begin encapsulating spdk_bdev_io 2018-06-04 17:14:22 +00:00
blob blobstore: Change behaviour of dirty bit 2018-05-30 00:37:54 +00:00
blobfs blobfs: sync length if append occurs after cache eviction 2018-04-11 16:03:14 -04:00
conf conf: don't strdup name if section already exist 2018-05-17 17:13:19 +00:00
copy copy/ioat: reduce log level of informational messages 2018-04-06 18:31:54 -04:00
cunit include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
env_dpdk env/dpdk: add support for DPDK 18.05 dynamic memory allocation 2018-05-29 20:34:11 +00:00
event subsystem/iscsi: Add set_iscsi_options RPC to set global params 2018-06-01 20:15:59 +00:00
ioat scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
iscsi subsystem/iscsi: Add iSCSI options to JSON config file 2018-06-01 20:15:59 +00:00
json json: add va_arg versions for write_string and write_named_string 2018-02-23 15:27:16 -05:00
jsonrpc jsonrpc: make "jsonrpc" actually optional 2018-05-30 16:38:07 +00:00
log log: Make log_level and trace related RPCs callable during SPDK startup 2018-05-04 17:45:48 +00:00
lvol lvol: add lvol inflate function 2018-05-23 18:12:52 +00:00
nbd nbd/rpc: make get_nbd_disks nbd_device param optional 2018-05-22 23:03:30 +00:00
net rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
nvme lnvm: add a quirk for identify LightNVM device 2018-06-04 03:31:46 +00:00
nvmf nvmf: allow abort of AER requests 2018-05-31 06:03:50 +00:00
rocksdb rocksdb: remove nonsensical fallocate #ifdef 2018-03-27 12:41:12 -04:00
rpc rpc: Add option to get_rpc_methods RPC to output only currently usable RPCs 2018-05-04 17:45:48 +00:00
scsi bdev: Rename spdk_internal/bdev.h to spdk/bdev_module.h 2018-05-25 16:02:22 +00:00
trace app,lib: fix checking mmap return value 2018-03-30 16:18:34 -04:00
ut_mock test/mock: add pthread_self 2017-09-19 17:15:15 -04:00
util io_channel: add asserts in spdk_io_device_register 2018-04-18 12:33:25 -04:00
vhost nvme: Allow users to request which I/O command set they'd like to use 2018-05-24 22:42:38 +00:00
virtio virtio: merge contiguous memory regions 2018-06-01 20:14:32 +00:00
Makefile lib: use CONFIG_ENV to pick which env dir to build 2018-05-24 21:27:06 +00:00