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

curvefs/client: remove unused setting fuseMaxSize #2497

Merged
merged 1 commit into from
May 24, 2023

Conversation

Ziy1-Tan
Copy link
Contributor

@Ziy1-Tan Ziy1-Tan commented May 22, 2023

What problem does this PR solve?

Depends on: #2492

Problem Summary: after that, fuseMaxSize is not needed anymore

What is changed and how it works?

What's Changed:

How it Works:

Side effects(Breaking backward compatibility? Performance regression?):

Check List

  • Relevant documentation/comments is changed or added
  • I acknowledge that all my contributions will be made under the project's license

@Ziy1-Tan Ziy1-Tan requested a review from wuhongsong May 22, 2023 10:11
@Ziy1-Tan Ziy1-Tan changed the title [Refactor]: fuseMaxSize is not needed anymore Refactor: fuseMaxSize is not needed anymore May 22, 2023
@Ziy1-Tan
Copy link
Contributor Author

cicheck

@Ziy1-Tan Ziy1-Tan force-pushed the patch/cache_conf branch from 8a2d3c1 to 0533eab Compare May 22, 2023 12:22
@Ziy1-Tan
Copy link
Contributor Author

cicheck

2 similar comments
@Ziy1-Tan
Copy link
Contributor Author

cicheck

@Ziy1-Tan
Copy link
Contributor Author

cicheck

Copy link
Contributor

@aspirer aspirer left a comment

Choose a reason for hiding this comment

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

thx, LGTM!

fsCacheManager_->DataCacheByteDec(length);
if (s3Metric_.get() != nullptr) {
CollectMetrics(&s3Metric_->adaptorWrite, ret, start);
s3Metric_->writeSize.set_value(length);
}
VLOG(6) << "write end inodeId:" << inodeId << ",ret:" << ret
<< ", pendingReq_ is: " << pendingReq_;
VLOG(6) << "write end inodeId:" << inodeId << ",ret:" << ret;
Copy link
Contributor

Choose a reason for hiding this comment

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

VLOG(6) << "write end inodeId: " << inodeId << ", ret: " << ret; add some whitespace

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

@Ziy1-Tan Ziy1-Tan force-pushed the patch/cache_conf branch from 0533eab to ad35d10 Compare May 23, 2023 13:37
@Ziy1-Tan Ziy1-Tan changed the title Refactor: fuseMaxSize is not needed anymore curvefs/client: remove unused setting fuseMaxSize May 23, 2023
@Ziy1-Tan
Copy link
Contributor Author

cicheck

1 similar comment
@Ziy1-Tan
Copy link
Contributor Author

cicheck

Copy link
Contributor

@aspirer aspirer left a comment

Choose a reason for hiding this comment

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

LGTM!

@wuhongsong wuhongsong merged commit f07a85e into opencurve:master May 24, 2023
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