D26407: KFileItem: improve isSlow to never block, make SkipMimeTypeFromContent skip only network fs

Nathaniel Graham noreply at phabricator.kde.org
Sat Jan 4 02:27:07 GMT 2020


ngraham added reviewers: broulik, dfaure.
ngraham added inline comments.

INLINE COMMENTS

> kfileitem.cpp:47
> +/**
> + * A coche of currently mounted filesystems
> + */

cache

> kfileitem.cpp:1245
>  
> -    if (d->m_bSkipMimeTypeFromContent) {
> +    // avoid potential bloqing stat on network mount
> +    if (d->m_bSkipMimeTypeFromContent && d->isSlow()) {

blocking

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D26407

To: meven, #frameworks, ngraham, broulik, dfaure
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200104/1a6e32bc/attachment.html>


More information about the Kde-frameworks-devel mailing list