This implements the discard_range hook. When a range of data is
discarded then we do not have to read it from the device and can
pass a zeroed buffer instead.
Signed-off-by: Sascha Hauer
---
common/block.c | 21 +
include/block.h | 3 +++
2 files changed, 24 insertions(+)
This implements the discard_range hook. When a range of data is
discarded then we do not have to read it from the device and can
pass a zeroed buffer instead.
Signed-off-by: Sascha Hauer
---
common/block.c | 21 +
include/block.h | 3 +++
2 files changed, 24 insertions(+)