diff options
author | Matthew Ahrens <[email protected]> | 2014-07-15 03:43:18 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-08-20 09:17:00 -0700 |
commit | bd089c547784a4ab23fa20f307e8b23b0a622525 (patch) | |
tree | 95ca50ead64917869335dbd68ce5028d68384288 /include/sys/arc.h | |
parent | 2fe5011008641d34d34ca9aabd27e2cfbf207e03 (diff) |
Illumos 4631 - zvol_get_stats triggering too many reads
4631 zvol_get_stats triggering too many reads
Reviewed by: Adam Leventhal <[email protected]>
Reviewed by: Sebastien Roy <[email protected]>
Reviewed by: Matt Ahrens <[email protected]>
Approved by: Dan McDonald <[email protected]>
References:
https://www.illumos.org/issues/4631
https://github.com/illumos/illumos-gate/commit/bbfa8ea
Ported-by: Boris Protopopov <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #2612
Closes #2480
Diffstat (limited to 'include/sys/arc.h')
-rw-r--r-- | include/sys/arc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sys/arc.h b/include/sys/arc.h index 8e0843418..6328392be 100644 --- a/include/sys/arc.h +++ b/include/sys/arc.h @@ -136,7 +136,6 @@ void arc_buf_info(arc_buf_t *buf, arc_buf_info_t *abi, int state_index); int arc_buf_size(arc_buf_t *buf); void arc_release(arc_buf_t *buf, void *tag); int arc_released(arc_buf_t *buf); -int arc_has_callback(arc_buf_t *buf); void arc_buf_sigsegv(int sig, siginfo_t *si, void *unused); void arc_buf_freeze(arc_buf_t *buf); void arc_buf_thaw(arc_buf_t *buf); @@ -159,7 +158,7 @@ void arc_remove_prune_callback(arc_prune_t *p); void arc_freed(spa_t *spa, const blkptr_t *bp); void arc_set_callback(arc_buf_t *buf, arc_evict_func_t *func, void *private); -int arc_buf_evict(arc_buf_t *buf); +boolean_t arc_clear_callback(arc_buf_t *buf); void arc_flush(spa_t *spa); void arc_tempreserve_clear(uint64_t reserve); |