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

file: use the inode reference for the parent directory. #262

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

Gottox
Copy link
Owner

@Gottox Gottox commented Jun 7, 2024

This change removes the dir_inode field from the SqshFile structure and replaces it with a parent_inode_ref field. This field is used to store the inode reference of the parent directory. This reduces the number of inode lookups required to resolve the parent directory of a file.

This change removes the `dir_inode` field from the `SqshFile` structure
and replaces it with a `parent_inode_ref` field. This field is used to
store the inode reference of the parent directory. This reduces the
number of inode lookups required to resolve the parent directory of a
file.
@Gottox Gottox force-pushed the improve/parent_link_is_ref branch from d6c2cae to 1581a8e Compare June 7, 2024 13:08
Copy link

sonarcloud bot commented Jun 7, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@Gottox Gottox merged commit dd5cc41 into main Jun 7, 2024
16 checks passed
@Gottox Gottox deleted the improve/parent_link_is_ref branch June 7, 2024 13:17
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.

1 participant