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