Changeset f29d969 in rtems for cpukit/libblock


Ignore:
Timestamp:
Jul 2, 2012, 2:06:10 PM (8 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
1fb0e2d, c8a86d4d
Parents:
f12249f
git-author:
Sebastian Huber <sebastian.huber@…> (07/02/12 14:06:10)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/02/12 14:15:54)
Message:

libblock: Fix read-ahead trigger and next update

File:
1 edited

Legend:

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

    rf12249f rf29d969  
    30283028          {
    30293029            transfer_count = max_transfer_count;
    3030             dd->read_ahead.trigger += max_transfer_count / 2 + 1;
    3031             dd->read_ahead.next += max_transfer_count;
     3030            dd->read_ahead.trigger = block + (transfer_count + 1) / 2;
     3031            dd->read_ahead.next = block + transfer_count;
    30323032          }
    30333033          else
Note: See TracChangeset for help on using the changeset viewer.