-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Illumos 3464 #1658
Illumos 3464 #1658
Conversation
Pushed dweeezil/zfs@4a39697 to rebase to dweeezil/zfs@1826f91 of #1496. |
2882 implement libzfs_core 2883 changing "canmount" property to "on" should not always remount dataset 2900 "zfs snapshot" should be able to create multiple, arbitrary snapshots at once Reviewed by: George Wilson <[email protected]> Reviewed by: Chris Siden <[email protected]> Reviewed by: Garrett D'Amore <[email protected]> Reviewed by: Bill Pijewski <[email protected]> Reviewed by: Dan Kruchinin <[email protected]> Approved by: Eric Schrock <[email protected]> References: illumos/illumos-gate@4445fff Ported-by: Tim Chase <[email protected]> Closes openzfs#1293 Porting notes: Add zvol minor device creation to the new zfs_snapshot_nvl function. Remove the logging of the "release" operation in dsl_dataset_user_release_sync(). The logging caused a null dereference because ds->ds_dir is zeroed in dsl_dataset_destroy_sync() and the logging functions try to get the ds name via the dsl_dataset_name() function. I've got no idea why this particular code would have worked in Illumos. This code has subsequently been completely reworked in Illumos commit 3b2aab1 (3464 zfs synctask code needs restructuring). Squash some "may be used uninitialized" warning/erorrs. Fix some printf format warnings for %lld and %llu. Apply a few spa_writeable() changes that were made to Illumos in illumos/illumos-gate.git@cd1c8b8 as part of the 3112, 3113, 3114 and 3115 fixes. Add a missing call to fnvlist_free(nvl) in log_internal() that was added in Illumos to fix issue 3085 but couldn't be ported to ZoL at the time (openzfs/zfs@9e11c73) because it depended on future work.
Pushed dweeezil/zfs@f1632c7 to rebase to dweeezil/zfs@ac02a59 and, therefore, current zfsonlinux/zfs master (0.6.2). |
Pushed dweeezil/zfs@6d3a0c7 to fix a long-standing porting issue in which zvol minors were re-created prior to a rename rather than after a rename. This is, of course, still based on dweeezil/zfs@ac02a59 which is, itself, based on zfsonlinux/zfs master as of 0.6.2. |
@dweeezil I ran in to some minor build issues with the patch when building pacakges. Please include the new headers in diff --git a/include/sys/Makefile.am b/include/sys/Makefile.am
index 2245ff4..008a3ac 100644
--- a/include/sys/Makefile.am
+++ b/include/sys/Makefile.am
@@ -13,17 +13,20 @@ COMMON_H = \
$(top_srcdir)/include/sys/dmu_impl.h \
$(top_srcdir)/include/sys/dmu_objset.h \
$(top_srcdir)/include/sys/dmu_traverse.h \
+ $(top_srcdir)/include/sys/dmu_send.h \
$(top_srcdir)/include/sys/dmu_tx.h \
$(top_srcdir)/include/sys/dmu_zfetch.h \
$(top_srcdir)/include/sys/dnode.h \
$(top_srcdir)/include/sys/dsl_dataset.h \
$(top_srcdir)/include/sys/dsl_deadlist.h \
$(top_srcdir)/include/sys/dsl_deleg.h \
+ $(top_srcdir)/include/sys/dsl_destroy.h \
$(top_srcdir)/include/sys/dsl_dir.h \
$(top_srcdir)/include/sys/dsl_pool.h \
$(top_srcdir)/include/sys/dsl_prop.h \
$(top_srcdir)/include/sys/dsl_scan.h \
$(top_srcdir)/include/sys/dsl_synctask.h \
+ $(top_srcdir)/include/sys/dsl_userhold.h \
$(top_srcdir)/include/sys/efi_partition.h \
$(top_srcdir)/include/sys/metaslab.h \
$(top_srcdir)/include/sys/metaslab_impl.h \ |
3464 zfs synctask code needs restructuring Reviewed by: Dan Kimmel <[email protected]> Reviewed by: Adam Leventhal <[email protected]> Reviewed by: George Wilson <[email protected]> Reviewed by: Christopher Siden <[email protected]> Approved by: Garrett D'Amore <[email protected]> References: illumos/illumos-gate@3b2aab1 Ported-by: Tim Chase <[email protected]>
@behlendorf I just pushed dweeezil/zfs@4789bce which adds the missing headers to include/sys/Makefile.am and also re-alphabetizes the list by re-generating it from scratch. |
Merged. The patch passed all of the automated testing and it's been in Illumos for some time. However since it so large I expect that we missed something so let's keep an eye out for new regressions. @dweeezil thank you again for doing this it was a huge amount of work and I appreciate it greatly! |
Notes from the Illumos commit:
This patch is based on the pull request #1496 which is based on master as of a day ago or so.