qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 00/17] Add qemu-img subcommand to dump file m


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v2 00/17] Add qemu-img subcommand to dump file metadata
Date: Thu, 18 Jul 2013 10:58:32 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7

Il 18/07/2013 10:17, Peter Lieven ha scritto:
> 
> maybe i have missed it in your patches, but would it be also possible to issue
> DISCARDZEROES ioctl on linux to return zero status for block devices also?

I think that would belong in your patches.  Once we have discard_zeroes,
we can use it as you suggested.

It is a good occasion to ask Linux developers for clarifications about
the meaning of discard_zeroes in the presence of misaligned requests.
But because of legacy, we might need to query the kernel for the
granularity ourselves---which is ugly because it is not available
through a ioctl, only sysfs.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]