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

cache: also commit current region for internal IO #308

Merged
merged 1 commit into from
Feb 25, 2022
Merged

cache: also commit current region for internal IO #308

merged 1 commit into from
Feb 25, 2022

Conversation

changweige
Copy link
Contributor

Skip committing to region for internal IO is causing
discontinuous region commision since an intermediate chunk
is skipped from merged requet with many continuous chunks.

Signed-off-by: Changwei Ge chge@linux.alibaba.com

@changweige changweige changed the title cache: also commit to cache region for internal IO cache: also commit current region for internal IO Feb 23, 2022
storage/src/cache/filecache/cache_entry.rs Outdated Show resolved Hide resolved
storage/src/cache/filecache/cache_entry.rs Show resolved Hide resolved
storage/src/cache/filecache/cache_entry.rs Show resolved Hide resolved
storage/src/cache/filecache/cache_entry.rs Outdated Show resolved Hide resolved
Copy link
Member

@bergwolf bergwolf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall lgtm. Just a few minor comments.

storage/src/cache/filecache/cache_entry.rs Outdated Show resolved Hide resolved
storage/src/cache/filecache/cache_entry.rs Outdated Show resolved Hide resolved
storage/src/cache/filecache/cache_entry.rs Outdated Show resolved Hide resolved
Skipping committing to region for internal IO is causing
discontinuous region commision since an intermediate chunk
is skipped from merged request with many continuous chunks.

Signed-off-by: Changwei Ge <chge@linux.alibaba.com>
Copy link
Member

@bergwolf bergwolf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jiangliu jiangliu merged commit 52cd50a into dragonflyoss:master Feb 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants