Illumos #3145, #3212
authorGeorge Wilson <george.wilson@delphix.com>
Fri, 21 Dec 2012 22:57:09 +0000 (14:57 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 8 Jan 2013 18:35:44 +0000 (10:35 -0800)
commit1eb5bfa3dcdaecb19543d9df13131374a7a42947
treeab0fafd17c371d778d5b195583709abd628d2c24
parent753c38392ddff9d3cf140bb4d28f3bfba52c92d2
Illumos #3145, #3212

3145 single-copy arc
3212 ztest: race condition between vdev_online() and spa_vdev_remove()

Reviewed by: Matt Ahrens <matthew.ahrens@delphix.com>
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Eric Schrock <eric.schrock@delphix.com>
Reviewed by: Justin T. Gibbs <gibbs@scsiguy.com>
Approved by: Eric Schrock <eric.schrock@delphix.com>

References:
  illumos-gate/commit/9253d63df408bb48584e0b1abfcc24ef2472382e
  illumos changeset: 13840:97fd5cdf328a
  https://www.illumos.org/issues/3145
  https://www.illumos.org/issues/3212

Ported-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #989
Closes #1137
cmd/ztest/ztest.c
include/sys/arc.h
module/zfs/arc.c
module/zfs/dbuf.c