Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os/bluestore: insert new onode to the front position of onode LRU #7492

Merged
merged 1 commit into from Feb 4, 2016

Conversation

jjhuo
Copy link
Contributor

@jjhuo jjhuo commented Feb 3, 2016

When new added onode comes, it should go to the front of the LRU,
since it's least recently used.

Signed-off-by: Jianjian Huo samuel.huo@gmail.com

When new added onode comes, it should go to the front of the LRU,
since it's least recently used.

Signed-off-by: Jianjian Huo <samuel.huo@gmail.com>
@xiexingguo
Copy link
Member

Well, I understand it really relies on the internal lookup and touch combination to move them front:-)

liewegas added a commit that referenced this pull request Feb 4, 2016
os/bluestore: insert new onode to the front position of onode LRU

Reviewed-by: Sage Weil <sage@redhat.com>
@liewegas liewegas merged commit bb69173 into ceph:master Feb 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants