split: Add support for .extents
commit8c7987c242eb9018c076424426e4779e1dc6e132
authorEric Blake <eblake@redhat.com>
Mon, 10 Feb 2020 14:42:36 +0000 (10 08:42 -0600)
committerEric Blake <eblake@redhat.com>
Mon, 10 Feb 2020 14:50:32 +0000 (10 08:50 -0600)
tree3c68e4815429c42cfd67c8a5d9bde2af690dffe7
parent01ce88f56f93afd577a8e3b2cc28d825693c8db2
split: Add support for .extents

Copies somewhat from the file plugin, with the difference that we
always provide an .extents even if one or more of the split files does
not support SEEK_HOLE.

Testing is possible on a file system that supports sparse files when
using nbdsh.

Signed-off-by: Eric Blake <eblake@redhat.com>
plugins/split/Makefile.am
plugins/split/split.c
tests/Makefile.am
tests/test-split-extents.sh [copied from plugins/split/Makefile.am with 51% similarity, mode: 0755]