Bug 115752
Summary: | readahead should support directory recursion and a -f filelist option and document them via a man page | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Richard Lloyd <rkl> |
Component: | kernel-utils | Assignee: | Dave Jones <davej> |
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | pfrields |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-11-19 03:34:44 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
Richard Lloyd
2004-02-15 18:43:13 UTC
recursing through directories doesn't make any sense, as theres no guarantee we want to read _every_ file in the sub-tree into cache. as for the exec'ing 4 times - here, strace shows exactly one call to /usr/sbin/readahead It looks like /etc/init.d/readahead has been (thankfully) revamped in Fedora Core 2 and 3 and now no longer runs the readahead binary multiple times. It has, however, been split into two separate scripts in /etc/init.d - readahead and readahead_early. The only difference is their position in the boot sequence and that one uses /etc/readahead.files and the other uses /etc/readahead.early.files. However, some of my issues still remain - /etc/readahead.files is now 43K (!!) long and contains 943 files. It seems to me that the ability to specify wildcards and/or directories would be very useful to cut down the size of /etc/readahead.files and also make it more maintainable. It's also lucky that bash has a very large max command length (250K?) otherwise the `cat /etc/readahead.files` could have run into trouble (hence my plea for a -f option or maybe it could read from stdin if no file is specified?). |