diff options
author | Stephen Warren <swarren@wwwdotorg.org> | 2015-10-03 13:56:47 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-10-24 13:50:34 -0400 |
commit | 4a28274227d085d77d46709dc94ccc3d69610f53 (patch) | |
tree | 3f8d07a1e4ab9cf7b938a36cdeb145d9287d380b /include/cros_ec_message.h | |
parent | 7861204c9af7fec1ea9b41541c272516235a6c93 (diff) | |
download | talos-obmc-uboot-4a28274227d085d77d46709dc94ccc3d69610f53.tar.gz talos-obmc-uboot-4a28274227d085d77d46709dc94ccc3d69610f53.zip |
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 'include/cros_ec_message.h')
0 files changed, 0 insertions, 0 deletions