Print this page
    
NEX-9552 zfs_scan_idle throttling harms performance and needs to be removed
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>
NEX-4582 update wrc test cases for allow to use write back cache per tree of datasets
Reviewed by: Steve Peng <steve.peng@nexenta.com>
Reviewed by: Alex Aizman <alex.aizman@nexenta.com>
5960 zfs recv should prefetch indirect blocks
5925 zfs receive -o origin=
Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
    
      
        | Split | 
	Close | 
      
      | Expand all | 
      | Collapse all | 
    
    
          --- old/usr/src/uts/common/fs/zfs/sys/zio_priority.h
          +++ new/usr/src/uts/common/fs/zfs/sys/zio_priority.h
   1    1  /*
   2    2   * CDDL HEADER START
   3    3   *
   4    4   * This file and its contents are supplied under the terms of the
   5    5   * Common Development and Distribution License ("CDDL"), version 1.0.
   6    6   * You may only use this file in accordance with the terms of version
   7    7   * 1.0 of the CDDL.
   8    8   *
   9    9   * A full copy of the text of the CDDL should have accompanied this
  10   10   * source.  A copy of the CDDL is also available via the Internet at
  11   11   * http://www.illumos.org/license/CDDL.
  12   12   *
  13   13   * CDDL HEADER END
  14   14   */
  15   15  /*
  16   16   * Copyright (c) 2014 by Delphix. All rights reserved.
  17   17   */
  18   18  #ifndef _ZIO_PRIORITY_H
  19   19  #define _ZIO_PRIORITY_H
  
    | 
      ↓ open down ↓ | 
    19 lines elided | 
    
      ↑ open up ↑ | 
  
  20   20  
  21   21  #ifdef  __cplusplus
  22   22  extern "C" {
  23   23  #endif
  24   24  
  25   25  typedef enum zio_priority {
  26   26          ZIO_PRIORITY_SYNC_READ,
  27   27          ZIO_PRIORITY_SYNC_WRITE,        /* ZIL */
  28   28          ZIO_PRIORITY_ASYNC_READ,        /* prefetch */
  29   29          ZIO_PRIORITY_ASYNC_WRITE,       /* spa_sync() */
  30      -        ZIO_PRIORITY_SCRUB,             /* asynchronous scrub/resilver reads */
  31      -        ZIO_PRIORITY_REMOVAL,           /* reads/writes for vdev removal */
       30 +        ZIO_PRIORITY_RESILVER,          /* asynchronous resilver reads */
       31 +        ZIO_PRIORITY_SCRUB,             /* asynchronous scrub reads */
  32   32          ZIO_PRIORITY_NUM_QUEUEABLE,
  33   33  
  34   34          ZIO_PRIORITY_NOW                /* non-queued i/os (e.g. free) */
  35   35  } zio_priority_t;
  36   36  
  37   37  #ifdef  __cplusplus
  38   38  }
  39   39  #endif
  40   40  
  41   41  #endif  /* _ZIO_PRIORITY_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX