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

Pass rate_limiter_priority through filter block reader functions to FS #10251

Closed
wants to merge 1 commit into from

Conversation

gitbw95
Copy link
Contributor

@gitbw95 gitbw95 commented Jun 24, 2022

Summary:
With #9996 , we can pass the rate_limiter_priority to FS for most cases. This PR is to update the code path for filter block reader.

Test Plan:
Current unit tests should pass.

@facebook-github-bot
Copy link
Contributor

@gitbw95 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@gitbw95 gitbw95 changed the title [WIP] Pass rate_limiter_priority through filter block reader functions to FS Pass rate_limiter_priority through filter block reader functions to FS Jun 24, 2022
Copy link
Contributor

@pdillinger pdillinger left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -454,12 +454,14 @@ class BlockBasedTable : public TableReader {
const bool no_io,
const SliceTransform* prefix_extractor,
GetContext* get_context,
BlockCacheLookupContext* lookup_context) const;
BlockCacheLookupContext* lookup_context,
Env::IOPriority rate_limiter_priority) const;
Copy link
Contributor

Choose a reason for hiding this comment

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

If we ever have more than two parameters relating to when & how to do I/O if needed (currently no_io and rate_limiter_priority), then I think it would be worth wrapping those into one bundled parameter. But two is OK.

@gitbw95 gitbw95 mentioned this pull request Jun 27, 2022
gitbw95 pushed a commit to gitbw95/rocksdb that referenced this pull request Jun 28, 2022
facebook#10251)

Summary:
With facebook#9996 , we can pass the rate_limiter_priority to FS for most cases. This PR is to update the code path for filter block reader.

Pull Request resolved: facebook#10251

Test Plan: Current unit tests should pass.

Reviewed By: pdillinger

Differential Revision: D37427667

Pulled By: gitbw95

fbshipit-source-id: 1ce5b759b136efe4cfa48a6b97e2f837ff087433
pdillinger pushed a commit that referenced this pull request Jun 28, 2022
#10251)

Summary:
With #9996 , we can pass the rate_limiter_priority to FS for most cases. This PR is to update the code path for filter block reader.

Pull Request resolved: #10251

Test Plan: Current unit tests should pass.

Reviewed By: pdillinger

Differential Revision: D37427667

Pulled By: gitbw95

fbshipit-source-id: 1ce5b759b136efe4cfa48a6b97e2f837ff087433
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants