Bug 1301734
| Summary: | cachefilesd spins in tight loop trying to cull empty cache | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Steve Dickson <steved> |
| Component: | cachefilesd | Assignee: | David Howells <dhowells> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 23 | CC: | aglotov, caslivkoff, coughlan, cww, dhowells, eguan, fs-qe, igeorgex, jbainbri, jiyin, kgraham, mmalhotr, mreznik, redhat, steved, yanwang |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | cachefilesd-0.10.9-1.fc23 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1301733 | Environment: | |
| Last Closed: | 2016-02-29 22:23:50 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: | |||
| Bug Depends On: | 485314, 1109640, 1301733, 1356085 | ||
| Bug Blocks: | 1159933, 1172231, 1268411 | ||
cachefilesd-0.10.7-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-04fbf81f38 cachefilesd-0.10.7-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-04fbf81f38 Nice. I'm currently on Debian/Jessie (cachefilesd 0.10.5) and have the same issue, so hopefully this fix will trickle down to other distributions as well. (In reply to Christian Kujau from comment #4) > Nice. I'm currently on Debian/Jessie (cachefilesd 0.10.5) and have the same > issue, so hopefully this fix will trickle down to other distributions as > well. Note that there's also a kernel patch which will make this patch operate to its full potential. That's queued for the next merge window. cachefilesd-0.10.9-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-eead0f3cc5 cachefilesd-0.10.9-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-eead0f3cc5 cachefilesd-0.10.9-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. |
This will be alleviated in 0.10.7 by the following means: if there was nothing found that can be culled then the scanning for cullable objects will be suspended. A kernel patch has been proposed for the 4.6 kernel that will allow the kernel to tell cachefilesd if any objects the kernel currently has open (and are therefore unavailable for culling) have been closed. If this information is available, scanning will be resumed when sufficient objects have been released - otherwise scanning will be resumed after 30 seconds. The kernel patch is here: https://www.redhat.com/archives/linux-cachefs/2016-January/msg00014.html The cachefilesd patch that uses it is committed upstream here: http://git.kernel.org/cgit/linux/kernel/git/dhowells/cachefilesd.git/commit/?id=4f881c327573cce04977c116330d0a9e05366c60