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

Avoid extra name lookup #1044

Merged
merged 1 commit into from
Oct 28, 2024
Merged

Avoid extra name lookup #1044

merged 1 commit into from
Oct 28, 2024

Conversation

blt
Copy link
Collaborator

@blt blt commented Oct 17, 2024

What does this PR do?

This commit avoids an extra name lookup but using the name of an inode
as its key in the directory. This will be slightly complicated by
rotating files depending on how I do them but it is a win in terms
of code simplification now.

@blt blt marked this pull request as ready for review October 17, 2024 01:11
@blt blt requested a review from a team as a code owner October 17, 2024 01:11
@blt blt force-pushed the blt/allow_readers_to_read_consistently branch from 06b8ee6 to d165859 Compare October 22, 2024 23:51
@blt blt force-pushed the blt/avoid_extra_name_lookup branch from 3e3abe8 to df19761 Compare October 22, 2024 23:51
This was referenced Oct 22, 2024
@blt blt force-pushed the blt/allow_readers_to_read_consistently branch from d165859 to 7e4aed0 Compare October 23, 2024 23:54
@blt blt force-pushed the blt/avoid_extra_name_lookup branch from df19761 to eaf4a71 Compare October 23, 2024 23:54
@blt blt force-pushed the blt/allow_readers_to_read_consistently branch from 7e4aed0 to 54cf3ea Compare October 23, 2024 23:58
@blt blt force-pushed the blt/avoid_extra_name_lookup branch from eaf4a71 to 9b9a9b3 Compare October 23, 2024 23:58
@blt blt force-pushed the blt/allow_readers_to_read_consistently branch from 54cf3ea to ea176e5 Compare October 24, 2024 00:02
@blt blt force-pushed the blt/avoid_extra_name_lookup branch from 9b9a9b3 to 18666dd Compare October 24, 2024 00:02
@blt blt force-pushed the blt/allow_readers_to_read_consistently branch from ea176e5 to 207dd72 Compare October 24, 2024 00:10
@blt blt force-pushed the blt/avoid_extra_name_lookup branch from 18666dd to 1c58312 Compare October 24, 2024 00:10
@blt blt force-pushed the blt/allow_readers_to_read_consistently branch from 207dd72 to a03cff4 Compare October 24, 2024 00:20
@blt blt force-pushed the blt/avoid_extra_name_lookup branch from 1c58312 to f1182ba Compare October 24, 2024 00:20
@blt blt force-pushed the blt/allow_readers_to_read_consistently branch from a03cff4 to 5424a84 Compare October 24, 2024 00:26
@blt blt force-pushed the blt/avoid_extra_name_lookup branch from f1182ba to 4bae0c5 Compare October 24, 2024 00:26
This was referenced Oct 25, 2024
@blt blt force-pushed the blt/allow_readers_to_read_consistently branch from d62fce9 to 0e316da Compare October 28, 2024 16:26
@blt blt force-pushed the blt/avoid_extra_name_lookup branch from f029c66 to 762052b Compare October 28, 2024 16:26
@blt blt force-pushed the blt/allow_readers_to_read_consistently branch from 0e316da to 4fa0e24 Compare October 28, 2024 16:29
@blt blt force-pushed the blt/avoid_extra_name_lookup branch from 762052b to 23f5cf9 Compare October 28, 2024 16:30
@blt blt force-pushed the blt/allow_readers_to_read_consistently branch 2 times, most recently from 68a0760 to 5501775 Compare October 28, 2024 17:16
@blt blt force-pushed the blt/avoid_extra_name_lookup branch from 23f5cf9 to 41ba656 Compare October 28, 2024 17:16
@blt blt force-pushed the blt/allow_readers_to_read_consistently branch from 5501775 to ffae4d1 Compare October 28, 2024 17:46
@blt blt force-pushed the blt/avoid_extra_name_lookup branch from 41ba656 to 42034fc Compare October 28, 2024 17:46
@blt blt changed the base branch from blt/allow_readers_to_read_consistently to graphite-base/1044 October 28, 2024 18:23
@blt blt force-pushed the blt/avoid_extra_name_lookup branch from 42034fc to 10beb10 Compare October 28, 2024 18:23
@blt blt changed the base branch from graphite-base/1044 to main October 28, 2024 18:23
This commit avoids an extra name lookup but using the name of an inode
as its key in the directory. This will be slightly complicated by
rotating files depending on how I do them but it is a win in terms
of code simplification now.

Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
@blt blt force-pushed the blt/avoid_extra_name_lookup branch from 10beb10 to 278aaf9 Compare October 28, 2024 18:24
@blt blt merged commit 9479360 into main Oct 28, 2024
16 checks passed
Copy link
Collaborator Author

blt commented Oct 28, 2024

Merge activity

  • Oct 28, 3:00 PM EDT: A user merged this pull request with Graphite.

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.

2 participants