1. 27 8月, 2007 1 次提交
  2. 01 8月, 2007 1 次提交
  3. 17 7月, 2007 1 次提交
  4. 11 7月, 2007 2 次提交
  5. 09 7月, 2007 1 次提交
    • D
      [DLM] add lock timeouts and warnings [2/6] · 3ae1acf9
      David Teigland 提交于
      New features: lock timeouts and time warnings.  If the DLM_LKF_TIMEOUT
      flag is set, then the request/conversion will be canceled after waiting
      the specified number of centiseconds (specified per lock).  This feature
      is only available for locks requested through libdlm (can be enabled for
      kernel dlm users if there's a use for it.)
      
      If the new DLM_LSFL_TIMEWARN flag is set when creating the lockspace, then
      a warning message will be sent to userspace (using genetlink) after a
      request/conversion has been waiting for a given number of centiseconds
      (configurable per node).  The time warnings will be used in the future
      to do deadlock detection in userspace.
      Signed-off-by: NDavid Teigland <teigland@redhat.com>
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      3ae1acf9
  6. 01 6月, 2007 1 次提交
  7. 20 5月, 2007 1 次提交
  8. 11 5月, 2007 2 次提交
    • D
      signal/timer/event: signalfd core · fba2afaa
      Davide Libenzi 提交于
      This patch series implements the new signalfd() system call.
      
      I took part of the original Linus code (and you know how badly it can be
      broken :), and I added even more breakage ;) Signals are fetched from the same
      signal queue used by the process, so signalfd will compete with standard
      kernel delivery in dequeue_signal().  If you want to reliably fetch signals on
      the signalfd file, you need to block them with sigprocmask(SIG_BLOCK).  This
      seems to be working fine on my Dual Opteron machine.  I made a quick test
      program for it:
      
      http://www.xmailserver.org/signafd-test.c
      
      The signalfd() system call implements signal delivery into a file descriptor
      receiver.  The signalfd file descriptor if created with the following API:
      
      int signalfd(int ufd, const sigset_t *mask, size_t masksize);
      
      The "ufd" parameter allows to change an existing signalfd sigmask, w/out going
      to close/create cycle (Linus idea).  Use "ufd" == -1 if you want a brand new
      signalfd file.
      
      The "mask" allows to specify the signal mask of signals that we are interested
      in.  The "masksize" parameter is the size of "mask".
      
      The signalfd fd supports the poll(2) and read(2) system calls.  The poll(2)
      will return POLLIN when signals are available to be dequeued.  As a direct
      consequence of supporting the Linux poll subsystem, the signalfd fd can use
      used together with epoll(2) too.
      
      The read(2) system call will return a "struct signalfd_siginfo" structure in
      the userspace supplied buffer.  The return value is the number of bytes copied
      in the supplied buffer, or -1 in case of error.  The read(2) call can also
      return 0, in case the sighand structure to which the signalfd was attached,
      has been orphaned.  The O_NONBLOCK flag is also supported, and read(2) will
      return -EAGAIN in case no signal is available.
      
      If the size of the buffer passed to read(2) is lower than sizeof(struct
      signalfd_siginfo), -EINVAL is returned.  A read from the signalfd can also
      return -ERESTARTSYS in case a signal hits the process.  The format of the
      struct signalfd_siginfo is, and the valid fields depends of the (->code &
      __SI_MASK) value, in the same way a struct siginfo would:
      
      struct signalfd_siginfo {
      	__u32 signo;	/* si_signo */
      	__s32 err;	/* si_errno */
      	__s32 code;	/* si_code */
      	__u32 pid;	/* si_pid */
      	__u32 uid;	/* si_uid */
      	__s32 fd;	/* si_fd */
      	__u32 tid;	/* si_fd */
      	__u32 band;	/* si_band */
      	__u32 overrun;	/* si_overrun */
      	__u32 trapno;	/* si_trapno */
      	__s32 status;	/* si_status */
      	__s32 svint;	/* si_int */
      	__u64 svptr;	/* si_ptr */
      	__u64 utime;	/* si_utime */
      	__u64 stime;	/* si_stime */
      	__u64 addr;	/* si_addr */
      };
      
      [akpm@linux-foundation.org: fix signalfd_copyinfo() on i386]
      Signed-off-by: NDavide Libenzi <davidel@xmailserver.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      fba2afaa
    • P
      synclink_gt: add compat_ioctl · 2acdb169
      Paul Fulghum 提交于
      Add support for 32 bit ioctl on 64 bit systems for synclink_gt
      
      Cc: Arnd Bergmann <arnd@arndb.de>
      Signed-off-by: NPaul Fulghum <paulkf@microgate.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      2acdb169
  9. 09 5月, 2007 6 次提交
  10. 03 5月, 2007 1 次提交
  11. 26 4月, 2007 2 次提交
  12. 13 2月, 2007 1 次提交
  13. 12 2月, 2007 1 次提交
  14. 08 2月, 2007 1 次提交
  15. 24 1月, 2007 1 次提交
  16. 23 1月, 2007 1 次提交
  17. 23 12月, 2006 1 次提交
  18. 21 12月, 2006 1 次提交
  19. 11 12月, 2006 1 次提交
  20. 08 12月, 2006 1 次提交
  21. 04 12月, 2006 1 次提交
  22. 03 12月, 2006 1 次提交
  23. 21 10月, 2006 1 次提交
  24. 05 10月, 2006 1 次提交
  25. 04 10月, 2006 2 次提交
  26. 02 10月, 2006 1 次提交
    • S
      [GFS2] Remove iflags.h, use FS_ · 128e5eba
      Steven Whitehouse 提交于
      Update GFS2 in the light of David Howells' patch:
      
      [PATCH] BLOCK: Move common FS-specific ioctls to linux/fs.h [try #6]
      36695673
      
      which calls the filesystem independant flags FS_..._FL. As a result
      we no longer need the flags.h file and the conversion routine is
      moved into the GFS2 source code.
      
      Userland programs which used to include iflags.h should now include
      fs.h and use the new flag names.
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      128e5eba
  27. 29 9月, 2006 1 次提交
  28. 25 9月, 2006 1 次提交
  29. 24 9月, 2006 1 次提交
  30. 22 9月, 2006 1 次提交
  31. 19 9月, 2006 1 次提交