Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

Remove kobj and vnode interfaces (WIP) #497

Closed
wants to merge 5 commits into from

Conversation

behlendorf
Copy link
Contributor

Only for review and feedback. Removes the kobj, vnode, and spl_file, interfaces from the SPL. A simplified implementation will be added to the ZFS source tree. This existing code has served it's purpose well but it's needlessly complicated. With minor changes on the ZFS side it can be vastly simplified.

Remove the obj interface.  This required slightly extending the
spl_file_* interface.
The ksid_lookupdomain() and lookupdomain_rele() function rely on
kmem_zalloc() and kmem_free().  This header must include sys/kmem.h.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
@ryao
Copy link
Contributor

ryao commented Dec 3, 2015

@behlendorf The changes you propose would require that I rewrite openzfs/zfs#3907 to use Linux APIs at a time when I am preparing a refresh and have actually pushed it into production because the illumos developers prefer to receive patches with production code. This would make porting patches back and forth much more difficult. I would rather get the libzfs_core extensions finalized and sent to illumos before doing any major refactoring here.

@behlendorf
Copy link
Contributor Author

Closing as stale. I'll refresh this and open a new PR when I can.

@behlendorf behlendorf closed this Aug 19, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants