summaryrefslogtreecommitdiffstats
path: root/testsuites/fstests/fsdosfssync01/fsdosfssync01.doc
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-05-09 14:33:51 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-05-11 13:58:43 +0200
commit86ef0df976faf1b060347a07744814458aa42619 (patch)
treed001b836005d059b5aa11cf541093f5027c50d28 /testsuites/fstests/fsdosfssync01/fsdosfssync01.doc
parentlibblock: Add RTEMS_BLKIO_PURGEDEV (diff)
downloadrtems-86ef0df976faf1b060347a07744814458aa42619.tar.bz2
dosfs: Remove fat_file_datasync()
The fat_file_datasync() read every cluster of the file into the cache and then synchronized it step-by-step. For unmodified buffers this is a non-operation. For modified buffers this will wake-up the swapout task which performs then a single buffer write operation. This is usually quite inefficient. Firstly we do single buffer writes, secondly we may perform a lot of unnecessary read operations (for huge files this is really bad), and thirdly this leads likely to cache evictions. The synchronization procedure is replaced by a simple rtems_bdbuf_sync_dev(). This has the side-effect that also buffers not related to the file are synchronized, but since the modified list is normally short this should be acceptable.
Diffstat (limited to 'testsuites/fstests/fsdosfssync01/fsdosfssync01.doc')
-rw-r--r--testsuites/fstests/fsdosfssync01/fsdosfssync01.doc11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuites/fstests/fsdosfssync01/fsdosfssync01.doc b/testsuites/fstests/fsdosfssync01/fsdosfssync01.doc
new file mode 100644
index 0000000000..98b558a4f5
--- /dev/null
+++ b/testsuites/fstests/fsdosfssync01/fsdosfssync01.doc
@@ -0,0 +1,11 @@
+This file describes the directives and concepts tested by this test set.
+
+test set name: fsdosfssync01
+
+directives:
+
+ TBD
+
+concepts:
+
+ TBD