On Thu, Mar 08, 2012 at 06:15:13PM +0100, Paolo Bonzini wrote: > Allow discard to fail, and fall back to the write operation. This > is needed because there's no simple way to probe for availability > of FALLOC_FL_PUNCH_HOLE.
So you switch on advertising TRIM support in the patch before, and then fall back to a very suboptimal implementation here? This will make Windows 7 users very unhappy.