diff options
author | George Wilson <[email protected]> | 2012-12-21 14:57:09 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2013-01-08 10:35:44 -0800 |
commit | 1eb5bfa3dcdaecb19543d9df13131374a7a42947 (patch) | |
tree | ab0fafd17c371d778d5b195583709abd628d2c24 /include | |
parent | 753c38392ddff9d3cf140bb4d28f3bfba52c92d2 (diff) |
Illumos #3145, #3212
3145 single-copy arc
3212 ztest: race condition between vdev_online() and spa_vdev_remove()
Reviewed by: Matt Ahrens <[email protected]>
Reviewed by: Adam Leventhal <[email protected]>
Reviewed by: Eric Schrock <[email protected]>
Reviewed by: Justin T. Gibbs <[email protected]>
Approved by: Eric Schrock <[email protected]>
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 <[email protected]>
Closes #989
Closes #1137
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/arc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/arc.h b/include/sys/arc.h index 443597df0..dbc91ea3d 100644 --- a/include/sys/arc.h +++ b/include/sys/arc.h @@ -109,6 +109,7 @@ int arc_released(arc_buf_t *buf); int arc_has_callback(arc_buf_t *buf); void arc_buf_freeze(arc_buf_t *buf); void arc_buf_thaw(arc_buf_t *buf); +boolean_t arc_buf_eviction_needed(arc_buf_t *buf); #ifdef ZFS_DEBUG int arc_referenced(arc_buf_t *buf); #endif |