Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rJY1j-00E0ql-Ey for pgsql-hackers@arkaria.postgresql.org; Sat, 30 Dec 2023 12:01:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rJY1f-00H9Em-9Z for pgsql-hackers@arkaria.postgresql.org; Sat, 30 Dec 2023 12:01:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rJY1e-00H9Ee-TA for pgsql-hackers@lists.postgresql.org; Sat, 30 Dec 2023 12:01:11 +0000 Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by magus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rJY1b-00EeJ7-Mb for pgsql-hackers@postgresql.org; Sat, 30 Dec 2023 12:01:10 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id EC7CEC0005; Sat, 30 Dec 2023 12:01:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=abcsql.com; s=gm1; t=1703937665; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cT5CKzpydIpuhKjleSazgGoDr8eF4lmfqBDnYB1mgtg=; b=BfZ2rqzTNzobc/2w19aLQMSNLpk78FawjMrbYSuT/N084bQ8Hf1bARPTjWCSqFlc9nqEp/ 0yejQt00BKwXXROtjdAx1rg1Ww/cENan+DYuaxXTgH1xLmD1uXVbKrVtDwYQx4bLPSWqy0 69DbRA3bDy7j5muQtXFAEfgthTE0RM28fW32dhzrCN1bHeEj+Jbh2UbhSNJBNcn7PDTC70 fr+aFMKQR5s5CeWcWQhJW244INlX2NzpJQNF0RuawUlkUL2t4zSNwshvbR6+p9+qzLP/7x oFv7PHnl3I2Kx9y1jc27XKceVtMZClcp9hqiy5Bdg7GTo0LuC4OMZnu5JZno9g== Message-ID: <1e28a879-907d-4bf1-a2c8-b89128cfc78f@abcsql.com> Date: Sat, 30 Dec 2023 13:01:04 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Streaming I/O, vectored I/O (WIP) Content-Language: fr, en-US To: Thomas Munro , Heikki Linnakangas Cc: Andres Freund , pgsql-hackers , Melanie Plageman References: <1c6f0c38-9181-4869-983f-3d6ef17dea3c@iki.fi> <20231208182554.swereaxcgvq72ts6@awork3.anarazel.de> <4533e76e-9519-4715-acd0-d4fa552619b0@iki.fi> From: =?UTF-8?Q?C=C3=A9dric_Villemain?= Organization: Data Bene In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-GND-Sasl: cedric.villemain@abcsql.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Le 11/12/2023 à 10:12, Thomas Munro a écrit : > 3. smgrreadv/smgrwritev patch: > > * improved ENOSPC handling > * improve description of EOF and ENOSPC handling > * fixed the sizes reported in dtrace static probes > * fixed some words in the docs about that > * changed error messages to refer to "blocks %u..%u" > > 4. smgrprefetch-with-nblocks patch has no change, hasn't drawn any > comments hopefully because it is uncontroversial. > > I'm planning to commit these fairly soon. Thanks, very useful additions. Not sure what you have already done to come next... I have 2 smalls patches here: * to use range prefetch in pg_prewarm (smgrprefetch only at the moment, using smgrreadv to come next). * to support nblocks=0 in smgrprefetch (posix_fadvise supports a len=0 to apply flag from offset to end of file). Should I add to commitfest ? --- Cédric Villemain +33 (0)6 20 30 22 52 https://Data-Bene.io PostgreSQL Expertise, Support, Training, R&D