Last active
August 29, 2015 13:59
-
-
Save archerslaw/10832007 to your computer and use it in GitHub Desktop.
Thinly-provisioned testing.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Test Matrix: | |
Filesystem: ext4 and xfs and scsi_debug for host side, and ext4 or xfs for guest side. | |
Backend: localfile or iSCSI or libiscsi (Note: BZ#1037503 glusterfs not support discard). | |
Disk Format: RAW for passthrough, RAW/qcow2 for localfile. | |
Disk Interface: scsi-block/scsi-hd/ide/ahci for UNMAP mode, scsi-block/scsi-hd interface for WRITE SAME mode. | |
NOTE: Persistent reservations *cannot* be used with discard when QEMU run as non-root user, but can work well in root user.(BZ966883#c5) | |
Windows only supports automatic discard (like "-o discard" in Linux). | |
You can check that discard is enabled by running. | |
$ fsutil behavior query DisableDeleteNotify | |
The output should be "DisableDeleteNotify = 0". If it is 1, you can run | |
$ fsutil behavior set DisableDeleteNotify 0 | |
to enable discard. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment