Enable zfs_znode compilation
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 22 Dec 2010 00:28:11 +0000 (16:28 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 10 Feb 2011 17:27:20 +0000 (09:27 -0800)
commit10c6047ea56445a87d8ce1397ac2d2caa97719ca
tree7fad4cfe0e6863f52e82f55b577235076fd1328c
parenta405c8a665bf7d96880c97bcb783cf84d04e3e76
Enable zfs_znode compilation

Basic compilation of the bulk of zfs_znode.c has been enabled.  After
much consideration it was decided to convert the existing vnode based
interfaces to more friendly Linux interfaces.  The following commits
will systematically replace update the requiter interfaces.  There
are of course pros and cons to this decision.

Pros:
* This simplifies intergration with Linux in the long term.  There is
  no longer any need to manage vnodes which are a foreign concept to
  the Linux VFS.
* Improved long term maintainability.
* Minor performance improvements by removing vnode overhead.

Cons:
* Added work in the short term to modify multiple ZFS interfaces.
* Harder to pull in changes if we ever see any new code from Solaris.
* Mixed Solaris and Linux interfaces in some ZFS code.
module/zfs/sa.c
module/zfs/zfs_znode.c