Bug 430768
Summary: | opendir / __alloc_dir tries to malloc st_blksize; may fail | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Eric Sandeen <esandeen> |
Component: | glibc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | drepper |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-04-10 10:04:59 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Eric Sandeen
2008-01-29 18:20:56 UTC
And so will many other apps do. Using such huge preferred IO size is not very wise. Agreed, and perhaps even if reporting large IO sizes for files, the fs should report something smaller for directories. But in any case, do you think that glibc (and other apps...) should fall back to smaller sizes if allocation fails? I've checked in upstream a patch to try a possibly smaller allocation if the size provided by st_blksize couldn't be fulfilled. Should be in glibc-2.7.90-14 |