]> git.proxmox.com Git - mirror_spl-debian.git/log
mirror_spl-debian.git
7 years agoAllow parallel building
Aron Xu [Sat, 17 Sep 2016 17:19:45 +0000 (01:19 +0800)]
Allow parallel building

7 years agocontrol: bump standards version to 3.9.8
Zhou Mo [Sat, 17 Sep 2016 17:14:27 +0000 (01:14 +0800)]
control: bump standards version to 3.9.8

7 years agoFix invalid command in dkms, thanks Petter Reinholdtsen. (Closes #836578)
Zhou Mo [Sat, 17 Sep 2016 16:47:38 +0000 (16:47 +0000)]
Fix invalid command in dkms, thanks Petter Reinholdtsen. (Closes #836578)

7 years agoMerge tag 'upstream/0.6.5.8'
Aron Xu [Sat, 17 Sep 2016 16:59:03 +0000 (00:59 +0800)]
Merge tag 'upstream/0.6.5.8'

Upstream version 0.6.5.8

7 years agoImported Upstream version 0.6.5.8
Aron Xu [Sat, 17 Sep 2016 16:59:02 +0000 (00:59 +0800)]
Imported Upstream version 0.6.5.8

7 years agoChanged Standards-Version from 3.9.6 to 3.9.8.
Petter Reinholdtsen [Mon, 22 Aug 2016 12:57:04 +0000 (12:57 +0000)]
Changed Standards-Version from 3.9.6 to 3.9.8.

7 years agoDebian revision 0.6.5.7-1
Aron Xu [Wed, 25 May 2016 04:20:16 +0000 (12:20 +0800)]
Debian revision 0.6.5.7-1

7 years agoMerge tag 'upstream/0.6.5.7'
Aron Xu [Wed, 25 May 2016 04:15:20 +0000 (12:15 +0800)]
Merge tag 'upstream/0.6.5.7'

Upstream version 0.6.5.7

7 years agoImported Upstream version 0.6.5.7
Aron Xu [Wed, 25 May 2016 04:15:19 +0000 (12:15 +0800)]
Imported Upstream version 0.6.5.7

8 years agoRelease -2 version
Aron Xu [Thu, 28 Apr 2016 12:56:37 +0000 (20:56 +0800)]
Release -2 version

8 years agoAdded autopkgtest using code from Ubuntu using dkms >= 2.2.0.3-3~.
Petter Reinholdtsen [Thu, 28 Apr 2016 09:01:08 +0000 (11:01 +0200)]
Added autopkgtest using code from Ubuntu using dkms >= 2.2.0.3-3~.

8 years agoAdd license names to entries missing it.
Petter Reinholdtsen [Thu, 21 Apr 2016 10:14:59 +0000 (12:14 +0200)]
Add license names to entries missing it.

Thank you lintian for noticing and Colin Ian King from Ubuntu for the fix.

8 years agoUpdate changelog
Aron Xu [Wed, 23 Mar 2016 23:17:26 +0000 (07:17 +0800)]
Update changelog

8 years agoImported Upstream version 0.6.5.6
Aron Xu [Wed, 23 Mar 2016 23:14:21 +0000 (07:14 +0800)]
Imported Upstream version 0.6.5.6

8 years agoMerge tag 'upstream/0.6.5.6'
Aron Xu [Wed, 23 Mar 2016 23:14:21 +0000 (07:14 +0800)]
Merge tag 'upstream/0.6.5.6'

Upstream version 0.6.5.6

8 years agoUpdate changelog
Aron Xu [Sun, 20 Mar 2016 14:57:39 +0000 (22:57 +0800)]
Update changelog

8 years agoMerge tag 'upstream/0.6.5.5'
Aron Xu [Sun, 20 Mar 2016 14:50:20 +0000 (22:50 +0800)]
Merge tag 'upstream/0.6.5.5'

Upstream version 0.6.5.5

8 years agoImported Upstream version 0.6.5.5
Aron Xu [Sun, 20 Mar 2016 14:50:19 +0000 (22:50 +0800)]
Imported Upstream version 0.6.5.5

8 years agoUpdate changelog
Aron Xu [Sun, 10 Jan 2016 12:19:01 +0000 (20:19 +0800)]
Update changelog

8 years agoImported Upstream version 0.6.5.4
Aron Xu [Sun, 10 Jan 2016 12:13:12 +0000 (20:13 +0800)]
Imported Upstream version 0.6.5.4

8 years agoMerge tag 'upstream/0.6.5.4'
Aron Xu [Sun, 10 Jan 2016 12:13:12 +0000 (20:13 +0800)]
Merge tag 'upstream/0.6.5.4'

Upstream version 0.6.5.4

8 years agoUpdate changelog
Aron Xu [Sun, 13 Dec 2015 05:18:51 +0000 (13:18 +0800)]
Update changelog

8 years agoMerge tag 'upstream/0.6.5.3'
Aron Xu [Thu, 5 Nov 2015 13:06:43 +0000 (21:06 +0800)]
Merge tag 'upstream/0.6.5.3'

Upstream version 0.6.5.3

Conflicts:
META
configure
module/spl/spl-taskq.c
rpm/generic/spl-kmod.spec.in
rpm/generic/spl.spec.in
rpm/redhat/spl.spec.in

8 years agoImported Upstream version 0.6.5.3
Aron Xu [Thu, 5 Nov 2015 13:05:35 +0000 (21:05 +0800)]
Imported Upstream version 0.6.5.3

8 years agoUpdate changelog
Aron Xu [Tue, 13 Oct 2015 15:41:31 +0000 (16:41 +0100)]
Update changelog

8 years agostd-ver: 3.9.6
Aron Xu [Tue, 13 Oct 2015 15:03:00 +0000 (16:03 +0100)]
std-ver: 3.9.6

8 years agoFix conflicts
Aron Xu [Tue, 13 Oct 2015 14:57:34 +0000 (15:57 +0100)]
Fix conflicts

8 years agoMerge tag 'upstream/0.6.5.2'
Aron Xu [Tue, 13 Oct 2015 14:26:16 +0000 (15:26 +0100)]
Merge tag 'upstream/0.6.5.2'

Upstream version 0.6.5.2

Conflicts:
META
configure
rpm/generic/spl-kmod.spec.in
rpm/generic/spl.spec.in
rpm/redhat/spl.spec.in

8 years agoImported Upstream version 0.6.5.2
Aron Xu [Tue, 13 Oct 2015 14:20:53 +0000 (15:20 +0100)]
Imported Upstream version 0.6.5.2

8 years agoAdd conflicts to splat (Closes: #769147)
Aron Xu [Tue, 13 Oct 2015 14:02:58 +0000 (15:02 +0100)]
Add conflicts to splat (Closes: #769147)

8 years agoSet --disable-debug-kmem
Aron Xu [Thu, 13 Aug 2015 12:02:19 +0000 (20:02 +0800)]
Set --disable-debug-kmem

8 years agoUpdate changelog
Aron Xu [Thu, 13 Aug 2015 11:58:51 +0000 (19:58 +0800)]
Update changelog

8 years agoImported Upstream version 0.6.4.2
Aron Xu [Thu, 13 Aug 2015 11:58:21 +0000 (19:58 +0800)]
Imported Upstream version 0.6.4.2

8 years agoImported Upstream version 0.6.4.2
Aron Xu [Thu, 13 Aug 2015 11:58:21 +0000 (19:58 +0800)]
Imported Upstream version 0.6.4.2

8 years agoUpdate changelog
Aron Xu [Sat, 16 May 2015 22:05:30 +0000 (06:05 +0800)]
Update changelog

8 years agoUpdate std-ver, update dkms version requirement
Aron Xu [Sat, 16 May 2015 21:58:01 +0000 (05:58 +0800)]
Update std-ver, update dkms version requirement

8 years agoMerge tag 'upstream/0.6.4.1'
Aron Xu [Sat, 16 May 2015 21:41:13 +0000 (05:41 +0800)]
Merge tag 'upstream/0.6.4.1'

Upstream version 0.6.4.1

8 years agoImported Upstream version 0.6.4.1
Aron Xu [Sat, 16 May 2015 21:41:12 +0000 (05:41 +0800)]
Imported Upstream version 0.6.4.1

9 years agoImported Upstream version 0.6.3+git20140731
Liang Guo [Thu, 31 Jul 2014 07:09:08 +0000 (15:09 +0800)]
Imported Upstream version 0.6.3+git20140731

10 years agoAdd file and libc-dev to Depends of spl-dkms
Liang Guo [Sat, 8 Feb 2014 16:01:58 +0000 (00:01 +0800)]
Add file and libc-dev to Depends of spl-dkms

10 years agoImported Upstream version 0.6.2+git20140204
Liang Guo [Tue, 4 Feb 2014 04:13:21 +0000 (12:13 +0800)]
Imported Upstream version 0.6.2+git20140204

10 years agoUpdate changelog
Aron Xu [Sat, 24 Aug 2013 09:12:58 +0000 (17:12 +0800)]
Update changelog

10 years agoRemove patches merged upstream
Aron Xu [Sat, 24 Aug 2013 06:30:03 +0000 (14:30 +0800)]
Remove patches merged upstream

10 years agoImported Upstream version 0.6.2
Aron Xu [Sat, 24 Aug 2013 05:16:01 +0000 (13:16 +0800)]
Imported Upstream version 0.6.2

10 years agoMerge tag 'upstream/0.6.2'
Aron Xu [Sat, 24 Aug 2013 05:16:01 +0000 (13:16 +0800)]
Merge tag 'upstream/0.6.2'

Upstream version 0.6.2

10 years agoAdd upstream patch to fix delay()
Aron Xu [Mon, 29 Jul 2013 09:33:24 +0000 (17:33 +0800)]
Add upstream patch to fix delay()

10 years agoUpdate changelog
Aron Xu [Mon, 29 Jul 2013 08:06:10 +0000 (16:06 +0800)]
Update changelog

10 years agoAdd linux 3.10 compatibility patch from upstream. (Closes: #717565)
Aron Xu [Mon, 29 Jul 2013 08:02:53 +0000 (16:02 +0800)]
Add linux 3.10 compatibility patch from upstream. (Closes: #717565)

10 years agoAdd license info for scripts/kmodtool
Aron Xu [Sun, 14 Jul 2013 17:46:57 +0000 (01:46 +0800)]
Add license info for scripts/kmodtool

10 years agoAdd README.Source for binary module package generation
Aron Xu [Sat, 13 Jul 2013 20:14:14 +0000 (04:14 +0800)]
Add README.Source for binary module package generation

10 years agoAllow setting KVERS
Aron Xu [Sat, 13 Jul 2013 18:38:05 +0000 (02:38 +0800)]
Allow setting KVERS

10 years agoUse correct debian revison for pkg version
Aron Xu [Fri, 12 Jul 2013 20:39:39 +0000 (04:39 +0800)]
Use correct debian revison for pkg version

10 years agoAdd essential maintainer scripts
Aron Xu [Fri, 12 Jul 2013 19:41:53 +0000 (03:41 +0800)]
Add essential maintainer scripts

10 years agoRecommend spl-moudles first
Aron Xu [Fri, 12 Jul 2013 19:35:36 +0000 (03:35 +0800)]
Recommend spl-moudles first

10 years agoAdd kernel package dependency
Aron Xu [Fri, 12 Jul 2013 19:35:06 +0000 (03:35 +0800)]
Add kernel package dependency

10 years agoRemove redundant destdir parameter
Aron Xu [Fri, 12 Jul 2013 19:22:50 +0000 (03:22 +0800)]
Remove redundant destdir parameter

10 years agoRemove redundant ARCH
Aron Xu [Fri, 12 Jul 2013 18:56:46 +0000 (02:56 +0800)]
Remove redundant ARCH

10 years agoAdd KVERS
Aron Xu [Fri, 12 Jul 2013 18:48:42 +0000 (02:48 +0800)]
Add KVERS

10 years agoRestore control file on clean
Aron Xu [Fri, 12 Jul 2013 18:36:26 +0000 (02:36 +0800)]
Restore control file on clean

10 years agoReplace dh_clean -k with dh_prep
Aron Xu [Fri, 12 Jul 2013 18:24:29 +0000 (02:24 +0800)]
Replace dh_clean -k with dh_prep

10 years agoRetrieve the arch from 'dpkg', don't hardcode it to 'amd64'.
Turbo Fredriksson [Wed, 22 May 2013 20:14:26 +0000 (22:14 +0200)]
Retrieve the arch from 'dpkg', don't hardcode it to 'amd64'.
+ Also install modules to '/lib/modules/<VERSION>-<ARCH>/'.

10 years ago* linux-headers-_KVERS_ is a virtual package. Instead, depend on
Turbo Fredriksson [Tue, 21 May 2013 21:22:10 +0000 (23:22 +0200)]
* linux-headers-_KVERS_ is a virtual package. Instead, depend on
  linux-headers-_KVERS_-common AND linux-headers-_KVERS_-amd64.
* find kernel source in $KSRC and kernel objects in $KOBJ.

10 years ago* Build udebs and optionally modules package(s) - both .deb and .udeb.
Aron Xu [Fri, 12 Jul 2013 18:20:29 +0000 (02:20 +0800)]
* Build udebs and optionally modules package(s) - both .deb and .udeb.
* The spl-modules-udeb must depend on zlib-modules-udeb for zlib_deflate module.
* Files for the 'normal' module to install in the correct place.

Conflicts:
debian/changelog

10 years agoRelease to experimental
Aron Xu [Thu, 4 Jul 2013 07:59:18 +0000 (15:59 +0800)]
Release to experimental

10 years agoAdd lintian overrides
Aron Xu [Thu, 4 Jul 2013 07:42:44 +0000 (15:42 +0800)]
Add lintian overrides

10 years agoCorrect Closes entry
Aron Xu [Mon, 1 Jul 2013 14:06:17 +0000 (22:06 +0800)]
Correct Closes entry

10 years agoCorrect bracket
Aron Xu [Mon, 1 Jul 2013 14:05:48 +0000 (22:05 +0800)]
Correct bracket

10 years agoBe more detailed for GPL-2+
Aron Xu [Fri, 28 Jun 2013 17:44:43 +0000 (01:44 +0800)]
Be more detailed for GPL-2+

10 years agoCorrect upstream URL.
Aron Xu [Fri, 28 Jun 2013 17:35:50 +0000 (01:35 +0800)]
Correct upstream URL.

10 years agoUse /usr/bin/printf directly
Aron Xu [Thu, 30 May 2013 19:38:14 +0000 (03:38 +0800)]
Use /usr/bin/printf directly

We need printf from coreutils to make sure it supports byte format,
however there are shells that have which a builtin command, returning
something not as expected. There is no problem to use the path directly
since coreutils is the Priority:required so we can assume its presence.

10 years agoVarious small improvements to d/control d/compat
Aron Xu [Thu, 30 May 2013 19:10:24 +0000 (03:10 +0800)]
Various small improvements to d/control d/compat

 * Std-ver: 3.9.4
 * Add Uploaders field.
 * Increase compatible level of dh to 9, to take the advantage of
   hardening, etc.
 * Enhance the Recommends version of spl.
 * Improve long descriptions.

10 years agoForget about .pc files
Carlos Alberto Lopez Perez [Wed, 1 May 2013 15:01:25 +0000 (17:01 +0200)]
Forget about .pc files

11 years agoImported Upstream version 0.6.1
Carlos Alberto Lopez Perez [Wed, 10 Apr 2013 01:07:06 +0000 (03:07 +0200)]
Imported Upstream version 0.6.1

11 years agoMerge tag 'upstream/0.6.1'
Carlos Alberto Lopez Perez [Wed, 10 Apr 2013 01:07:06 +0000 (03:07 +0200)]
Merge tag 'upstream/0.6.1'

Upstream version 0.6.1

11 years agoRemove debuild-ppa.sh
Carlos Alberto Lopez Perez [Tue, 9 Apr 2013 10:22:49 +0000 (12:22 +0200)]
Remove debuild-ppa.sh

 * Remove the helper script for uploading to PPA.

11 years agoMerge branch 'clopez'
Aron Xu [Mon, 8 Apr 2013 08:36:44 +0000 (16:36 +0800)]
Merge branch 'clopez'

11 years agoMerge tag 'upstream/0.6.1'
Aron Xu [Mon, 8 Apr 2013 06:23:22 +0000 (14:23 +0800)]
Merge tag 'upstream/0.6.1'

Upstream version 0.6.1

Conflicts:
.gitignore
README.markdown
rpm/fedora/spl-dkms.spec.in
rpm/fedora/spl.spec.in

11 years agoImported Upstream version 0.6.1
Aron Xu [Mon, 8 Apr 2013 06:22:35 +0000 (14:22 +0800)]
Imported Upstream version 0.6.1

11 years agoFix and improve the generation of the stripped kernel source tree
Carlos Alberto Lopez Perez [Tue, 2 Apr 2013 21:00:01 +0000 (23:00 +0200)]
Fix and improve the generation of the stripped kernel source tree

  * Commit 493972c8 broke the rules used for the generation of the
    stripped kernel source tree because of the requirement of the
    rpm directory to be present for CONFIG_KERNEL
    (which is clearly not required for us).

  * Add a new rule to sed Makefile.am and manually set "SUBDIRS" to
    "module include" for CONFIG_KERNEL and remove it for the other
    configs.

    * This has the benefit that now running ./configure --with-config=user
    && make in the DKMS source tree is a nop while before it gave
    an error.

  * Improve the robustness of the rules by ensuring that they will
    abort if something is not as expected.

11 years agoReset changelog and update maintainer and vcs fields on debian/control
Carlos Alberto Lopez Perez [Tue, 2 Apr 2013 00:01:38 +0000 (02:01 +0200)]
Reset changelog and update maintainer and vcs fields on debian/control

11 years agoLower DKMS version requirements to Squeeze version.
Carlos Alberto Lopez Perez [Mon, 1 Apr 2013 23:40:05 +0000 (01:40 +0200)]
Lower DKMS version requirements to Squeeze version.

 * Squeeze DKMS version is 2.1.1.2-5

11 years agoFix debian/watch (another time)
Carlos Alberto Lopez Perez [Mon, 1 Apr 2013 23:36:42 +0000 (01:36 +0200)]
Fix debian/watch (another time)

 * Upstream is not longer using github to distribute tarballs
   * 0.6.1 tarballs were not added (as the time of writing this) to
     https://github.com/zfsonlinux/spl/downloads
 * Update the url to http://zfsonlinux.org/
 * uscan --report-status now says:
   Newest version on remote site is 0.6.1, local version is 0.6.1
   => Package is up to date

11 years agoMerge branch 'upstream'
Carlos Alberto Lopez Perez [Mon, 1 Apr 2013 23:00:20 +0000 (01:00 +0200)]
Merge branch 'upstream'

11 years agoTag spl-0.6.1
Brian Behlendorf [Mon, 25 Mar 2013 20:46:47 +0000 (13:46 -0700)]
Tag spl-0.6.1

META file and release log updated.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
11 years agoProvide ${kmodname}-devel-kmod for yum-builddep
Brian Behlendorf [Mon, 25 Mar 2013 18:18:11 +0000 (11:18 -0700)]
Provide ${kmodname}-devel-kmod for yum-builddep

In order to ensure that yum-builddep pulls in all the build
requirements a generic ${kmodname}-devel-kmod provides line is
added.  This allows a version of the development headers to be
included without requiring knowledge of the kernel version.

This is important because unlike rpmbuild which does correctly
expand the source rpm spec file, yum-builddep does not.  Without
this generic provides line mock which relies on yum-builddep is
unable to automatically satisfy the dependency.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
11 years agoUse 'git describe' for working builds
Brian Behlendorf [Fri, 22 Mar 2013 18:27:20 +0000 (11:27 -0700)]
Use 'git describe' for working builds

When building from an arbitrary commit in the git tree it's useful
for the resulting packages to be uniquely identifiable.  Therefore,
the build system has been updated to detect if your compiling in
git tree.

If you are building in a git tree, and there are commits after the
last annotated tag.  Then the <id>-<hash> component of 'git describe'
will be used to overwrite the 'Release:' field in the META file.

The only tricky part is that to ensure the 'make dist' tarball is
built using the correct release.  A dist-hook was added to the top
level make file to rewrite the META file using the correct release.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #195
Issue #111

11 years agoDo not call cond_resched() in spl_slab_reclaim()
Richard Yao [Thu, 21 Mar 2013 17:21:11 +0000 (13:21 -0400)]
Do not call cond_resched() in spl_slab_reclaim()

Calling cond_resched() after each object is freed and then after each
slab is freed can cause slabs of objects to live for excessive periods
of time following reclaimation. This interferes with the kernel's own
memory management when called from kswapd and can cause direct reclaim
to occur in response to memory pressure that should have been resolved.

Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu>
11 years agoUse requested kernel for dkms builds
Brian Behlendorf [Wed, 20 Mar 2013 22:11:24 +0000 (15:11 -0700)]
Use requested kernel for dkms builds

The --with-linux and --with-linux-obj options must be specified
as part of the dkms build otherwise the package will be built
against the running kernel.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
11 years agoRemove spl-dkms conflict with spl-kmod
Brian Behlendorf [Wed, 20 Mar 2013 18:33:15 +0000 (11:33 -0700)]
Remove spl-dkms conflict with spl-kmod

Because the spl-dkms package also provides spl-kmod for the
spl user package yum flags this as a conflict.  To avoid the
problem remove the Conflicts tag from spl-dkms and just rely
on the one in spl-kmod.

  spl-dkms-0.6.0-rc14.fc18.noarch has installed conflicts
    spl-kmod: spl-dkms-0.6.0-rc14.fc18.noarch

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
11 years agoCreate splat man page
Darik Horn [Fri, 15 Mar 2013 19:25:32 +0000 (12:25 -0700)]
Create splat man page

The automake templates have been updated to install this man
page and the existing packaging was updated to include it.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
11 years agoRefresh RPM packaging
Brian Behlendorf [Fri, 8 Feb 2013 19:02:08 +0000 (11:02 -0800)]
Refresh RPM packaging

Refresh the existing RPM packaging to conform to the 'Fedora
Packaging Guidelines'.  This includes adopting the kmods2
packaging standard which is used fod kmods distributed by
rpmfusion for Fedora/RHEL.

  http://fedoraproject.org/wiki/Packaging:Guidelines
  http://rpmfusion.org/Packaging/KernelModules/Kmods2

While the spec files have been entirely rewritten from a
user perspective the only major changes are:

* The Fedora packages now have a build dependency on the
  rpmfusion repositories.  The generic kmod packages also
  have a new dependency on kmodtool-1.22 but it is bundled
  with the source rpm so no additional packages are needed.

* The kernel binary module packages have been renamed from
  spl-modules-* to kmod-spl-* as specificed by kmods2.

* The is now a common kmod-spl-devel-* package in addition
  to the per-kernel devel packages.  The common package
  contains the development headers while the per-kernel
  package contains kernel specific build products.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #222

11 years agoFix debian/watch
Carlos Alberto Lopez Perez [Sat, 16 Mar 2013 22:52:23 +0000 (23:52 +0100)]
Fix debian/watch

  * Only report non-rc versions.
  * uscan --report-status now says:
      Newest version on remote site is 0.5.2

11 years agoDelete void spl-dkms.prerm
Carlos Alberto Lopez Perez [Sat, 16 Mar 2013 20:48:27 +0000 (21:48 +0100)]
Delete void spl-dkms.prerm

  * There is not need to have empty skeleton {pre,post}{inst,rm} files
  * debhelper will create this at build time automatically when needed

  * debhelper(7)

    Automatic generation of debian install scripts:

       Some debhelper commands will automatically generate parts of debian
       maintainer scripts. If you want these automatically generated things
       included in your existing debian maintainer scripts, then you need to
       add "#DEBHELPER#" to your scripts, in the place the code should be
       added.  "#DEBHELPER#" will be replaced by any auto-generated code when
       you run dh_installdeb.

       If a script does not exist at all and debhelper needs to add something
       to it, then debhelper will create the complete script.

11 years agoChange spl-kmod-devel install path
Brian Behlendorf [Wed, 20 Feb 2013 21:58:05 +0000 (13:58 -0800)]
Change spl-kmod-devel install path

Install the common spl kernel development headers under
/usr/src/spl-<version>/ rather than in a kernel specific
directory.  The kernel specific build products such as
spl_config.h and Modules.symvers are left installed under
/usr/src/spl-<version>/<kernel>.

This was done to be consistent with where dkms expects
kernel module source to be packaged.  It also allows for
a common spl-kmod-devel package which includes the headers,
and per-kernel spl-kmod-devel-<kernel> packages.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
11 years agoMerge branch 'linux-3.9'
Brian Behlendorf [Thu, 14 Mar 2013 17:43:46 +0000 (10:43 -0700)]
Merge branch 'linux-3.9'

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #221

11 years agoLinux 3.9 compat: Switch to hlist_for_each{,_rcu}
Richard Yao [Mon, 4 Mar 2013 20:17:03 +0000 (15:17 -0500)]
Linux 3.9 compat: Switch to hlist_for_each{,_rcu}

torvalds/linux@b67bfe0d42cac56c512dd5da4b1b347a23f4b70a changed
hlist_for_each_entry{,_rcu} to take 3 arguments instead of 4. We handle
this by switching to hlist_for_each{,_rcu}, which works across all
supported kernels.

Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
11 years agoDrop support for 3 argument version of set_fs_pwd
Richard Yao [Tue, 12 Mar 2013 02:02:45 +0000 (22:02 -0400)]
Drop support for 3 argument version of set_fs_pwd

This was a suggestion that Brian Behlendorf made when reviewing an early
pull request for Linux 3.9 support. This commit was made intentionally
easy to revert should we ever have a reason to reintroduce support for
older kernels.

Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
11 years agoLinux 3.9 compat: set_fs_root takes const struct path *
Richard Yao [Mon, 4 Mar 2013 05:24:04 +0000 (00:24 -0500)]
Linux 3.9 compat: set_fs_root takes const struct path *

torvalds/linux@dcf787f39162ce32ca325b3e784aba2d2444619a enforces
const-correctness in passing struct path *.

Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
11 years agoLinux 3.9 compat: vfs_getattr takes two arguments
Richard Yao [Mon, 4 Mar 2013 05:02:43 +0000 (00:02 -0500)]
Linux 3.9 compat: vfs_getattr takes two arguments

The function prototype of vfs_getattr previoulsy took struct vfsmount *
and struct dentry * as arguments. These would always be defined together
in a struct path *.

torvalds/linux@3dadecce20603aa380023c65e6f55f108fd5e952 modified
vfs_getattr to take struct path * is taken as an argument instead.

Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
11 years agoLinux 3.9 compat: Do not depend on f_vfsmnt
Richard Yao [Mon, 4 Mar 2013 04:45:33 +0000 (23:45 -0500)]
Linux 3.9 compat: Do not depend on f_vfsmnt

torvalds/linux@182be684784334598eee1d90274e7f7aa0063616 removed the
preprocessor definition for f_vfsmnt. The ability to access the
mountpoint via ->f_path.mnt has been stable for a long time, so we
switch to that.

Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>