summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorStephen Warren <swarren@wwwdotorg.org>2015-10-03 13:56:47 -0600
committerTom Rini <trini@konsulko.com>2015-10-24 13:50:34 -0400
commit4a28274227d085d77d46709dc94ccc3d69610f53 (patch)
tree3f8d07a1e4ab9cf7b938a36cdeb145d9287d380b /scripts
parent7861204c9af7fec1ea9b41541c272516235a6c93 (diff)
downloadblackbird-obmc-uboot-4a28274227d085d77d46709dc94ccc3d69610f53.tar.gz
blackbird-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 'scripts')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud