-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pool_name related changes in run_sync_test in uzfs_test_sync.sh #42
Conversation
- removing jobs related to test_type in Travis file. - setting build branch to zfs-0.7-release for Travis build - removing pool/dataset creation in rebuild test Signed-off-by: mayank <mayank.patel@cloudbyte.com>
…iff. - fixing SIGSEGV error in uzfs_spa_fini. - If pool is busy then we should not destroy spa->spa_us. - fixing race condition in uzfs_spa_fini. - If there are two threads calling spa_close at a time, then there are chances of race condition in uzfs_spa_fini. - Changes in test_uzfs.sh - display log if any test case fails - removed init_test/close_test function Signed-off-by: mayank <mayank.patel@cloudbyte.com>
Signed-off-by: mayank <mayank.patel@cloudbyte.com>
txg_update_thread cleanup is being handled in uzfs_spa_fini which was being called after spa_deactivate in spa_evict_all. In txg_update_thread, dsl_sync_task opens pool which performs spa_open->uzfs_spa_init if spa state is POOL_STATE_UNINITIALIZED. Since, pool state is already set to POOL_STATE_UNINITIALIZED by spa_deactivate, txg_update_thread will execute uzfs_spa_init and that cause uzfs_spa_fini waits for infinite time for txg_update_thread cleanup. - Added restart of zrepl before fio_test in test_uzfs.sh to avoid bind error in fio - releasing spa_namespace_lock in uzfs_spa_fini before sleep to avoid deadlock with txg_update_thread Signed-off-by: mayank <mayank.patel@cloudbyte.com>
Signed-off-by: mayank <mayank.patel@cloudbyte.com>
- enabling parallel build in travis Signed-off-by: mayank <mayank.patel@cloudbyte.com>
- changes in test_uzfs.sh - exporting pool in test_uzfs.sh before executing UZFS_TEST binary. As, pool should be used by one process only. - added start_time and end_time in test_uzfs.sh logs. - fix in run_uzfs_test function as some tests were not being executed due to improper if..else statement - fix in spa_evict_all regarding uzfs_spa_fini. Since uzfs_spa_init was protected through _KERNEL macro, uzfs spa_fini also should be protected through _KERNEL macro only. - enabling ztest in travis kernel build. Signed-off-by: mayank <mayank.patel@cloudbyte.com>
Signed-off-by: mayank <mayank.patel@cloudbyte.com>
- enabling user config build for zfs in travis userspace build Signed-off-by: mayank <mayank.patel@cloudbyte.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
run_zrepl_uzfs_test and run_zrepl_rebuild_uzfs_test need to do export. They are using same pool, and, I think they are not running in parallel, and so, using same pool should be fine.
@vishnuitta |
you are right @mynktl .. |
@vishnuitta |
Mayank, its still better to do 'zpool label clear' and zeriong out of 100MB during cleanup time.. we won't be sure how ext4 is providing this truncated file, i.e., whether its creating at altogether new place or giving the same place on disk without zeriong it. Also, lets print the pool name in our scripts, so that, we can find the pool name for which issue is coming . |
Ok. |
- changes related pool_name - adding labelclear + zeroing initial 100 MB of disk/file in cleanup_uzfs_test Signed-off-by: mayank <mayank.patel@cloudbyte.com>
…nsumed by test_uzfs.sh Signed-off-by: mayank <mayank.patel@cloudbyte.com>
Signed-off-by: mayank <mayank.patel@cloudbyte.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes are good. But, I don't see the changes of the import API call in uzfs_test framework which sets import_args.
Signed-off-by: mayank <mayank.patel@cloudbyte.com>
@vishnuitta @jkryl I have updated PR. Please re-review changes. |
Changes are good |
* Use of RTE ring buffer API from DPDK in vdev disk AIO backend
Changes in pool_name in uzfs_test_sync.sh
Changing build config to USER for ZFS in travis userspace build
Avoid running ZTEST in parallel with ZVOL related test by uzfs_test