11084 clean up file-backed l2arc support

Review Request #2008 — Created June 18, 2019 and submitted

kkantor
illumos-gate
reviewboard
92656bd...
general

11084 clean up file-backed l2arc support

ZoL removed the arbitrary restriction on using files to back l2arc in their MMP commit (379ca9cf2), which Jerry ported to illumos for us. We have a test case that makes sure file-backed l2arc devices can't be created, and libzfs code that handles an error response from the kernel, which no longer occurs. Since we're allowing file-backed l2arc now we should clean this up.

zfs-test run (no new failures)

  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
kkantor
kkantor
igork
  1. Ship It!
  2. 
      
tsoome
  1. Ship It!
  2. 
      
jjelinek
  1. 
      
  2. Should we keep this test but change this to a log_must?

    1. Good idea! Unfortunately this isn't as easy as flipping that test statement. If this particular line passes then the next pool creation step fails due to the flat files being in use by another pool. I have the tests creating a separate flat file just for this test case now. Let me know how that looks.

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

Status: Closed (submitted)

Loading...