summaryrefslogtreecommitdiffstats
path: root/tests/expected/fincore
diff options
context:
space:
mode:
authorRuediger Meier2017-04-06 09:56:01 +0200
committerKarel Zak2017-04-06 12:30:08 +0200
commit0614fe48bc7db29f204321cd18592958d673c40f (patch)
treec4f90240eddfb2fad6a3ae28d9e6036bcf649729 /tests/expected/fincore
parentlibfdisk: (gpt) care about SSIZE_MAX for read(2) (diff)
downloadkernel-qcow2-util-linux-0614fe48bc7db29f204321cd18592958d673c40f.tar.gz
kernel-qcow2-util-linux-0614fe48bc7db29f204321cd18592958d673c40f.tar.xz
kernel-qcow2-util-linux-0614fe48bc7db29f204321cd18592958d673c40f.zip
tests: remove fincore SMALLER_THAN_PAGESIZE tests
These tests failed for example on ext4 with a non-default blocksize 1024. In this case it seems that the kernel only caches a full page if we read at least PAGE_SIZE -BLOCK_SIZE +1. Both tests also failed on NFS allthough block size seems to be 1M there. We still keep the test for PAGE_SIZE-1 which seems to work more reliable. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'tests/expected/fincore')
-rw-r--r--tests/expected/fincore/count6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/expected/fincore/count b/tests/expected/fincore/count
index d5ce06259..46651365a 100644
--- a/tests/expected/fincore/count
+++ b/tests/expected/fincore/count
@@ -3,16 +3,12 @@ fincore: failed to open: no_such_file: No such file or directory
return value: 1
0 0 i_EMPTY_FILE
return value: 0
- 1 2048 i_SMALLER_THAN_PAGESIZE__incore_
-return value: 0
1 4095 i_PAGESIZE_-1__incore_
return value: 0
1 4096 i_JUST_PAGESIZE_incore_
return value: 0
0 4096 i_JUST_PAGESIZE_directio_
return value: 0
- 2 4097 i_PAGESIZE_+_1__incore_
-return value: 0
2 8192 i_TWO_PAGES_incore_
return value: 0
0 8192 i_TWO_PAGES_directio_
@@ -41,11 +37,9 @@ return value: 0
fincore: failed to open: no_such_file: No such file or directory
PAGES SIZE FILE
0 0 i_EMPTY_FILE
- 1 2048 i_SMALLER_THAN_PAGESIZE__incore_
1 4095 i_PAGESIZE_-1__incore_
1 4096 i_JUST_PAGESIZE_incore_
0 4096 i_JUST_PAGESIZE_directio_
- 2 4097 i_PAGESIZE_+_1__incore_
2 8192 i_TWO_PAGES_incore_
0 8192 i_TWO_PAGES_directio_
1 8192 i_TWO_PAGES_mixed_directio_incore_