qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 2/2] qemu-ga: add guest-fstrim command


From: Chris Wedgwood
Subject: Re: [Qemu-devel] [PATCH 2/2] qemu-ga: add guest-fstrim command
Date: Fri, 22 Jun 2012 20:38:51 -0700

> I'm not sure I understand, wouldn't the filesystem need to be involved
> at some level? How can the block layer differentiate lazilly discarded data
> blocks from ones that are still in use without the aid of the
> filesystem?

It might be me that doesn't understand.

Yes, the filesystem is involved.  Current linux filesystems can trim
on demand or using fstrim.  That mechanism seems to be like it should
suffice if exposed in the most common cases.




reply via email to

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