diff options
| author | Stefan Hajnoczi | 2010-12-13 10:36:26 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2010-12-17 16:11:03 +0100 |
| commit | edff5db1f50fd89e807f3fb518c77af7531e8117 (patch) | |
| tree | a8358f6905a6dd4191b99c0062742ca1d321bd0f /docs | |
| parent | scsi-disk: support WRITE SAME (16) with unmap bit (diff) | |
| download | qemu-edff5db1f50fd89e807f3fb518c77af7531e8117.tar.gz qemu-edff5db1f50fd89e807f3fb518c77af7531e8117.tar.xz qemu-edff5db1f50fd89e807f3fb518c77af7531e8117.zip | |
qemu-io: Add discard command
discard [-Cq] off len -- discards a number of bytes at a specified
offset
discards a range of bytes from the given offset
Example:
'discard 512 1k' - discards 1 kilobyte from 512 bytes into the file
Discards a segment of the currently open file.
-C, -- report statistics in a machine parsable format
-q, -- quite mode, do not show I/O statistics
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
