Skip to content

Commit

Permalink
OS-8136 Add DISCARD/TRIM support to bhyve (#916)
Browse files Browse the repository at this point in the history
Reviewed by: Mike Gerdts <mike.gerdts@joyent.com>
Reviewed by: Mike Zeller <mike.zeller@joyent.com>
Approved by: Mike Zeller <mike.zeller@joyent.com>
  • Loading branch information
jasonbking committed Mar 23, 2020
1 parent 58cac09 commit eeb4831
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
13 changes: 13 additions & 0 deletions src/vm/man/vmadm.1m.md
Original file line number Diff line number Diff line change
Expand Up @@ -921,6 +921,19 @@ tab-complete UUIDs rather than having to type them out for every command.
update: yes (special, see description in 'update' section above)
default: no

disks.*.notrim:

Explicitly disables TRIM functionality for the disk in the guest. This
functionality is also known as UNMAP or DISCARD. This corresponds to
the bhyve `nodelete` block-device-option.

type: boolean
vmtype: bhyve
listable: yes (see above)
create: yes
update: yes (special, see description in 'update' section above)
default: no

disks.*.pci_slot:

Specifies the virtual PCI slot that this disk will occupy. Bhyve places
Expand Down
7 changes: 6 additions & 1 deletion src/vm/node_modules/VM.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions src/vm/node_modules/proptable.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit eeb4831

Please sign in to comment.