Skip to content

kohsuke/spl

This branch is 1 commit ahead of, 309 commits behind openzfs/spl:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5608080 · Sep 22, 2013
Mar 5, 2013
Aug 9, 2013
Aug 9, 2013
Aug 27, 2012
Mar 19, 2013
Aug 9, 2013
Sep 18, 2009
Aug 16, 2013
Aug 1, 2013
Apr 24, 2013
Dec 19, 2012
May 17, 2010
May 17, 2010
Aug 16, 2013
Apr 2, 2013
Sep 22, 2013
Apr 2, 2013
Apr 2, 2013
Jun 21, 2013
Jul 12, 2012

Repository files navigation

The Solaris Porting Layer (SPL) is a Linux kernel module which provides many of the Solaris kernel APIs. This shim layer makes it possible to run Solaris kernel code in the Linux kernel with relatively minimal modification. This can be particularly useful when you want to track upstream Solaris development closely and do not want the overhead of maintaining a large patch which converts Solaris primitives to Linux primitives.

To build packages for your distribution:

$ ./configure
$ make pkg

If you are building directly from the git tree and not an officially released tarball you will need to generate the configure script. This can be done by executing the autogen.sh script after installing the GNU autotools for your distribution.

To copy the kernel code inside your kernel source tree for builtin compilation:

$ ./configure --enable-linux-builtin --with-linux=/usr/src/linux-...
$ ./copy-builtin /usr/src/linux-...

Full documentation for building, configuring, and using the SPL can be found at: http://zfsonlinux.org

Running tests

SPL comes with automated tests called SPLAT. SPLAT is implemented as a kernel module, and it can be run from a userspace tool splat.

$ sudo insmod ./module/splat/splat.ko
$ sudo ./cmd/splat --all

About

Solaris Porting Layer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 95.2%
  • C++ 3.7%
  • Other 1.1%