35fdf2dd9e
This patch adds the ftl_batch strucutre, which describes a single batch of data to be written to the disk. It's comprised of multiple write buffer entries (the actual number depends on the write unit size of the underyling device). Additionally, a function responsible for filling out a batch was added. It iterates over available IO channels and dequeues submitted write buffer entries until a batch is completed. The IO channel queue is shifted, so that each time the function is called a subsequent IO channel is used first, which guarantees that all channels are treated fairly. Change-Id: Ie61d8c6cb51d5c5175540c975447bc27590c5cb4 Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/905 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Wojciech Malikowski <wojciech.malikowski@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> |
||
---|---|---|
.. | ||
bdev | ||
blob | ||
blobfs | ||
event | ||
ftl | ||
ioat | ||
iscsi | ||
json | ||
jsonrpc | ||
log | ||
lvol | ||
notify | ||
nvme | ||
nvmf | ||
reduce | ||
scsi | ||
sock | ||
thread | ||
util | ||
vhost | ||
json_mock.c | ||
Makefile |