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

Allow to avoid expensive statfs call in disk_partitions. #2110

Closed
wants to merge 1 commit into from

Conversation

gozdal
Copy link

@gozdal gozdal commented May 31, 2022

Summary

  • OS: Linux
  • Bug fix: yes
  • Type: performance
  • Fixes: 2109

Description

Allow disabling expensive fetching of maxfile and maxpath in disk_partitions.

Signed-off-by: gozdal <gozdal@gmail.com>
@gozdal
Copy link
Author

gozdal commented Aug 5, 2022

@giampaolo can I do something to help getting this merged?

@giampaolo
Copy link
Owner

Closing as I'm going to remove maxfile / maxpath as per my previous comment: #2133 (comment).

@giampaolo giampaolo closed this Oct 18, 2022
@ofek
Copy link
Contributor

ofek commented Apr 4, 2024

Did those ever get removed?

@giampaolo
Copy link
Owner

maxfile and maxpath fields were remove from the namedtuple returned by disk_partitions() in #2405. This will be available in release 6.0.0.

@ofek
Copy link
Contributor

ofek commented Apr 17, 2024

Awesome, thanks! Do you know when that might be released?

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.

[Linux] performance regression for disk_partitions
3 participants