f40ab9893d
Currently spdk_bdev_part_base_get_tailq(gpt_base) will return the global gpt tailq containing all the gpt part bdevs, which is not what callers of this function expect. Although the spdk_bdev_part_base_get_tailq() is currently unused for gpt parts, it's still worth fixing it to make the behavior consistent with other part bdev modules. Fix this by having per-gpt-base tailqs which contain only associated gpt partitions. Change-Id: Ib3c4286fcc6912f2a252beb5b3dcafc0e5316434 Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/434836 Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>