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
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.
Signed-off-by: Paolo Bonzini
---
block.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/block.c b/block.c
in