nfsrvstats.h (3820) | nfsrvstats.h (4067) |
---|---|
1/* 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Rick Macklem at The University of Guelph. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * @(#)nfs.h 8.1 (Berkeley) 6/10/93 | 1/* 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Rick Macklem at The University of Guelph. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * @(#)nfs.h 8.1 (Berkeley) 6/10/93 |
37 * $Id: nfs.h,v 1.6 1994/10/17 17:47:30 phk Exp $ | 37 * $Id: nfs.h,v 1.7 1994/10/23 23:26:15 wollman Exp $ |
38 */ 39 40#ifndef _NFS_NFS_H_ 41#define _NFS_NFS_H_ 42 43/* 44 * Tunable constants for nfs 45 */ --- 123 unchanged lines hidden (view full) --- 169 * The set of signals the interrupt an I/O in progress for NFSMNT_INT mounts. 170 * What should be in this set is open to debate, but I believe that since 171 * I/O system calls on ufs are never interrupted by signals the set should 172 * be minimal. My reasoning is that many current programs that use signals 173 * such as SIGALRM will not expect file I/O system calls to be interrupted 174 * by them and break. 175 */ 176#ifdef KERNEL | 38 */ 39 40#ifndef _NFS_NFS_H_ 41#define _NFS_NFS_H_ 42 43/* 44 * Tunable constants for nfs 45 */ --- 123 unchanged lines hidden (view full) --- 169 * The set of signals the interrupt an I/O in progress for NFSMNT_INT mounts. 170 * What should be in this set is open to debate, but I believe that since 171 * I/O system calls on ufs are never interrupted by signals the set should 172 * be minimal. My reasoning is that many current programs that use signals 173 * such as SIGALRM will not expect file I/O system calls to be interrupted 174 * by them and break. 175 */ 176#ifdef KERNEL |
177 178struct uio; struct buf; struct vattr; struct nameidata; /* XXX */ 179 |
|
177#define NFSINT_SIGMASK (sigmask(SIGINT)|sigmask(SIGTERM)|sigmask(SIGKILL)| \ 178 sigmask(SIGHUP)|sigmask(SIGQUIT)) 179 180/* 181 * Socket errors ignored for connectionless sockets?? 182 * For now, ignore them all 183 */ 184#define NFSIGNORE_SOERROR(s, e) \ --- 188 unchanged lines hidden --- | 180#define NFSINT_SIGMASK (sigmask(SIGINT)|sigmask(SIGTERM)|sigmask(SIGKILL)| \ 181 sigmask(SIGHUP)|sigmask(SIGQUIT)) 182 183/* 184 * Socket errors ignored for connectionless sockets?? 185 * For now, ignore them all 186 */ 187#define NFSIGNORE_SOERROR(s, e) \ --- 188 unchanged lines hidden --- |