diff options
author | Stephen Warren <swarren@wwwdotorg.org> | 2015-10-03 19:56:47 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-10-24 17:50:34 (GMT) |
commit | 4a28274227d085d77d46709dc94ccc3d69610f53 (patch) | |
tree | 3f8d07a1e4ab9cf7b938a36cdeb145d9287d380b /doc/README.mpc85xx | |
parent | 7861204c9af7fec1ea9b41541c272516235a6c93 (diff) | |
download | u-boot-4a28274227d085d77d46709dc94ccc3d69610f53.tar.xz |
test: fat: add test of non-contiguous file reads
In my patch series to replace fs/fat with "ff.c", I enhanced ff.c to
optimize file reading, so that reads of contiguous clusters are submitted
to the IO device as a single read. This test attempts to torture-test
edge-cases of that enhancement.
BTW, the only way I found to validate that this script actually does
create non-contiguous files was to manually inspect the FAT bitmap in a
hex dump of the FAT image. hdparm --fibmap doesn't work on loop-mounted
filesystems. filefrag -v -e seems to lie about files being contiguous
when they aren't.
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/README.mpc85xx')
0 files changed, 0 insertions, 0 deletions