+8
−8
Loading
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>