4ee969c2cf
The ocssd spec and buildtime-check already ensures sizeof(struct spdk_ocssd_geometry_data) is 4096, so we can use struct spdk_ftl_dev::geo as buffer directly. Change-Id: Id7a52f978d80284fe941d9f5d7bc7219518871e8 Signed-off-by: wuzhouhui <wuzhouhui@kingsoft.com> Reviewed-on: https://review.gerrithub.io/c/443069 Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Wojciech Malikowski <wojciech.malikowski@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
ftl_anm.c | ||
ftl_anm.h | ||
ftl_band.c | ||
ftl_band.h | ||
ftl_core.c | ||
ftl_core.h | ||
ftl_debug.c | ||
ftl_debug.h | ||
ftl_init.c | ||
ftl_io.c | ||
ftl_io.h | ||
ftl_ppa.h | ||
ftl_reloc.c | ||
ftl_reloc.h | ||
ftl_restore.c | ||
ftl_rwb.c | ||
ftl_rwb.h | ||
ftl_trace.c | ||
ftl_trace.h | ||
Makefile |