1 2007-12-12 Jakub Jelinek <jakub@redhat.com>
3 * sysdeps/unix/sysv/linux/kaio_read.c (aio_read64): Define to
4 something else while including kaio_misc.h.
5 * sysdeps/unix/sysv/linux/kaio_write.c (aio_write64): Likewise.
7 2007-08-01 Jakub Jelinek <jakub@redhat.com>
9 * sysdeps/unix/sysv/linux/kaio_misc.h (AIO_MISC_NOTIFY,
10 AIO_MISC_WAIT): Add LLL_PRIVATE as last argument to lll_futex_*wait.
12 2006-09-15 Jakub Jelinek <jakub@redhat.com>
15 * rt/tst-aiod.c (do_prepare): Give name_len type size_t.
16 * rt/tst-aiod64.c (do_prepare): Likewise.
18 2006-09-07 Jakub Jelinek <jakub@redhat.com>
20 * tst-aiod2.c: Adjust test for new semantics of lio_listio.
21 * tst-aiod3.c: The thread is now supposed to be created.
23 * Makefile: Use $(..) in place of ../.
24 (tests): Add tst-aio{8,9,10}, tst-cpuclock{1,2}, tst-cputimer{1,2,3}
26 (CPPFLAGS-librtkaio): Append -I$(..)rt.
27 * Versions.def (librtkaio): Add GLIBC_2.4 version.
28 * sysdeps/unix/sysv/linux/kaio_misc.c (wait_for_kernel_requests)
29 [!DONT_NEED_AIO_MISC_COND]: Don't use condvar, use AIO_MISC_WAIT.
30 * sysdeps/unix/sysv/linux/kaio_misc.h [HAVE_FORCED_UNWIND]
31 (DONT_NEED_AIO_MISC_COND, AIO_MISC_NOTIFY, AIO_MISC_WAIT): Define.
32 (struct waitlist) [DONT_NEED_AIO_MISC_COND]: Remove cond.
33 * sysdeps/unix/sysv/linux/kaio_suspend.c (struct clparam)
34 [DONT_NEED_AIO_MISC_COND]: Remove cond.
35 (cleanup) [DONT_NEED_AIO_MISC_COND]: Lock __aio_requests_mutex on
36 entry. Don't destroy param->cond.
37 (aio_suspend): Fail if nent is negative.
38 (aio_suspend) [DONT_NEED_AIO_MISC_COND]: Don't use cond, use
40 * sysdeps/unix/sysv/linux/klio_listio.c (lio_listio): Renamed to...
41 (lio_listio_internal): ... this. Don't use cond, but AIO_MISC_WAIT,
42 if DONT_NEED_AIO_MISC_COND. Remove mode parameter check. Only set
43 sigevent type to SIGEV_NONE if LIO_NO_INDIVIDUAL_EVENT is set.
44 (__lio_listio_21): New function. Compatiblity version which sets
45 LIO_NO_INDIVIDUAL_EVENT before calling lio_listio_internal.
46 (__lio_listio_item_notify): New function.
47 * sysdeps/unix/sysv/linux/klio_listio64.c: Define __lio_listio_21 and
48 __lio_listio_item_notify macros.
50 * configure.in: New file
51 * configure: Regenerated.
52 * sysdeps/rtkaio/kaio_cancel.c: Moved to...
53 * kaio_cancel.c: ... here. New file.
54 * sysdeps/rtkaio/kaio_error.c: Moved to...
55 * kaio_error.c: ... here. New file.
56 * sysdeps/rtkaio/kaio_fsync.c: Moved to...
57 * kaio_fsync.c: ... here. New file.
58 * sysdeps/rtkaio/kaio_misc.c: Moved to...
59 * kaio_misc.c: ... here. New file.
60 * sysdeps/rtkaio/kaio_notify.c: Moved to...
61 * kaio_notify.c: ... here. New file.
62 * sysdeps/rtkaio/kaio_read.c: Moved to...
63 * kaio_read.c: ... here. New file.
64 * sysdeps/rtkaio/kaio_read64.c: Moved to...
65 * kaio_read64.c: ... here. New file.
66 * sysdeps/rtkaio/kaio_return.c: Moved to...
67 * kaio_return.c: ... here. New file.
68 * sysdeps/rtkaio/kaio_sigqueue.c: Moved to...
69 * kaio_sigqueue.c: ... here. New file.
70 * sysdeps/rtkaio/kaio_suspend.c: Moved to...
71 * kaio_suspend.c: ... here. New file.
72 * sysdeps/rtkaio/kaio_write.c: Moved to...
73 * kaio_write.c: ... here. New file.
74 * sysdeps/rtkaio/kaio_write64.c: Moved to...
75 * kaio_write64.c: ... here. New file.
76 * sysdeps/rtkaio/klio_listio.c: Moved to...
77 * klio_listio.c: ... here. New file.
78 * sysdeps/rtkaio/klio_listio64.c: Moved to...
79 * klio_listio64.c: ... here. New file.
80 * sysdeps/pthread/Versions: New file.
81 * tst-aio8.c: New file.
82 * tst-aio9.c: New file.
83 * tst-aio10.c: New file.
84 * tst-clock2.c: New file.
85 * tst-cpuclock1.c: New file.
86 * tst-cpuclock2.c: New file.
87 * tst-cputimer1.c: New file.
88 * tst-cputimer2.c: New file.
89 * tst-cputimer3.c: New file.
90 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
91 * sysdeps/unix/sysv/linux/sparc/rtkaio-sysdep.c: New file.
92 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
93 * sysdeps/mips/Makefile: Removed.
94 * sysdeps/unix/mips/rtkaio-sysdep.S: Removed.
95 * sysdeps/unix/sysv/linux/hppa/Versions: Removed.
96 * sysdeps/unix/sysv/linux/hppa/kaio_cancel.c: Removed.
98 2006-07-19 Jakub Jelinek <jakub@redhat.com>
100 * sysdeps/unix/sysv/linux/kaio_misc.c: Include atomic.h.
101 (kernel_callback): Ensure __return_value is updated before
104 2006-05-11 Jakub Jelinek <jakub@redhat.com>
106 * Makefile (tests): Add tst-mqueue{8,9}, tst-timer5 and
107 tst-aiod{,64,2,3,4,5}.
108 (LDFLAGS-rtkaio.so): Add -Wl,--enable-new-dtags,-z,nodelete.
109 * sysdeps/unix/sysv/linux/kaio_misc.h: Include signal.h and
111 (aio_start_notify_thread, aio_create_helper_thread): Define
112 for !BROKEN_THREAD_SIGNALS.
113 (__aio_start_notify_thread, __aio_create_helper_thread): New
114 functions for !BROKEN_THREAD_SIGNALS.
115 * sysdeps/unix/sysv/linux/kaio_misc.c: Include sys/sysmacros.h.
116 (aio_create_helper_thread): Define if not yet defined.
117 (__aio_create_helper_thread): New function.
118 (__aio_wait_for_events): Pass 1 rather than 0 as min_nr to
120 (handle_kernel_aio): Likewise.
121 (__aio_create_kernel_thread): Use aio_create_helper_thread.
122 (__aio_enqueue_user_request): Likewise.
123 (handle_fildes_io): Likewise. Remove noreturn attribute,
124 return NULL instead of calling pthread_exit (NULL).
125 (__aio_enqueue_request_ctx): Call fcntl and fxstat64 to avoid using
126 kaio on non-O_DIRECT non-/dev/raw* filedescriptors. For LIO_SYNC
127 and LIO_DSYNC also set kctx to KCTX_NONE.
128 * sysdeps/unix/sysv/linux/kaio_suspend.c (aio_suspend): Don't start
129 handle_kernel_aio thread if ktotal is zero.
130 * sysdeps/pthread/Makefile (tests): Add tst-mqueue8x.
131 (CFLAGS-tst-mqueue8x.c): Add -fexceptions.
132 * Versions.def (librtkaio): Add GLIBC_2.3.4 version.
133 * kaio_mq_close.c: New file.
134 * kaio_mq_getattr.c: New file.
135 * kaio_mq_notify.c: New file.
136 * kaio_mq_open.c: New file.
137 * kaio_mq_receive.c: New file.
138 * kaio_mq_send.c: New file.
139 * kaio_mq_setattr.c: New file.
140 * kaio_mq_timedreceive.c: New file.
141 * kaio_mq_timedsend.c: New file.
142 * kaio_mq_unlink.c: New file.
143 * sysdeps/pthread/tst-mqueue8x.c: New file.
144 * sysdeps/unix/sysv/linux/syscalls.list: New file.
145 * tst-mqueue8.c: New file.
146 * tst-mqueue9.c: New file.
147 * tst-timer5.c: New file.
148 * tst-aiod.h: New file.
149 * tst-aiod.c: New test.
150 * tst-aiod64.c: New test.
151 * tst-aiod2.c: New test.
152 * tst-aiod3.c: New test.
153 * tst-aiod4.c: New test.
154 * tst-aiod5.c: New test.
155 * sysdeps/mips/Makefile: New file.
156 * sysdeps/unix/alpha/Makefile: New file.
157 * sysdeps/unix/alpha/rtkaio-sysdep.S: New file.
158 * sysdeps/unix/mips/rtkaio-sysdep.S: New file.
159 * sysdeps/unix/sysv/linux/Makefile: New file.
160 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
161 * sysdeps/unix/sysv/linux/s390/rtkaio-sysdep.S: New file.
162 * sysdeps/unix/sysv/linux/powerpc/Makefile: New file.
163 * sysdeps/unix/sysv/linux/powerpc/rtkaio-sysdep.c: New file.
164 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
165 * sysdeps/unix/sysv/linux/ia64/rtkaio-sysdep.S: New file.
167 2004-04-17 Jakub Jelinek <jakub@redhat.com>
169 * rt/Makefile (mq-routines): Set.
170 (librt-routines): Use it.
171 (tests): Add tst-mqueue{1,2,3,4,5,6,7} and tst-timer{3,4}.
172 (tst-mqueue7-ARGS): Set.
173 * rt/Versions (librt): Add mq_*@@GLIBC_2.3.4.
174 * rt/tst-mqueue1.c: New file.
175 * rt/tst-mqueue2.c: New file.
176 * rt/tst-mqueue3.c: New file.
177 * rt/tst-mqueue4.c: New file.
178 * rt/tst-mqueue5.c: New file.
179 * rt/tst-mqueue6.c: New file.
180 * rt/tst-mqueue7.c: New file.
181 * rt/tst-timer3.c: New file.
182 * rt/tst-timer4.c: New file.
184 2003-08-14 Jakub Jelinek <jakub@redhat.com>
186 * sysdeps/unix/sysv/linux/kaio_misc.c (wait_for_kernel_requests):
188 (handle_fildes_io): Use it for LIO_SYNC and LIO_DSYNC.
190 * sysdeps/pthread/Makefile (CPPFLAGS): Add -DBROKEN_THREAD_SIGNALS
191 for rtkaio/linuxthreads combo.
192 * sysdeps/unix/sysv/linux/kaio_misc.c (__aio_enqueue_request_ctx):
193 Only set caller_pid if BROKEN_THREAD_SIGNALS.
194 * sysdeps/unix/sysv/linux/kaio_misc.h (struct waitlist,
195 struct requestlist): Remove caller_pid unless BROKEN_THREAD_SIGNALS.
196 (__aio_notify_only): Remove last argument if not
197 BROKEN_THREAD_SIGNALS.
198 * sysdeps/unix/sysv/linux/kaio_suspend.c (aio_suspend): Only set
199 caller_pid if not BROKEN_THREAD_SIGNALS.
200 * sysdeps/unix/sysv/linux/klio_listio.c (lio_listio): Likewise.
201 Remove last argument in call to __aio_notify_only unless
202 BROKEN_THREAD_SIGNALS.
204 * tst-aio.c: Avoid test duplication. Include rt/aio.c instead.
205 * tst-aio2.c: Similarly.
206 * tst-aio3.c: Similarly.
207 * tst-aio4.c: Similarly.
208 * tst-aio5.c: Similarly.
209 * tst-aio6.c: Similarly.
210 * tst-aio64.c: Similarly.
211 * tst-aio7.c: Similarly.
212 * tst-clock.c: Similarly.
213 * tst-clock_nanosleep.c: Similarly.
214 * tst-shm.c: Similarly.
215 * tst-timer2.c: Similarly.
217 2003-07-29 Roland McGrath <roland@redhat.com>
219 * rt/tst-timer2.c: New file.
220 * rt/Makefile (tests): Add it.
222 2003-07-25 Jakub Jelinek <jakub@redhat.com>
224 * sysdeps/unix/sysv/linux/kaio_cancel.c (aio_cancel): Attempt
225 to cancel kioctx != KCTX_NONE requests even if second argument
226 to aio_cancel is NULL.
228 2003-07-24 Jakub Jelinek <jakub@redhat.com>
230 * sysdeps/unix/sysv/linux/kaio_cancel.c (aio_cancel): Return
231 AIO_ALLDONE if aiocbp != NULL and has already completed. Return
232 -1/EINVAL if aiocbp->aio_fildes does not match fildes.
234 * sysdeps/unix/sysv/linux/alpha/kaio_cancel.c: New file.
235 * sysdeps/unix/sysv/linux/hppa/kaio_cancel.c: New file.
236 * sysdeps/unix/sysv/linux/sparc/kaio_cancel.c: New file.
237 * sysdeps/unix/sysv/linux/kaio_cancel.c (aio_cancel): Attempt
238 to cancel request handled by kernel (so far just if aiocbp != NULL).
239 * sysdeps/unix/sysv/linux/kaio_misc.c (__aio_remove_krequest): Fix
240 assertion, req->kioctx must NOT be KCTX_NONE.
241 * sysdeps/unix/sysv/linux/kaio_misc.h (__aio_remove_krequest): New
244 2003-07-23 Jakub Jelinek <jakub@redhat.com>