Diffusion Solid d735708ff11c

Update mount point after mount operations

Authored by davidedmundson on May 1 2018, 9:16 PM.

Description

Update mount point after mount operations

Summary:
The order of udisks evaluation has changed from:

call Mount
propertiesChanged
mount call returns

call Mount
mount call returns
propertiesChanged

The mount has finished, but the property is not yet updated.

Solid caches properties, updating them when they change. This worked
before but due to the re-ordering client code gets "setupDone" requests
the mount point gets an outdated version from the cache and we get
errors. Invalidating the cache causes us to round-trip to the udisks
daemon meaning we'll have the correct values.

BUG: 370975

Test Plan:
Diagnosed but with dbus-monitor trace
Asked someone on the bug report to test this

Reviewers: Plasma

Subscribers: Frameworks

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D12648

Details

Committed
davidedmundsonMay 2 2018, 12:48 PM
Differential Revision
D12648: Update mount point after mount operations
Parents
R245:796dea6c0440: Invalidate property cache when an interface is removed
Branches
Unknown
Tags
Unknown