[PoC] implement EOR handling code for short reads
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>