Bug 682018
Summary: | vgs stat()s every file and directory in /dev on boot | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lennart Poettering <lpoetter> |
Component: | lvm2 | Assignee: | Peter Rajnoha <prajnoha> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 15 | CC: | agk, bmarzins, bmr, dwysocha, heinzm, jonathan, lvm-team, mbroz, msnitzer, prajnoha, prockai, zkabelac |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-03-08 14:03:30 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
Lennart Poettering
2011-03-03 22:23:00 UTC
yes - true - I've also noticed this one - when I use /dev/shm as a temporary ram storage. This will be fixed. We need to use regex blacklisting sooner also for stating dirs in /dev No, please do not use "regex blacklisting". Use a clean a proper API, use libudev. And do not recursively iterate through /dev. Using "regex blacklisting" is just a bad workaround on top of something that is already ugly. Couple solutions are under discussion - sometime we decide to provide quick hack to cover the biggest problem and proper solution will takes it's time. The good solution must work for everyone and must not break any previous functionality. One of the evaluated solution is of course the usage of libudev enumeration API. We have a simple patch that uses libudev to obtain the list of block devices. The patch is under review. that's good news! thanks! When we're at it, we're also trying to recognize LVM2 membership based on blkid info exported in udev db which could simplify the filtering of unsuitable devices (mainly in situation when there are many of them in the system). If this proves to be working fine, we'll attach this patch to the original one. Reviewing, testing... The original patch is upstream now. Though the other filtering optimisation mentioned above is not included yet (but it may be included later, we'll see). The problem reported in this bug report should be resolved. There's a new setting in lvm.conf called 'obtain_device_list_from_udev' to enable or disable this feature (it's enabled by default). I don't think we'll do a rebase for F15 at this moment, this feature is available on F16+ (lvm2 v2.02.85+). Setting closed/nextrelease. |