Wojciech Malikowski 58c4dac9d9 lib/ftl: Limit write queue depth to one per chunk
There are no guarantees of the order of completion
of NVMe IO submission queue so wait for write completion
on specific chunk before submitting another write to it.

To control chunk occupancy split IO to child requests
and release chunk in IO completion callback.

Change-Id: I44147a21b528a7f33fb92b9e77d7de8f5b18f8ff
Signed-off-by: Wojciech Malikowski <wojciech.malikowski@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/449239
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Young Tack Jin <youngtack.jin@circuitblvd.com>
Reviewed-by: Claire Jihyun In <claire.in@circuitblvd.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2019-04-24 23:24:21 +00:00
..
2019-01-29 00:12:07 +00:00
2019-01-29 00:12:07 +00:00
2019-01-11 09:15:39 +00:00
2019-01-11 09:15:39 +00:00
2019-01-11 09:15:39 +00:00
2019-04-02 08:22:48 +00:00
2019-01-18 18:58:04 +00:00
2019-04-01 09:05:33 +00:00
2019-04-01 09:05:33 +00:00
2019-01-18 18:58:04 +00:00