This patch addresses couple issues: 1) Before issuing the md syncs the previous steps in test left blob state in dirty state already. The resize never had a chance to apply. This patch adds a proper md sync and polls for completion. 2) Changing blob state is something that should be done via API. In order for dirty state to apply immidietly set_xattr is now used instead. 3) Verify test state in callbacks to make sure not only the number of completions is correct, but their order. This patch is introduced because of the test originally worked only because of the extent pages always writing out its pages. The second sync always was delayed because of this. Meanwhile that should not be the case, since no MD or EP modification was done. Later in the series Extent Pages are fixed, but this test remained incorrect. Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: Iac17c27f6ff83f2b79835aa6e48472d5293c44d0 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7233 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Community-CI: Mellanox Build Bot |
||
---|---|---|
.. | ||
blob.c | ||
bs_dev_common.c | ||
bs_scheduler.c | ||
Makefile |