33c33
< * $FreeBSD: head/sys/nfsclient/nfs.h 138458 2004-12-06 16:11:25Z rwatson $
---
> * $FreeBSD: head/sys/nfsclient/nfs.h 138496 2004-12-06 21:11:15Z ps $
93,94d92
< #define NFSSTA_RCVLOCK 0x04000000 /* Rcv socket lock */
< #define NFSSTA_WANTRCV 0x08000000 /* Want above */
154,166d151
< * The set of signals that interrupt an I/O in progress for NFSMNT_INT mounts.
< * What should be in this set is open to debate, but I believe that since
< * I/O system calls on ufs are never interrupted by signals the set should
< * be minimal. My reasoning is that many current programs that use signals
< * such as SIGALRM will not expect file I/O system calls to be interrupted
< * by them and break.
< */
< #define NFSINT_SIGMASK(set) \
< (SIGISMEMBER(set, SIGINT) || SIGISMEMBER(set, SIGTERM) || \
< SIGISMEMBER(set, SIGHUP) || SIGISMEMBER(set, SIGKILL) || \
< SIGISMEMBER(set, SIGQUIT))
<
< /*
323a309,315
> void nfs_set_sigmask __P((struct thread *td, sigset_t *oldset));
> void nfs_restore_sigmask __P((struct thread *td, sigset_t *set));
> int nfs_tsleep __P((struct thread *td, void *ident, int priority, char *wmesg,
> int timo));
> int nfs_msleep __P((struct thread *td, void *ident, struct mtx *mtx, int priority,
> char *wmesg, int timo));
>
< * $FreeBSD: head/sys/nfsclient/nfs.h 138458 2004-12-06 16:11:25Z rwatson $
---
> * $FreeBSD: head/sys/nfsclient/nfs.h 138496 2004-12-06 21:11:15Z ps $
93,94d92
< #define NFSSTA_RCVLOCK 0x04000000 /* Rcv socket lock */
< #define NFSSTA_WANTRCV 0x08000000 /* Want above */
154,166d151
< * The set of signals that interrupt an I/O in progress for NFSMNT_INT mounts.
< * What should be in this set is open to debate, but I believe that since
< * I/O system calls on ufs are never interrupted by signals the set should
< * be minimal. My reasoning is that many current programs that use signals
< * such as SIGALRM will not expect file I/O system calls to be interrupted
< * by them and break.
< */
< #define NFSINT_SIGMASK(set) \
< (SIGISMEMBER(set, SIGINT) || SIGISMEMBER(set, SIGTERM) || \
< SIGISMEMBER(set, SIGHUP) || SIGISMEMBER(set, SIGKILL) || \
< SIGISMEMBER(set, SIGQUIT))
<
< /*
323a309,315
> void nfs_set_sigmask __P((struct thread *td, sigset_t *oldset));
> void nfs_restore_sigmask __P((struct thread *td, sigset_t *set));
> int nfs_tsleep __P((struct thread *td, void *ident, int priority, char *wmesg,
> int timo));
> int nfs_msleep __P((struct thread *td, void *ident, struct mtx *mtx, int priority,
> char *wmesg, int timo));
>