FS: SyncAccessHandle should do all IO off the worker thread
Categories
(Core :: DOM: File, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox110 | --- | fixed |
People
(Reporter: janv, Assigned: janv)
References
Details
Attachments
(15 files, 1 obsolete file)
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details |
Bug 1789590 is going to use a sync IPC message for proxying QuotaObject::MaybeUpdateSize
to the parent process (the sync IPC will eventually get eliminated in future). Doing sync IPC on the main thread or on the PBackground thread or a DOM worker thread is not desired so we need to move all IO off the worked thread. We already do reads and writes off the worker thread, but there are other methods which do IO directly on the worker thread, including the close operation.
The close operation is a bit tricky, because if we move the IO for it off the worker thread, close()
can't be sync anymore and we need to prevent worker shutdown until close is actually finished using StrongWorkerRef
.
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Depends on D163559
Assignee | ||
Comment 3•2 years ago
|
||
Depends on D163562
Assignee | ||
Comment 4•2 years ago
|
||
Depends on D163563
Assignee | ||
Comment 5•2 years ago
|
||
Depends on D163564
Assignee | ||
Comment 6•2 years ago
|
||
Depends on D163559
Assignee | ||
Comment 7•2 years ago
|
||
Depends on D163565
Assignee | ||
Comment 8•2 years ago
|
||
Depends on D163842
Assignee | ||
Comment 9•2 years ago
|
||
Depends on D163937
Assignee | ||
Comment 10•2 years ago
|
||
Depends on D163938
Assignee | ||
Comment 11•2 years ago
|
||
Depends on D163939
Assignee | ||
Comment 12•2 years ago
|
||
Depends on D163940
Assignee | ||
Comment 13•2 years ago
|
||
This is needed to prevent build errors when AsyncCopy is called inside of a
lambda function.
Depends on D163941
Assignee | ||
Comment 14•2 years ago
|
||
Depends on D163942
Assignee | ||
Comment 15•2 years ago
|
||
Depends on D163943
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 16•2 years ago
|
||
Depends on D163563
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 17•2 years ago
|
||
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 18•2 years ago
|
||
Comment 19•2 years ago
|
||
bugherder |
Comment 20•2 years ago
|
||
Comment 21•2 years ago
|
||
Backed out for causing worker related failures.
- Backout link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-TIMEOUT | /xhr/xmlhttprequest-timeout-worker-synconworker.html?timeout hit before load | expected OK
Updated•2 years ago
|
Comment 22•2 years ago
|
||
Comment 23•2 years ago
|
||
bugherder |
Assignee | ||
Updated•2 years ago
|
Comment 24•2 years ago
|
||
Comment 25•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1486ec3ed952
https://hg.mozilla.org/mozilla-central/rev/e34378476209
https://hg.mozilla.org/mozilla-central/rev/a784ec790ea5
https://hg.mozilla.org/mozilla-central/rev/0ba70d490377
https://hg.mozilla.org/mozilla-central/rev/da468b3c44d0
https://hg.mozilla.org/mozilla-central/rev/4cec2499b6e9
https://hg.mozilla.org/mozilla-central/rev/e7809a501f21
https://hg.mozilla.org/mozilla-central/rev/08f90593777f
https://hg.mozilla.org/mozilla-central/rev/8dbe876aeb90
https://hg.mozilla.org/mozilla-central/rev/b0354e926ca9
https://hg.mozilla.org/mozilla-central/rev/2165493fffb7
https://hg.mozilla.org/mozilla-central/rev/29757b4ea091
https://hg.mozilla.org/mozilla-central/rev/020dd83e31e9
Description
•