forked from len0rd/rockbox
Remove I/O priority. It is harmful when used with the new file code.
HAVE_IO_PRIORITY was defined for native targets with dircache. It is already effectively disabled for the most part since dircache no longer lowers its thread's I/O priority. It existed primarily for the aforementioned configuration. Change-Id: Ia04935305397ba14df34647c8ea29c2acaea92aa
This commit is contained in:
parent
5d31d3c3bc
commit
5b08f1a5b9
9 changed files with 0 additions and 121 deletions
|
@ -470,15 +470,7 @@ static void load_codec(const struct codec_load_info *ev_data)
|
|||
/* Either not a valid handle or the buffer method failed */
|
||||
const char *codec_fn = get_codec_filename(data.afmt);
|
||||
if (codec_fn)
|
||||
{
|
||||
#ifdef HAVE_IO_PRIORITY
|
||||
buf_back_off_storage(true);
|
||||
#endif
|
||||
status = codec_load_file(codec_fn, &ci);
|
||||
#ifdef HAVE_IO_PRIORITY
|
||||
buf_back_off_storage(false);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
/* Types must agree */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue