Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 50109b5a authored by Anton Ivanov's avatar Anton Ivanov Committed by Richard Weinberger
Browse files

um: Add support for DISCARD in the UBD Driver


Support for DISCARD and WRITE_ZEROES in the ubd driver using
fallocate.

DISCARD is enabled by default and can be disabled using a new
UBD command line flag.

If the underlying fs on which the UBD image is stored does not
support DISCARD the support for both DISCARD and WRITE_ZEROES
is turned off.

Signed-off-by: default avatarAnton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent a41421ed
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment