Spdk/lib/ftl
Mateusz Kozlowski 38bb4bcdee lib/ftl: Fix I/O alignment in dirty shutdown restore
Changed to use 4k alignment in dirty shutdown I/Os. Otherwise the
scatter gather lists used in QEMU for underlying file/block device
would use an extra entry (e.g. 17 for 16 sector writes), and eventually
some I/Os would write to offset 0 in underlying file, corrupting head
metadata.

Signed-off-by: Mateusz Kozlowski <mateusz.kozlowski@intel.com>
Change-Id: If8c88ce708529b094a09c8ee952912cc22cd53b9
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/458090
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Wojciech Malikowski <wojciech.malikowski@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2019-06-26 07:09:00 +00:00
..
ftl_anm.c lib/ftl: fix the unclear PAGE_SIZE 2019-06-11 18:12:27 +00:00
ftl_anm.h check_format: Verify #include syntax 2019-01-29 00:12:07 +00:00
ftl_band.c lib/ftl: Track cached lba map segments 2019-06-11 06:21:46 +00:00
ftl_band.h lib/ftl: Track cached lba map segments 2019-06-11 06:21:46 +00:00
ftl_core.c bdev/ftl: Add driver specific data to get_bdevs rpc 2019-06-11 06:25:36 +00:00
ftl_core.h lib/ftl: Track cached lba map segments 2019-06-11 06:21:46 +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: fix the unclear PAGE_SIZE 2019-06-11 18:12:27 +00:00
ftl_io.c lib/ftl: fix the unclear PAGE_SIZE 2019-06-11 18:12:27 +00:00
ftl_io.h lib/ftl: Remove FTL_IO_KEEP_ALIVE flag from ftl_io_flags 2019-06-11 06:21:46 +00:00
ftl_ppa.h ftl: Initial implementation 2019-01-11 09:15:39 +00:00
ftl_reloc.c lib/ftl: Read partially lba map during relocation 2019-06-11 06:21:46 +00:00
ftl_reloc.h check_format: Verify #include syntax 2019-01-29 00:12:07 +00:00
ftl_restore.c lib/ftl: Fix I/O alignment in dirty shutdown restore 2019-06-26 07:09:00 +00:00
ftl_rwb.c env: Add free_space parameter to spdk_ring_enqueue 2019-06-05 05:23:58 +00:00
ftl_rwb.h lib/ftl: improved padding during shutdown 2019-05-24 23:29:22 +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