Print this page
NEX-17845 Remove support for BZIP2 from dump
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
re #13613 rb4516 Tunables needs volatile keyword
        
*** 19,28 ****
--- 19,29 ----
   * CDDL HEADER END
   */
  
  /*
   * Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
+  * Copyright 2018 Nexenta Systems, Inc.  All rights reserved.
   * Copyright 2017, Joyent, Inc.
   */
  /*
   * Copyright (c) 2010, Intel Corporation.
   * All rights reserved.
*** 169,179 ****
  
  /*
   * maxphys - used during physio
   * klustsize - used for klustering by swapfs and specfs
   */
! int maxphys = 56 * 1024;    /* XXX See vm_subr.c - max b_count in physio */
  int klustsize = 56 * 1024;
  
  caddr_t p0_va;          /* Virtual address for accessing physical page 0 */
  
  /*
--- 170,180 ----
  
  /*
   * maxphys - used during physio
   * klustsize - used for klustering by swapfs and specfs
   */
! volatile int maxphys = 56 * 1024; /* See vm_subr.c - max b_bcount in physio */
  int klustsize = 56 * 1024;
  
  caddr_t p0_va;          /* Virtual address for accessing physical page 0 */
  
  /*
*** 1237,1253 ****
                  npages += mp->ml_size >> PAGESHIFT;
  
          return (npages);
  }
  
- /* cpu threshold for compressed dumps */
- #ifdef _LP64
- uint_t dump_plat_mincpu_default = DUMP_PLAT_X86_64_MINCPU;
- #else
- uint_t dump_plat_mincpu_default = DUMP_PLAT_X86_32_MINCPU;
- #endif
- 
  int
  dump_plat_addr()
  {
  #ifdef __xpv
          pfn_t pfn = mmu_btop(xen_info->shared_info) | PFN_IS_FOREIGN_MFN;
--- 1238,1247 ----