]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Fix bug #10096 (ceph-disk umount race condition) 2947/head
authorBlaine Gardner <blaine.gardner@hp.com>
Mon, 17 Nov 2014 23:17:15 +0000 (17:17 -0600)
committerBlaine Gardner <blaine.gardner@hp.com>
Mon, 17 Nov 2014 23:17:15 +0000 (17:17 -0600)
commitde547c990ca63499fbc0bf21bee34e7d2cd0cea6
tree04095f39a6af8667c181067634043cece93301d9
parent8144ab0c233710aa1da44efd2efb9871c35d34ac
Fix bug #10096 (ceph-disk umount race condition)

Bug: http://tracker.ceph.com/issues/10096

Brief: Unmounting temporary mount point failed due to file being 'busy'.
Root cause could not be easily determined due to timing variances caused
by debug attempts. Race condition exists.

Solution: Implement a retry with incremental backoff as a viable
workaround. This workaround is okay because (1) Finding the root cause
would take a not insignificant amount of time/effort. (2) The workaround
is a more general fix for any process that might cause the exhibited
behavior.

Signed-off-by: Blaine Gardner <blaine.gardner@hp.com>
src/ceph-disk