jellyfin/MediaBrowser.Providers
gnattu 644df3585b Use WriteThrough for ImageSaver
When writing an image to the disk, we use the completion of the async task as a signal indicating the completion of a write operation. However, this approach may not be entirely accurate, as the operating system can optimize IO operations by writing data to an intermediate cache instead of directly to the disk before completing the operation. This optimization can lead to a data race for our scanner, as subsequent tasks such as blurhash computation may attempt to read a file that has not yet been flushed from the volatile cache. Consequently, the data within the file becomes invalid, causing the blurhash computation task to fail.

Use WriteThrough mode to ensure the data is actual on disk before return to resolve this issue.
2025-01-24 07:54:22 +08:00
..
Books Pull default MergeData implementation to parent 2021-12-28 15:12:09 +01:00
BoxSets Fix metadata merge for BoxSets (#12583) 2024-09-20 07:46:44 -06:00
Channels Pull default MergeData implementation to parent 2021-12-28 15:12:09 +01:00
Chapters Address comments 2020-04-01 19:05:41 +02:00
Folders Pull default MergeData implementation to parent 2021-12-28 15:12:09 +01:00
Genres Pull default MergeData implementation to parent 2021-12-28 15:12:09 +01:00
LiveTv Pull default MergeData implementation to parent 2021-12-28 15:12:09 +01:00
Lyric Merge pull request #12548 from Bond-009/utf8bom 2024-09-06 21:56:31 +02:00
Manager Use WriteThrough for ImageSaver 2025-01-24 07:54:22 +08:00
MediaInfo Don't fall back to ffprobe results for multi-value audio tags 2024-12-08 10:56:05 +08:00
Movies Backport pull request #11743 from jellyfin/release-10.9.z 2024-06-01 18:40:56 -04:00
Music Backport pull request #11743 from jellyfin/release-10.9.z 2024-06-01 18:40:56 -04:00
MusicGenres Pull default MergeData implementation to parent 2021-12-28 15:12:09 +01:00
People Pull default MergeData implementation to parent 2021-12-28 15:12:09 +01:00
Photos Pull default MergeData implementation to parent 2021-12-28 15:12:09 +01:00
Playlists Backport pull request #12053 from jellyfin/release-10.9.z 2024-06-24 20:29:01 -04:00
Plugins Fix TMDB import failing when no IMDB ID is set for a movie (#12891) 2024-10-28 07:29:15 -06:00
Properties Move non-jellyfin extensions to separate project 2021-06-19 18:04:46 +02:00
Studios Pull default MergeData implementation to parent 2021-12-28 15:12:09 +01:00
Subtitles Fix subtitle saving if file already exists (#11310) 2024-05-05 08:22:34 -06:00
Trickplay Tweak Trickplay migration for speed (#12643) 2024-09-23 09:09:23 -06:00
TV Fix missing episode removal (#13218) 2024-12-31 09:09:42 -07:00
Videos Pull default MergeData implementation to parent 2021-12-28 15:12:09 +01:00
Years Pull default MergeData implementation to parent 2021-12-28 15:12:09 +01:00
MediaBrowser.Providers.csproj Migrate to z440.atl instead of TagLib-Sharp 2024-07-29 06:21:47 +08:00