[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH] qemu-io: Add discard command
From: |
Kevin Wolf |
Subject: |
[Qemu-devel] Re: [PATCH] qemu-io: Add discard command |
Date: |
Fri, 17 Dec 2010 11:40:29 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10 |
Am 13.12.2010 10:36, schrieb Stefan Hajnoczi:
> 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 <address@hidden>
Thanks, applied to the block branch.
Kevin