v9.heikki-0006-Mention-that-STREAMING_READ_MAINTENANCE-is.patch

text/x-patch

Filename: v9.heikki-0006-Mention-that-STREAMING_READ_MAINTENANCE-is.patch
Type: text/x-patch
Part: 5
Message: Re: Streaming I/O, vectored I/O (WIP)

Patch

Format: format-patch
Series: patch v9-0006
Subject: Mention that STREAMING_READ_MAINTENANCE is used by VACUUM and CREATE INDEX
File+
src/include/storage/streaming_read.h 1 1
From 5a4841a008b4ebaa52f0d42a85a76e45e50bbdea Mon Sep 17 00:00:00 2001
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: Tue, 26 Mar 2024 11:35:32 +0200
Subject: [PATCH v9.heikki 6/9] Mention that STREAMING_READ_MAINTENANCE is used
 by VACUUM and CREATE INDEX

It took me a while to understand what a maintenance operation is. An
example helps.

Maybe we should even explicitly mention here that it means that
maintenance_io_concurrency is used instead of
effective_io_concurrency?
---
 src/include/storage/streaming_read.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/include/storage/streaming_read.h b/src/include/storage/streaming_read.h
index 74053d704ff..b48be02d4bf 100644
--- a/src/include/storage/streaming_read.h
+++ b/src/include/storage/streaming_read.h
@@ -21,7 +21,7 @@
 
 /*
  * I/O streams that are performing maintenance work on behalf of potentially
- * many users.
+ * many users.  For example, VACUUM or CREATE INDEX.
  */
 #define STREAMING_READ_MAINTENANCE 0x01
 
-- 
2.39.2