Opened 17 years ago
Closed 17 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)
Changed 17 years ago by
Attachment: | fadvise_patch.diff added |
---|
comment:1 Changed 17 years ago by
Milestone: | unknown → 0.21 |
---|---|
Owner: | changed from Isaac Richards to Janne Grunau |
Version: | 0.20 → head |
comment:2 Changed 17 years ago by
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