]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/dmu_objset.c
Illumos 6171 - dsl_prop_unregister() slows down dataset eviction.
authorJustin T. Gibbs <gibbs@scsiguy.com>
Wed, 4 Nov 2015 23:00:58 +0000 (00:00 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 12 Jan 2016 18:53:12 +0000 (10:53 -0800)
commit0eb21616fabc46ca39b67fb3890637484dbf55c6
treead6de1b274e827c5d46ac170e112ffcf3f2658e2
parent5a28a9737ade6a9c1014d8e7f286431fad9f382e
Illumos 6171 - dsl_prop_unregister() slows down dataset eviction.

6171 dsl_prop_unregister() slows down dataset eviction.
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Approved by: Dan McDonald <danmcd@omniti.com>

References:
  https://www.illumos.org/issues/6171
  https://github.com/illumos/illumos-gate/commit/03bad06

Porting notes:
  - Conflicts
    - 3558fd7 Prototype/structure update for Linux
    - 2cf7f52 Linux compat 2.6.39: mount_nodev()
    - 13fe019 Illumos #3464
    - 241b541 Illumos 5959 - clean up per-dataset feature count code
  - dsl_prop_unregister() preserved until out of tree consumers
    like Lustre can transition to dsl_prop_unregister_all().
  - Fixing 'space or tab at end of line' in include/sys/dsl_dataset.h

Ported-by: kernelOfTruth kerneloftruth@gmail.com
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
include/sys/dsl_dataset.h
include/sys/dsl_dir.h
include/sys/dsl_prop.h
module/zfs/dmu_objset.c
module/zfs/dsl_dataset.c
module/zfs/dsl_dir.c
module/zfs/dsl_prop.c
module/zfs/zfs_vfsops.c