diff options
author | Ying Zhu <[email protected]> | 2013-06-29 15:03:49 +0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2013-07-09 11:53:28 -0700 |
commit | b4f7f105275d996fbcb6abd65760307d2153a89b (patch) | |
tree | 4f3c05d269ebd8f97b844207de648804175bd182 /include | |
parent | 8e07b99b2f5e1e281af72e07dee87301c8872f56 (diff) |
Improve code in arc_buf_remove_ref
When we remove references of arc bufs in the arc_anon state we
needn't take its header's hash_lock, so postpone it to where we
really need it to avoid unnecessary invocations of function buf_hash.
Signed-off-by: Ying Zhu <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #1557
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions