[PATCH 1 of 2] Mp4: fixed directio usage with open_file_cache

2025-05-14 Thread Maxim Dounin
# HG changeset patch # User Maxim Dounin # Date 1747276031 -10800 # Thu May 15 05:27:11 2025 +0300 # Node ID 6f0485388f31ead0177fd294f4883b59dfb1dea7 # Parent 4c872940b19b8181d791eb80c17110364150af9d Mp4: fixed directio usage with open_file_cache. With open_file_cache, if directio is enable

[PATCH 2 of 2] Mp4: of.directio_off flag to avoid unneeded syscalls

2025-05-14 Thread Maxim Dounin
# HG changeset patch # User Maxim Dounin # Date 1747276516 -10800 # Thu May 15 05:35:16 2025 +0300 # Node ID abc30f01c381567949fcb62c8e3ce04f47cf7198 # Parent 6f0485388f31ead0177fd294f4883b59dfb1dea7 Mp4: of.directio_off flag to avoid unneeded syscalls. When set, ngx_open_cached_file() won'

[PATCH] Cache: directio support when reading cache files

2025-05-14 Thread Maxim Dounin
# HG changeset patch # User Maxim Dounin # Date 1747277255 -10800 # Thu May 15 05:47:35 2025 +0300 # Node ID 579fd22909a485c48d0780e764c02af0c44c3666 # Parent abc30f01c381567949fcb62c8e3ce04f47cf7198 Cache: directio support when reading cache files. diff --git a/src/http/ngx_http_file_cache

[PATCH] Tests: mp4 tests with directio and open_file_cache

2025-05-14 Thread Maxim Dounin
# HG changeset patch # User Maxim Dounin # Date 1747275653 -10800 # Thu May 15 05:20:53 2025 +0300 # Node ID c5566713e4bed939c0f2bc4de443fbe49ae212c4 # Parent 0a913a10945b996bcdac073467bf7bc957ef716e Tests: mp4 tests with directio and open_file_cache. diff --git a/mp4_directio.t b/mp4_direc