Diff for /libaitsched/src/tasks.c between versions 1.10.2.3 and 1.10.2.4

version 1.10.2.3, 2012/08/01 14:11:43 version 1.10.2.4, 2012/08/01 16:47:06
Line 585  schedAIORead(sched_root_task_t * __restrict root, sche Line 585  schedAIORead(sched_root_task_t * __restrict root, sche
         } else          } else
                 acb->aio_offset = off;                  acb->aio_offset = off;
         acb->aio_sigevent.sigev_notify = SIGEV_KEVENT;          acb->aio_sigevent.sigev_notify = SIGEV_KEVENT;
         acb->aio_sigevent.sigev_notify_kevent_flags = EV_CLEAR | EV_DISPATCH;  
         acb->aio_sigevent.sigev_notify_kqueue = root->root_kq;          acb->aio_sigevent.sigev_notify_kqueue = root->root_kq;
        acb->aio_sigevent.sigev_value.sival_ptr = (void*) O_RDONLY;        acb->aio_sigevent.sigev_value.sival_ptr = acb;
   
         if (aio_read(acb)) {          if (aio_read(acb)) {
                 LOGERR;                  LOGERR;
Line 643  schedAIOWrite(sched_root_task_t * __restrict root, sch Line 642  schedAIOWrite(sched_root_task_t * __restrict root, sch
         } else          } else
                 acb->aio_offset = off;                  acb->aio_offset = off;
         acb->aio_sigevent.sigev_notify = SIGEV_KEVENT;          acb->aio_sigevent.sigev_notify = SIGEV_KEVENT;
         acb->aio_sigevent.sigev_notify_kevent_flags = EV_CLEAR | EV_DISPATCH;  
         acb->aio_sigevent.sigev_notify_kqueue = root->root_kq;          acb->aio_sigevent.sigev_notify_kqueue = root->root_kq;
        acb->aio_sigevent.sigev_value.sival_ptr = (void*) O_WRONLY;        acb->aio_sigevent.sigev_value.sival_ptr = acb;
   
         if (aio_write(acb)) {          if (aio_write(acb)) {
                 LOGERR;                  LOGERR;

Removed from v.1.10.2.3  
changed lines
  Added in v.1.10.2.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>