Bug 23926 - Error creating partition: timeout (10s) waiting for partition to show up
Summary: Error creating partition: timeout (10s) waiting for partition to show up
Status: RESOLVED FIXED
Alias: None
Product: udisks
Classification: Unclassified
Component: operations (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: David Zeuthen (not reading bugmail)
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-14 05:26 UTC by Evan
Modified: 2009-09-18 15:20 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Evan 2009-09-14 05:26:43 UTC
The partition_create_completed_cb callback function in devkit-disks-device.c can be called after the ADDED signal is triggered.  The gobject timeout it creates will then never call its callback function (partition_create_device_added_cb), and the timeout error will be called, despite the partition having been created without issue.
Comment 1 David Zeuthen (not reading bugmail) 2009-09-18 14:55:09 UTC
(In reply to comment #0)
> The partition_create_completed_cb callback function in devkit-disks-device.c
> can be called after the ADDED signal is triggered.  The gobject timeout it
> creates will then never call its callback function
> (partition_create_device_added_cb), and the timeout error will be called,
> despite the partition having been created without issue.

Yeah, we should check if the newly created device is already there.
Comment 2 David Zeuthen (not reading bugmail) 2009-09-18 15:20:08 UTC
Fixed with this commit

http://cgit.freedesktop.org/DeviceKit/DeviceKit-disks/commit/?id=5ffd39cd765bb1e9da037c462d5c63a0fce3104d


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.