Blame SOURCES/0012-curl-Don-t-document-curl-plugin-readahead-filter.patch

3cdd4c
From 4a7e5169935c8850fddcea8da79639ded907c549 Mon Sep 17 00:00:00 2001
3cdd4c
From: "Richard W.M. Jones" <rjones@redhat.com>
3cdd4c
Date: Sat, 14 May 2022 14:00:16 +0100
3cdd4c
Subject: [PATCH] curl: Don't document curl plugin + readahead filter
3cdd4c
3cdd4c
nbdkit readahead filter does not support plugins which do not use the
3cdd4c
parallel thread model.
3cdd4c
3cdd4c
Fixes: commit 2ff548d66ad3eae87868402ec5b3319edd12090f
3cdd4c
(cherry picked from commit 92fbb76d11b9f17c527debd803aa2505f3642783)
3cdd4c
---
3cdd4c
 docs/nbdkit-captive.pod             | 7 -------
3cdd4c
 plugins/curl/nbdkit-curl-plugin.pod | 1 -
3cdd4c
 2 files changed, 8 deletions(-)
3cdd4c
3cdd4c
diff --git a/docs/nbdkit-captive.pod b/docs/nbdkit-captive.pod
3cdd4c
index eafe36d8..d41a824d 100644
3cdd4c
--- a/docs/nbdkit-captive.pod
3cdd4c
+++ b/docs/nbdkit-captive.pod
3cdd4c
@@ -110,13 +110,6 @@ an embedded disk image.  To copy it out:
3cdd4c
 
3cdd4c
  nbdkit -U - example1 --run 'qemu-img convert $nbd disk.img'
3cdd4c
 
3cdd4c
-If plugin requests have a high overhead (for example making HTTP
3cdd4c
-requests to a remote server), adding L<nbdkit-readahead-filter(1)> may
3cdd4c
-help performance:
3cdd4c
-
3cdd4c
- nbdkit -U - --filter=readahead curl https://example.com/disk.img \
3cdd4c
-        --run 'qemu-img convert $nbd disk.img'
3cdd4c
-
3cdd4c
 If the source suffers from temporary network failures
3cdd4c
 L<nbdkit-retry-filter(1)> or L<nbdkit-retry-request-filter(1)> may
3cdd4c
 help.
3cdd4c
diff --git a/plugins/curl/nbdkit-curl-plugin.pod b/plugins/curl/nbdkit-curl-plugin.pod
3cdd4c
index 54fce66c..fc422ca2 100644
3cdd4c
--- a/plugins/curl/nbdkit-curl-plugin.pod
3cdd4c
+++ b/plugins/curl/nbdkit-curl-plugin.pod
3cdd4c
@@ -509,7 +509,6 @@ L<CURLOPT_VERBOSE(3)>,
3cdd4c
 L<nbdkit(1)>,
3cdd4c
 L<nbdkit-extentlist-filter(1)>,
3cdd4c
 L<nbdkit-file-plugin(1)>,
3cdd4c
-L<nbdkit-readahead-filter(1)>,
3cdd4c
 L<nbdkit-retry-filter(1)>,
3cdd4c
 L<nbdkit-retry-request-filter(1)>,
3cdd4c
 L<nbdkit-ssh-plugin(1)>,
3cdd4c
-- 
3cdd4c
2.31.1
3cdd4c