[LU-9890] osd-zfs: ZFS dmu_objset_own and dmu_objset_disown interface changes Created: 18/Aug/17 Updated: 09/Jan/19 Resolved: 28/Aug/17 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.10.1, Lustre 2.11.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Giuseppe Di Natale (Inactive) | Assignee: | Giuseppe Di Natale (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch, zfs | ||
| Issue Links: |
|
||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
In zfs version 0.8.0, ZFS native encryption will be available. The feature changed the number of arguments provided to the dmu_objset_own and dmu_objset_disown functions. This ticket is to introduce config checks to determine which version of the those functions are available and ensures they are called correctly. |
| Comments |
| Comment by Gerrit Updater [ 18/Aug/17 ] |
|
Giuseppe Di Natale (dinatale2@llnl.gov) uploaded a new patch: https://review.whamcloud.com/28593 |
| Comment by Peter Jones [ 18/Aug/17 ] |
|
Thanks Giuseppe. Are other changes expected to be able to support 0.8 or is it too early to say? |
| Comment by Giuseppe Di Natale (Inactive) [ 21/Aug/17 ] |
|
Peter, The spl is slated to be moved into zfs in 0.8.0. That will definitely break lustre builds and the test infrastructure. There's a PR open on it here if you'd like to keep track of that. The only other currently semi-planned interface changes are to remove unused functions from interfaces, fix the visibility of functions that should not be externally available (i.e. refcount_add, etc), and provide new functions to cover missing functionality. We'd like to work with you on figuring out how to best prune/expand the interfaces we provide. We also have a new release builder in the zfs buildbot which builds lustre. We hope to use it to catch interface changes early and avoid unintentionally breaking lustre builds. Can the patch I submitted be backported to the lustre 2.10 stable branch so we can enable the lustre build step? 2.10 is currently what the lustre build step will build and we'd like to try and make sure master builds against it. Thanks! |
| Comment by Peter Jones [ 22/Aug/17 ] |
|
Thanks - that is very informative. Yes, we'll be able to land this patch to b2_10 as soon as it has landed to master. |
| Comment by Gerrit Updater [ 28/Aug/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/28593/ |
| Comment by Peter Jones [ 28/Aug/17 ] |
|
Landed for 2.11 |
| Comment by Gerrit Updater [ 28/Aug/17 ] |
|
Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/28764 |
| Comment by Gerrit Updater [ 06/Sep/17 ] |
|
John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/28764/ |