http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c35
--- Comment #35 from Petr Uzel 2010-01-25 14:46:21 UTC ---
I've implemented a patch that retries every BLKPG_DEL_PARTITION after a 1s
sleep if the ioctl returns EBUSY (which either means the partition is mounted
or something, like hal, has opened the partition). The drawback is that syncing
kernel view of partition table will take longer on disks where some of the
partitions are mounted (1s for every mounted partition) [*]. If nobody objects,
I will push this fix tomorrow.
[*] Checking whether the partition is mounted (to avoid unnecessary sleeping)
is not an option because it would require big code changes I don't want to do
in maintenance update.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.