source: rtems/testsuites/fstests/configure.ac @ 86ef0df

4.115
Last change on this file since 86ef0df was 86ef0df, checked in by Sebastian Huber <sebastian.huber@…>, on 05/09/12 at 12:33:51

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.

  • Property mode set to 100644
File size: 3.4 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
4
5AC_PREREQ([2.68])
6AC_INIT([rtems-c-src-tests-fstests],
7        [_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
8AC_CONFIG_SRCDIR([imfs_support])
9RTEMS_TOP([../..],[..])
10
11RTEMS_CANONICAL_TARGET_CPU
12
13AM_INIT_AUTOMAKE([no-define foreign 1.11.1])
14AM_MAINTAINER_MODE
15
16RTEMS_ENV_RTEMSBSP
17
18RTEMS_PROJECT_ROOT
19
20RTEMS_PROG_CC_FOR_TARGET
21
22RTEMS_CANONICALIZE_TOOLS
23
24RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
25AC_CONFIG_HEADER([config.h])
26
27RTEMS_CHECK_CPUOPTS([RTEMS_POSIX_API])
28AM_CONDITIONAL(HAS_POSIX,test x"${rtems_cv_RTEMS_POSIX_API}" = x"yes")
29
30# but newlib doesn't have sys/mman.h
31AC_CHECK_HEADERS([sys/mman.h])
32
33# FIXME: newlib should supply declaration of pthread_rwlock_unlock()
34AC_CHECK_DECLS([pthread_rwlock_unlock],[],[],[[#include <pthread.h>]])
35
36# FIXME: newlib should supply declaration of pthread_atfork()
37AC_CHECK_DECLS([pthread_atfork],[],[],[[#include <pthread.h>]])
38
39# FIXME: RTEMS presumes pthread_attr_getcputime to be IEEE Std 1003.1
40# Likely an anachronism in RTEMS.
41AC_CHECK_DECLS([pthread_attr_getcputime],[],[],[[#include <pthread.h>]])
42
43# FIXME: RTEMS presumes pthread_attr_getcputime to be IEEE Std 1003.1
44# Likely an anachronism in RTEMS.
45AC_CHECK_DECLS([pthread_attr_getcputime],[],[],[[#include <pthread.h>]])
46
47# FIXME: RTEMS presumes pthread_attr_setcputime to be IEEE Std 1003.1
48# Likely an anachronism in RTEMS.
49AC_CHECK_DECLS([pthread_attr_setcputime],[],[],[[#include <pthread.h>]])
50
51# Added to pthreads after initial revision.  May not be in toolset
52AC_CHECK_DECLS([pthread_attr_getstack],[],[],[[#include <pthread.h>]])
53
54# Added to pthreads after initial revision.  May not be in toolset
55AC_CHECK_DECLS([pthread_attr_setstack],[],[],[[#include <pthread.h>]])
56
57# Added to pthreads after initial revision.  May not be in toolset
58AC_CHECK_DECLS([pthread_attr_getguardsize],[],[],[[#include <pthread.h>]])
59
60# Added to pthreads after initial revision.  May not be in toolset
61AC_CHECK_DECLS([pthread_attr_setguardsize],[],[],[[#include <pthread.h>]])
62
63# FIXME: adjtime is a non-standardized BSD/Linux extension
64# RTEMS should not rely on adjtime
65AC_CHECK_DECLS([adjtime],[],[],[[#include <sys/time.h>]])
66
67# FIXME: IEEE Std 1003.1-2008 mandates mprotect in sys/mman.h,
68# RTEMS provides a stub, despite newlib doesn't have sys/mman.h
69AC_CHECK_DECLS([mprotect],[],[],[[#include <sys/mman.h>]])
70
71# FIXME: IEEE Std 1003.1-2008 mandates seteuid in unistd.h
72# RTEMS provides it, despite newlib doesn't declare it.
73AC_CHECK_DECLS([seteuid],[],[],[#include <unistd.h>])
74
75# FIXME: We should get rid of this. It's a cludge.
76AC_CHECK_SIZEOF([off_t])
77AC_CHECK_SIZEOF([blksize_t])
78AC_CHECK_SIZEOF([blkcnt_t])
79
80# Explicitly list all Makefiles here
81AC_CONFIG_FILES([Makefile
82fsdosfssync01/Makefile
83imfs_fserror/Makefile
84imfs_fslink/Makefile
85imfs_fspatheval/Makefile
86imfs_fspermission/Makefile
87imfs_fsrdwr/Makefile
88imfs_fssymlink/Makefile
89imfs_fstime/Makefile
90mdosfs_fserror/Makefile
91mdosfs_fspatheval/Makefile
92mdosfs_fsrdwr/Makefile
93mdosfs_fstime/Makefile
94mimfs_fserror/Makefile
95mimfs_fslink/Makefile
96mimfs_fspatheval/Makefile
97mimfs_fspermission/Makefile
98mimfs_fsrdwr/Makefile
99mimfs_fssymlink/Makefile
100mimfs_fstime/Makefile
101mrfs_fserror/Makefile
102mrfs_fslink/Makefile
103mrfs_fspatheval/Makefile
104mrfs_fspermission/Makefile
105mrfs_fsrdwr/Makefile
106mrfs_fssymlink/Makefile
107mrfs_fstime/Makefile
108fsnofs01/Makefile
109fsimfsgeneric01/Makefile
110fsbdpart01/Makefile
111
112])
113AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.