Opened 19 years ago
Closed 19 years ago
#3237 closed enhancement (fixed)
use posix_fadvise for readahead buffer in ringbuffer
| Reported by: | anonymous | Owned by: | Janne Grunau |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.21 |
| Component: | mythtv | Version: | head |
| Severity: | low | Keywords: | readahead streaming |
| Cc: | Ticket locked: | no |
Description
In the file RingBuffer.c when the video files are opened the option O_STREAMING is included in the open parameters, O_STREAMING is obsolete under linux 2.6, the standard way of enabling the extra readahead buffer for sequentially read files is to use posix_fadvise.
Attachments (1)
Change History (3)
by , 19 years ago
| Attachment: | fadvise_patch.diff added |
|---|
comment:1 by , 19 years ago
| Milestone: | unknown → 0.21 |
|---|---|
| Owner: | changed from to |
| Version: | 0.20 → head |
comment:2 by , 19 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

(In [13221]) Closes #3237. use posix_fadvise instead of the obsolete O_STREAMING file open flag