Skip to content
This repository was archived by the owner on Feb 26, 2020. It is now read-only.

Vnode improvements #493

Closed
wants to merge 2 commits into from
Closed

Vnode improvements #493

wants to merge 2 commits into from

Conversation

ryao
Copy link
Contributor

@ryao ryao commented Nov 5, 2015

The vnode code has redundant mutexes and atomics.

ryao added 2 commits November 5, 2015 12:20
This lock is only used on creation and does not mutually exclude
anything. It is unnecessary overhead.

Signed-off-by: Richard Yao <ryao@gentoo.org>
There is no need to use atomic operations on ->f_ref when it is
protected by a spinlock.

Signed-off-by: Richard Yao <ryao@gentoo.org>
@behlendorf
Copy link
Contributor

Since this is just cleanup which shouldn't have any real impact on performance and this is all code I'd like to return (see #497) I'd prefer not to merge this.

@behlendorf behlendorf closed this Dec 3, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants