diff options
author | Christian Mauderer <christian.mauderer@embedded-brains.de> | 2021-01-19 15:33:35 +0100 |
---|---|---|
committer | Christian Mauderer <christian.mauderer@embedded-brains.de> | 2021-03-26 14:25:38 +0100 |
commit | 6ae79e6df6fbc89ffbd6badb3f84d6a2b513fe83 (patch) | |
tree | 370419dc3ec031519955f899069222fbd138b91b /testsuites/fstests | |
parent | gen_uuid.c: Revert previous patch (597e4f476568a225d14dfaff02074cf269ad62ac) (diff) | |
download | rtems-6ae79e6df6fbc89ffbd6badb3f84d6a2b513fe83.tar.bz2 |
libblock: Add rtems_bdbuf_peek()
Adds a peek function that allows (for example) a file system to suggest
the next blocks that should be used for read ahead. This can increase
the read speed of fragmented files.
Update #3689
Diffstat (limited to 'testsuites/fstests')
-rw-r--r-- | testsuites/fstests/fsdosfswrite01/init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuites/fstests/fsdosfswrite01/init.c b/testsuites/fstests/fsdosfswrite01/init.c index e5d8e5d6dd..64b43b7919 100644 --- a/testsuites/fstests/fsdosfswrite01/init.c +++ b/testsuites/fstests/fsdosfswrite01/init.c @@ -129,6 +129,7 @@ static void test_normal_file_write( .read_hits = 0, .read_misses = 0, .read_ahead_transfers = 0, + .read_ahead_peeks = 0, .read_blocks = 0, .read_errors = 0, .write_transfers = 1, @@ -139,6 +140,7 @@ static void test_normal_file_write( .read_hits = 3, .read_misses = 2, .read_ahead_transfers = 0, + .read_ahead_peeks = 0, .read_blocks = 2, .read_errors = 0, .write_transfers = 1, @@ -149,6 +151,7 @@ static void test_normal_file_write( .read_hits = 3, .read_misses = 3, .read_ahead_transfers = 0, + .read_ahead_peeks = 0, .read_blocks = 3, .read_errors = 0, .write_transfers = 1, |