3 nbdkit-readahead-filter - prefetch data when reading sequentially
7 nbdkit --filter=readahead plugin
11 C<nbdkit-readahead-filter> is a filter that prefetches data when the
12 client is reading sequentially.
14 A common use for this filter is to accelerate sequential copy
15 operations (like S<C<qemu-img convert>>) when plugin requests have a
16 high overhead (like L<nbdkit-curl-plugin(1)>). For example:
18 nbdkit -U - --filter=readahead curl https://example.com/disk.img \
19 --run 'qemu-img convert $nbd disk.img'
21 If you use this filter with clients that have a random access pattern
22 it will slow everything down.
26 There are no parameters specific to nbdkit-readahead-filter. Any
27 parameters are passed through to and processed by the underlying
28 plugin in the normal way.
33 L<nbdkit-cache-filter(1)>,
34 L<nbdkit-curl-plugin(1)>,
44 Copyright (C) 2019 Red Hat Inc.