Allow for '-o feature@<feature>=disabled' on the command line

Review Request #2542 — Created April 28, 2020 and submitted

jbk
illumos-gate
12635
general

Allow for '-o feature@<feature>=disabled' on the command line

Ran zfs tests

  • 0
  • 0
  • 0
  • 4
  • 4
Description From Last Updated
yuripv
  1. 
      
  2. usr/src/cmd/zpool/zpool_main.c (Diff revision 1)
     
     

    nitpicking: feature@<feature>

    1. That is how it is in OpenZFS. I really don't want to diverge here without a good reason.

  3. usr/src/cmd/zpool/zpool_main.c (Diff revision 1)
     
     
    1. Again, this how it is in OpenZFS, and I'd prefer to not introduce further differences.

  4. usr/src/man/man1m/zpool.1m (Diff revision 1)
     
     

    .Oo Fl o Cm feature@ Ns Ar feature Ns = Ns Ar value Oc Ns ...

    1. See above

    2. Why call it a "review" then? "Ar feature@feature" is not correct, and that's what I'm pointing at :)

    3. I would suggesting filing an OpenZFS PR to fix it.

  5. usr/src/man/man1m/zpool.1m (Diff revision 1)
     
     

    .Oo Fl o Cm feature@ Ns Ar feature Ns = Ns Ar value Oc Ns ...

  6. usr/src/man/man1m/zpool.1m (Diff revision 1)
     
     

    .It Fl o Cm feature@ Ns Ar feature Ns = Ns Ar value

  7. 
      
tsoome
  1. Ship It!
  2. 
      
jjelinek
  1. I think fixing up the man page is fine since the illumos man pages are already really diverged from the openzfs upstream, but I agree that keeping code alignment is important.

  2. 
      
jbk
tsoome
  1. Ship It!
  2. 
      
jjelinek
  1. Ship It!
  2. 
      
jbk
Review request changed

Status: Closed (submitted)

Loading...