Print this page
8115 parallel zfs mount

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/buf.h
          +++ new/usr/src/uts/common/sys/buf.h
↓ open down ↓ 13 lines elided ↑ open up ↑
  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 2008 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
       24 + *
       25 + * Copyright 2017 RackTop Systems.
  24   26   */
  25   27  
  26   28  /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  27   29  /*        All Rights Reserved   */
  28   30  
  29   31  /*
  30   32   * University Copyright- Copyright (c) 1982, 1986, 1988
  31   33   * The Regents of the University of California
  32   34   * All Rights Reserved
  33   35   *
↓ open down ↓ 251 lines elided ↑ open up ↑
 285  287          ASSERT((bp)->av_forw != NULL); \
 286  288          ASSERT((bp)->av_back != NULL); \
 287  289          ASSERT((bp)->av_forw != (bp)); \
 288  290          ASSERT((bp)->av_back != (bp)); \
 289  291          (bp)->av_back->av_forw = (bp)->av_forw; \
 290  292          (bp)->av_forw->av_back = (bp)->av_back; \
 291  293          (bp)->b_flags |= B_BUSY; \
 292  294          (bp)->av_forw = (bp)->av_back = NULL; \
 293  295  }
 294  296  
 295      -#if defined(_KERNEL)
      297 +#if defined(_KERNEL) || defined(_FAKE_KERNEL)
 296  298  /*
 297  299   * Macros to avoid the extra function call needed for binary compat.
 298  300   *
 299  301   * B_RETRYWRI is not included in clear_flags for BWRITE(), BWRITE2(),
 300  302   * or brwrite() so that the retry operation is persistent until the
 301  303   * write either succeeds or the buffer is bfinval()'d.
 302  304   *
 303  305   */
 304  306  #define BREAD(dev, blkno, bsize) \
 305  307          bread_common(/* ufsvfsp */ NULL, dev, blkno, bsize)
↓ open down ↓ 84 lines elided ↑ open up ↑
 390  392  struct buf *getblk(dev_t, daddr_t, long);
 391  393  struct buf *getblk_common(void *, dev_t, daddr_t, long, int);
 392  394  struct buf *ngeteblk(long);
 393  395  struct buf *geteblk(void);
 394  396  struct buf *pageio_setup(struct page *, size_t, struct vnode *, int);
 395  397  void bioerror(struct buf *bp, int error);
 396  398  void bioreset(struct buf *bp);
 397  399  struct buf *bioclone(struct buf *, off_t, size_t, dev_t, daddr_t,
 398  400          int (*)(struct buf *), struct buf *, int);
 399  401  size_t  biosize(void);
 400      -#endif  /* defined(_KERNEL) */
      402 +#endif  /* defined(_KERNEL) || defined(_FAKE_KERNEL) */
 401  403  
 402  404  #ifdef  __cplusplus
 403  405  }
 404  406  #endif
 405  407  
 406  408  #endif  /* _SYS_BUF_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX