Changeset 2cc4f3c in rtems for cpukit/libblock


Ignore:
Timestamp:
Jul 3, 2012, 8:20:58 AM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
5b29a08, 90bd18e, d5549f4a
Parents:
71092f7
git-author:
Sebastian Huber <sebastian.huber@…> (07/03/12 08:20:58)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/03/12 08:25:12)
Message:

libblock: Move read-ahead trigger check

In case the read-ahead task has a higher priority than the reading task,
this ensures that the read-ahead request is issued after the read miss
is serviced.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libblock/src/bdbuf.c

    r71092f7 r2cc4f3c  
    20842084              media_block + dd->start, block, (unsigned) dd->dev);
    20852085
    2086     rtems_bdbuf_check_read_ahead_trigger (dd, block);
    20872086    bd = rtems_bdbuf_get_buffer_for_access (dd, media_block);
    20882087    switch (bd->state)
     
    21152114        break;
    21162115    }
     2116
     2117    rtems_bdbuf_check_read_ahead_trigger (dd, block);
    21172118  }
    21182119
Note: See TracChangeset for help on using the changeset viewer.