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.96) (envelope-from ) id 1wAkrt-000IEq-2c for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Apr 2026 08:36:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wAkrs-004VIn-0M for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Apr 2026 08:36:05 +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.96) (envelope-from ) id 1wAkrr-004VIe-2f for pgsql-hackers@lists.postgresql.org; Thu, 09 Apr 2026 08:36:04 +0000 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wAkrp-000000009Ep-3Ffo for pgsql-hackers@lists.postgresql.org; Thu, 09 Apr 2026 08:36:03 +0000 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-59e5aa4ca41so574532e87.2 for ; Thu, 09 Apr 2026 01:36:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1775723760; cv=none; d=google.com; s=arc-20240605; b=Sh/TvWW5dV6XykqwcSa6rFn4/XcidWtnb94qqKiyqiiLJHdwbN3T3nk+hjUdy98BiF pXM81MCg4JhgiYz9uWR/yH2UJB08wl3pGwM8d8FvCgJbBjHb5KvuC8qGy+8fMx5vSj3+ PayXaMTMfzB6jxg0IBEJMLMkWD8cFFllfTJDjkJxxLTJteWO43dejvodFC9Jatr2IoLc wbF37yQAGuVLmW1T6JIBRcPu1Ke11eyo1UwnK3Os32q2S+OU4qrdBSTi3UC+sML4HNk+ ctL8RnujPzTXPcIILjBOr8o7Vx6eL+e8t2B5ZzCp0YApzZv0roazLPVnQ8TI/xOPvdZ2 MvrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=qx3LC2KjULtzEIiVbzNQH74ruQwYHGww6GbdCSJo43s=; fh=5lisVc/SdZrXESFhj6i3cPQivKRq2wrqq/p4/OVduqw=; b=jMQH80Mggmcjy1zOQMgsdp1SLKh8m2MHJgDOin7n6/4CagJBXi3OyIOFw5E4ebn+sc 8sQJ6fLubB4AZcdH34tHabEpza3G+CpIS4UrX/sJSmnpeQR1PRLA4DxZ4lURAMNq+RP8 BkBfA3tcEwbJvUtc5nzIytjRVDd4pS/nrcQgMVKJj9xKKdDO8vpKKPwmJbWhHfRTRQSI FEX6nJFvbLn+9TqqMBupEHfP/gNqA+cRQoaNzp32qyTu1HtOYmElqk/pB/MaItwtmPf+ nObr43qs3+cKty6UpRDE2LMV3kTVvsKNAdr0ni88khE28tdj9H3QbILTyVgnbspywvEP rFJg==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1775723760; x=1776328560; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=qx3LC2KjULtzEIiVbzNQH74ruQwYHGww6GbdCSJo43s=; b=YKv7qbxXF2jCUOjO2HxSuDAYYO9xedGWSrpTs7FbhlZ5g11oTF/WAuIB4C6c8Fxqup unnYlvAAXBWYnKHs2Nwumlq7QYTrBbRDZLf16CnszRn8W0FS4+9nAZD9bT2cbmDbmUU5 ne8ALm1ouEkBpZ+rRv61Nc2qef2UC7Eb2RgPj+Zc0OGShHts+/AGtWenskPdgBQ0Z/dV kUDG+KdMDYvBB9yZn19cT7fit1WYW+RIVgNF1qnpCSdhcVEI+frTrtRUos+E+6lhebho ajupukNQbOMPy0GtL4Ca8uOsXF039akTdr0ahdJeStjHftGG/X1RUbqcecmBdPlgMmVV fVuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775723760; x=1776328560; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=qx3LC2KjULtzEIiVbzNQH74ruQwYHGww6GbdCSJo43s=; b=XihQviyvWQd9K7MS4N0cbNlC4UsFdxgPdJEXTfftIqGvRjXaM2mmp48oiO/UNOUDff zndJNHAxZIAqqxFEGq9gmtP0GIuj0kBz/6FDwEKGuKDW55RJz0ynS3if1uBssvFzhhzZ xuWLgZOOlrDr6rds+XP+I63SG6HXfwZAHhLJEBZfsk6yR3haFfSfoErFBQXBgrKIci6u VF3Xv9HYuK4BR4UAtk2P31Ds528HEicmTLYQ9qPMnMc8BrOKo93zNIx1buqPZuOvPhnr qZHfHELchbTsYtkgMtTl2h9xFRcj5vWftRG77oti4DRJiDYKM43YsZ9T3R9GMIcdTVCl p0Pg== X-Gm-Message-State: AOJu0YykpdaX7Unzm9qZCf309ufZjy3Z2AtPjDUUO+Y8UgYHu0/ANTV0 8ySt8enyBlveBoPVZMFtFcGHxsNDtmZRV/lI4QWalkiBQMsICXH3uZVPhfpz1kBqSub5ja9lFBH 0INY/VqjmTfDppwX63Yw7p36QBU7bKggs/OoHtazV3AzLoD7fnTSZyVwH X-Gm-Gg: AeBDiet9aVcxXBStMBhlIQqR4ix9YFiPds8/5lfSYN+IFEHxh/5I/QNTOno8KNOz8jr IAKsT+cR5+lwQBvIA4YuqUSNLCR881raAeKGVdE8jFiOf5y07ACxNt0RycXQ31qTBY1nnQO0z47 O2f9d4IhydSQSd7dcC5UuRiZ9obR4JWgrR8f0rASUEQMyr2tDPLDoEQI0nVyJ15HFz+cEQb6z1V k6Xpp4EKLN0BPvvgIBbXrnDHruMejjvrVvFQB8tvvTi90KfeJjMBPKqpiC1WJxJjFDRCR3QSXuD 73nsNdZcGSVPmIcHnZoX83dUj3o2lZsaZHx38z5EBz9lFWSW1zvFvtZ3h60A7gbqEc9xoW5Ua2V uHA== X-Received: by 2002:a05:6512:6c7:b0:5a3:cd67:9e34 with SMTP id 2adb3069b0e04-5a3cd679ef8mr6555926e87.38.1775723759746; Thu, 09 Apr 2026 01:35:59 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jakub Wartak Date: Thu, 9 Apr 2026 10:35:48 +0200 X-Gm-Features: AQROBzCCGCDb3MRvc-NfybOyucFiaQlBOaVNzTo2E21fWSv6fh8dzAbQGyRW99g Message-ID: Subject: Re: Failing test_aio tests due to too low(illegal?) segsize_blocks To: Andres Freund Cc: PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Apr 8, 2026 at 8:57=E2=80=AFPM Andres Freund w= rote: > > Hi, > > On 2026-04-08 08:51:30 +0200, Jakub Wartak wrote: > > For some reason I've ended up using -Dsegsize_blocks=3D4 and I've start= ed > > getting ninja test errors after getting back from vacation leave like > > below (so this test was included only since then): > > It's IIRC not the only test that fails if you do that. > > > > .cirrus file show usage of segsize_blocks=3D6, and also 8 works fine wi= thout > > errors, so it's just nuisance on my side, but it took some minutes for = me > > to realize this and I'll just ask maybe we should just block usage of > > RELSEG_SIZE < 6 blocks in meson/configure? (patch attached) > > -1. I find it quite useful for testing some edge cases to be able to > configure with less. > > If you really care, I'd be ok with a patch that makes the relevant test_a= io > tests errors out with if it's set to a too low value... Ah, true, with segsize_blocks=3D2 I've got failures in basebackup, amcheck, test_aio. I'm not going into that dragons' den. Ok, so maybe it would be useful to ju= st issue some sort of warning about that some test may fail when using value l= ess than 6? -J.