From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=45221 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTXih-0007As-84 for qemu-devel@nongnu.org; Fri, 17 Dec 2010 05:39:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PTXig-0007vr-61 for qemu-devel@nongnu.org; Fri, 17 Dec 2010 05:39:27 -0500 Received: from mx1.redhat.com ([209.132.183.28]:22206) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PTXif-0007vg-UD for qemu-devel@nongnu.org; Fri, 17 Dec 2010 05:39:26 -0500 Message-ID: <4D0B3E1D.4070102@redhat.com> Date: Fri, 17 Dec 2010 11:40:29 +0100 From: Kevin Wolf MIME-Version: 1.0 References: <1292232986-10913-1-git-send-email-stefanha@linux.vnet.ibm.com> In-Reply-To: <1292232986-10913-1-git-send-email-stefanha@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH] qemu-io: Add discard command List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: qemu-devel@nongnu.org, Christoph Hellwig 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 Thanks, applied to the block branch. Kevin