Fix metaslab
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 26 Aug 2010 17:27:53 +0000 (10:27 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 31 Aug 2010 15:38:45 +0000 (08:38 -0700)
commit22c81dd8a9ec5177a65808c1d782599402b40233
tree150455ef944c7e92353f3a0609d9ade4d35a036e
parent98f72a539c8ca2ba1ca7fc8cac44018ade96065c
Fix metaslab

If your only going to allow one allocator to be used and it is defined
at compile time there is no point including the others in the build.
This patch could/should be refined for Linux to make the metaslab
configurable at run time.  That might be a bit tricky however since
you would need to quiese all IO.  Short of that making it configurable
as a module load option would be a reasonable compromise.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
module/zfs/metaslab.c