Opened 14 years ago

Closed 14 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


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)

fadvise_patch.diff (530 bytes) - added by anonymous 14 years ago.

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by anonymous

Attachment: fadvise_patch.diff added

comment:1 Changed 14 years ago by Janne Grunau

Milestone: unknown0.21
Owner: changed from Isaac Richards to Janne Grunau
Version: 0.20head

comment:2 Changed 14 years ago by Janne Grunau

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.