11705 adding a swap zvol on a DEBUG build blows assert after 11650

Review Request #2313 — Created Sept. 18, 2019 and submitted

jjelinek
illumos-gate
11705
general

This fixes the tags I missed when I ported 11650 from ZoL.

On a DEBUG build this would previously panic.
# swap -a /dev/zvol/dsk/rpool/jj
# swap -d /dev/zvol/dsk/rpool/jj

  • 0
  • 0
  • 0
  • 1
  • 1
Description From Last Updated
andy_js
  1. Ship It!
  2. 
      
tsoome
  1. Ship It!
  2. 
      
igork
  1. 
      
  2. usr/src/uts/common/fs/zfs/zvol.c (Diff revision 1)
     
     

    where is using zvol_tag now?
    if nothing - have to remove static definition on top in this file

    1. zvol_tag is still used on lines 650 and 675. I chose not to change that usage at this time since that code doesn't exist in ZoL.

  3. 
      
citrus
  1. Ship It!
  2. 
      
jjelinek
Review request changed

Status: Closed (submitted)

kkantor
  1. Ship It!
  2. 
      
Loading...