Bug 23926

Summary: Error creating partition: timeout (10s) waiting for partition to show up
Product: udisks Reporter: Evan <evand>
Component: operationsAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

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.