Summary: | no timeout for the slave | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kiofuse | Reporter: | Christopher Yeleighton <giecrilj> |
Component: | general | Assignee: | a.saoutkin |
Status: | REPORTED --- | ||
Severity: | normal | CC: | aspotashev, fabian, kio-bugs-null |
Priority: | NOR | ||
Version First Reported In: | 5.0.1 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=291947 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Christopher Yeleighton
2023-01-02 22:27:11 UTC
kio-fuse could in theory set a timeout for certain requests, but it's hard to say what the timeout should be. Some requests should finish in <30s but some protocols (especially over network) can take longer. It's also not great to just report -ETIMEDOUT or even -EIO to applications, they're probably going to fail with an unnot helpful error message, just retry or worse, ignore the error... There's https://invent.kde.org/system/kio-fuse/-/merge_requests/56, which should make this more user friendly. With that, KIO jobs which take longer (>2s currently) are shown in Plasma and it's possible to cancel them. IMO in this particular case the audiocd:/ protocol could handle the timeout itself. (In reply to Fabian Vogt from comment #1) > IMO in this particular case the audiocd:/ protocol could handle the timeout > itself. The audiocd slave sort of can handle this because you can set the paranoia parameter to a lower value. But it is hardly discoverable and you have to unmount. I cannot imagine us telling a non-nerdy user to do that each time. By the time something hangs, it is already too late :-( (In reply to Christopher Yeleighton from comment #2) > (In reply to Fabian Vogt from comment #1) > > > IMO in this particular case the audiocd:/ protocol could handle the timeout > > itself. > > The audiocd slave sort of can handle this because you can set the paranoia > parameter to a lower value. But it is hardly discoverable and you have to > unmount. I cannot imagine us telling a non-nerdy user to do that each time. > By the time something hangs, it is already too late :-( Hm, maybe just use a better default value in kio_audiocd? (In reply to Fabian Vogt from comment #3) > Hm, maybe just use a better default value in kio_audiocd? This is a good idea in itself but we need to be safe and we want our users to feel safe. We cannot foresee any possible SNAFU in every possible slave. We need a safety switch, audio CD being only an example of what can happen. |