Print this page
re #13613 rb4516 Tunables needs volatile keyword

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/nfs/nfs4_clnt.h
          +++ new/usr/src/uts/common/nfs/nfs4_clnt.h
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13   * When distributing Covered Code, include this CDDL HEADER in each
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
       23 + * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
  23   24   */
  24   25  
  25   26  /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  26   27  /*      All Rights Reserved   */
  27   28  
  28   29  /*
  29   30   * Portions of this source code were derived from Berkeley 4.3 BSD
  30   31   * under license from the Regents of the University of California.
  31   32   */
  32   33  
↓ open down ↓ 1542 lines elided ↑ open up ↑
1575 1576  #ifdef DEBUG
1576 1577  extern int      nfs4_consistent_type(vnode_t *);
1577 1578  #endif
1578 1579  
1579 1580  extern void     nfs4_init_dot_entries(void);
1580 1581  extern void     nfs4_destroy_dot_entries(void);
1581 1582  extern struct nfs4_callback_globals     *nfs4_get_callback_globals(void);
1582 1583  
1583 1584  extern struct nfs4_server nfs4_server_lst;
1584 1585  
1585      -extern clock_t nfs_write_error_interval;
     1586 +extern volatile clock_t nfs_write_error_interval;
1586 1587  
1587 1588  #endif /* _KERNEL */
1588 1589  
1589 1590  /*
1590 1591   * Flags for nfs4getfh_otw.
1591 1592   */
1592 1593  
1593 1594  #define NFS4_GETFH_PUBLIC       0x01
1594 1595  #define NFS4_GETFH_NEEDSOP      0x02
1595 1596  
↓ open down ↓ 640 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX