Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 312503 Details for
Bug 456447
udev vol_id probe of passive/unreadable devices causes slow bootup
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
vol_id patch for udev-095-14.16
udev-095-volid_probe.patch (text/plain), 1.11 KB, created by
John Ruemker
on 2008-07-23 18:25:47 UTC
(
hide
)
Description:
vol_id patch for udev-095-14.16
Filename:
MIME Type:
Creator:
John Ruemker
Created:
2008-07-23 18:25:47 UTC
Size:
1.11 KB
patch
obsolete
>--- udev-095/extras/volume_id/lib/volume_id.c.orig 2008-07-23 14:06:11.000000000 -0400 >+++ udev-095/extras/volume_id/lib/volume_id.c 2008-07-23 14:07:43.000000000 -0400 >@@ -34,6 +34,13 @@ > return; > } > >+static int device_is_readable(struct volume_id *id) >+{ >+ if (volume_id_get_buffer(id, 0x00, 0x200) != NULL) >+ return 1; >+ return 0; >+} >+ > volume_id_log_fn_t volume_id_log_fn = default_log; > > int volume_id_probe_raid(struct volume_id *id, uint64_t off, uint64_t size) >@@ -41,6 +48,9 @@ > if (id == NULL) > return -EINVAL; > >+ if (!device_is_readable(id)) >+ return -1; >+ > info("probing at offset 0x%llx, size 0x%llx", > (unsigned long long) off, (unsigned long long) size); > >@@ -99,6 +109,9 @@ > if (id == NULL) > return -EINVAL; > >+ if (!device_is_readable(id)) >+ return -1; >+ > info("probing at offset 0x%llx, size 0x%llx", > (unsigned long long) off, (unsigned long long) size); > >@@ -190,6 +203,9 @@ > if (id == NULL) > return -EINVAL; > >+ if (!device_is_readable(id)) >+ return -1; >+ > if (volume_id_probe_raid(id, off, size) == 0) > return 0; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 456447
: 312503