WSL2-Linux-Kernel/arch/um/os-Linux
Anton Ivanov 50109b5a03 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: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2018-12-27 22:48:20 +01:00
..
drivers um: return negative in tuntap_open_tramp() 2017-09-13 22:36:50 +02:00
skas um: Give start_idle_thread() a return code 2018-10-29 22:23:11 +01:00
Makefile um: remove unused AIO code 2018-10-29 22:23:12 +01:00
elf_aux.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
execvp.c um: Use os_warn to print out pre-boot warning/error messages 2017-07-05 23:18:25 +02:00
file.c um: Add support for DISCARD in the UBD Driver 2018-12-27 22:48:20 +01:00
helper.c um: Fix waitpid() usage in helper code 2015-10-19 22:53:37 +02:00
irq.c Epoll based IRQ controller 2018-02-19 19:38:51 +01:00
main.c um: remove uml initcalls 2018-06-10 22:49:14 +02:00
mem.c um: Use os_warn to print out pre-boot warning/error messages 2017-07-05 23:18:25 +02:00
process.c um: Switch clocksource to hrtimers 2015-11-06 22:54:49 +01:00
registers.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
sigio.c um: Cleanup SIGTERM handling 2013-09-07 10:56:58 +02:00
signal.c um: Compile with modern headers 2018-03-29 22:15:12 +02:00
start_up.c Fix minor typos and grammar in UML start_up help 2017-09-13 22:33:23 +02:00
time.c um: Switch clocksource to hrtimers 2015-11-06 22:54:49 +01:00
tty.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
umid.c um: Use os_warn to print out pre-boot warning/error messages 2017-07-05 23:18:25 +02:00
user_syms.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
util.c um: Add os_warn() for pre-boot warning/error messages 2017-07-05 23:18:02 +02:00