Spdk/lib/ftl
Wojciech Malikowski 523b58fc04 lib/ftl: Fix padding size calculation
Padding size calculation should take into account
already acquired write buffer entries in case
number of blocks left for closing band is less than
write buffer size.

Signed-off-by: Wojciech Malikowski <wojciech.malikowski@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/463525 (master)

(cherry picked from commit b08337c216)
Change-Id: I0f9c9bc94eb5a4736eede30ec424c81103e1256f
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/467136
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Wojciech Malikowski <wojciech.malikowski@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2019-09-09 21:55:22 +00:00
..
ftl_anm.c lib/ftl: Enable ANM events handling 2019-07-03 04:28:13 +00:00
ftl_anm.h lib/ftl: Enable ANM events handling 2019-07-03 04:28:13 +00:00
ftl_band.c lib/ftl: Remove separate dma_buf allocation in band 2019-07-23 04:00:05 +00:00
ftl_band.h lib/ftl: keep reloc traffic out of non-volatile cache 2019-07-12 12:39:38 +00:00
ftl_core.c lib/ftl: Fix padding size calculation 2019-09-09 21:55:22 +00:00
ftl_core.h lib/ftl: store non-volatile cache's current write address 2019-07-25 22:36:31 +00:00
ftl_debug.c lib/ftl: Track cached lba map segments 2019-06-11 06:21:46 +00:00
ftl_debug.h lib/ftl: Remove ftl_md struct from band 2019-06-07 04:39:14 +00:00
ftl_init.c lib/ftl: store non-volatile cache's current write address 2019-07-25 22:36:31 +00:00
ftl_io.c lib/ftl: check for io not being NULL before dereferencing 2019-07-23 19:55:30 +00:00
ftl_io.h lib/ftl: allow writes bypassing non-volatile cache 2019-07-12 12:39:38 +00:00
ftl_ppa.h ftl: Initial implementation 2019-01-11 09:15:39 +00:00
ftl_reloc.c lib/ftl: keep reloc traffic out of non-volatile cache 2019-07-12 12:39:38 +00:00
ftl_reloc.h check_format: Verify #include syntax 2019-01-29 00:12:07 +00:00
ftl_restore.c lib/ftl: store non-volatile cache's current write address 2019-07-25 22:36:31 +00:00
ftl_rwb.c lib/ftl: Remove buffer alignment requirements 2019-07-23 04:00:05 +00:00
ftl_rwb.h lib/ftl: keep reloc traffic out of non-volatile cache 2019-07-12 12:39:38 +00:00
ftl_trace.c lib/ftl: Remove ftl_md struct from band 2019-06-07 04:39:14 +00:00
ftl_trace.h lib/ftl: traces refactor 2019-04-01 09:05:33 +00:00
Makefile ftl: Added trace support 2019-01-18 18:58:04 +00:00