]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFV r254749:
authordelphij <delphij@FreeBSD.org>
Sat, 24 Aug 2013 00:42:37 +0000 (00:42 +0000)
committerdelphij <delphij@FreeBSD.org>
Sat, 24 Aug 2013 00:42:37 +0000 (00:42 +0000)
commita6fe3ad03c345a602a25a8688c5e894754484f2c
tree827c930d1ac70047bb1fdac7a872343f1c63174d
parentb1dbe0883f220b97df777f74753476e0328015c7
MFV r254749:

Don't hold dd_lock for long by breaking it when not doing dsl_dir
accounting.  It is not necessary to hold the lock while manipulating
the parent's accounting, because there is no interface for userland
to see a consistent picture of both parent and child at the same
time anyway.

Illumos ZFS issues:
  4046 dsl_dataset_t ds_dir->dd_lock is highly contended
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dataset.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dir.c