Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n5LBD-0006eJ-5l for pgsql-hackers@arkaria.postgresql.org; Thu, 06 Jan 2022 05:19:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n5LBC-0006gw-3P for pgsql-hackers@arkaria.postgresql.org; Thu, 06 Jan 2022 05:19:14 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n5LBB-0006ex-Nb for pgsql-hackers@lists.postgresql.org; Thu, 06 Jan 2022 05:19:13 +0000 Received: from mail-il1-x12a.google.com ([2607:f8b0:4864:20::12a]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n5LB9-0007tU-3k for pgsql-hackers@postgresql.org; Thu, 06 Jan 2022 05:19:12 +0000 Received: by mail-il1-x12a.google.com with SMTP id y16so1236254ilq.8 for ; Wed, 05 Jan 2022 21:19:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=4h1dCifrjhanHpm0aArbr6kz6qvhMjZIM955g+yyRpM=; b=Frdg5+znwDt3NKU4XGeVlHXiiCbBkvygNnCckat3c20+UQpkIRC/Q1k9m/F6yYxIV0 sXGnfr1v4T3zZyDdo9+LyDIpNDxCz7k9yq6KbofvaVM+O9jHc89Uj0h6X2VetBxlbf0g 5nqkJeMaGISnPcA92a4DJ+Qlw+OWpSHBab51YMZ/thKGiGihjC8EU7fEKUxtx4HRF8kl 2OIAPczc8czMBvK06czYc26lfksPZ0EcmTppsm/0msccrfh/WK5obOw1l5+EF6Ih6W7l jA4uhhnv8uH780l4Zmr22bhAJ1E11Pd2PnHliijASVbTbo/UA5UzKBwjlS33aob45b6/ J3Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=4h1dCifrjhanHpm0aArbr6kz6qvhMjZIM955g+yyRpM=; b=mNjPshppMlS2INTqIGqll6TgTrw4RP61+TE5+gN0ZfuvyP2Yhugj1wXUVSjzMmCnEP 7wgfzY4yuXehcRc4upXnwT4RZs31p2Bi+ny3zgpwFWrvieAI+l1rIiKVIca1aLSCy5uB /3IBa9e/pcduVvDM2e4MkNAuMcfzHpeQ2FBKdD2OpxpzRIH66AmMTZA0hBq1ks5aKits MGA6feh4H9wxGoN7naVjQ6wkN1FURD8Db6teysOlisgf5SZE/3ERDLnRlrj13VmFi2gL zun21cfZHg012eO/GcKLEIIP3wPWHE+c3KZLrtuZ56yafmtCMTUE+gESRxcG63+O3+qU 2cnw== X-Gm-Message-State: AOAM532sjPGP5P9kU3iqQFE42CTuX+1/1evrDQLvmpjUNssXnl8kGPDo gEQAzJ5LP+G2c75eEnb8xpoI+w== X-Google-Smtp-Source: ABdhPJz8Wq2U/zT1GFHNx/thceeE7Izd3J54ulj2yUyUmDlkz0Qw7w1ncxPsTLEc1E6xwVu6eJPk4A== X-Received: by 2002:a92:90b:: with SMTP id y11mr25081349ilg.321.1641446350308; Wed, 05 Jan 2022 21:19:10 -0800 (PST) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id c11sm598610ile.24.2022.01.05.21.19.10 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Jan 2022 21:19:10 -0800 (PST) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 06A5280482E; Wed, 5 Jan 2022 23:19:08 -0600 (CST) Date: Wed, 5 Jan 2022 23:19:08 -0600 From: Justin Pryzby To: Thomas Munro Cc: Takashi Menjo , pgsql-hackers@postgresql.org, Tomas Vondra , Masahiko Sawada , Heikki Linnakangas , "Tsunakawa, Takayuki" , "Deng, Gang" , Takashi Menjo , Matthias van de Meent , Daniel Gustafsson Subject: Re: Map WAL segment files on PMEM as WAL buffers Message-ID: <20220106051908.GV14051@telsasoft.com> References: <20220106040000.GU14051@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Jan 06, 2022 at 05:52:01PM +1300, Thomas Munro wrote: > On Thu, Jan 6, 2022 at 5:00 PM Justin Pryzby wrote: > > I'm attaching a probable fix. Unfortunately, for patches like this, most of > > the functionality isn't exercised unless the library is installed and > > compilation and runtime are enabled by default. > > By the way, you could add a separate patch marked not-for-commit that > adds, say, an apt-get command to the Linux task in the .cirrus.yml > file, and whatever --with-blah stuff you might need to the configure > part, if that'd be useful to test this code. In general, I think that's more or less essential. But in this case it really doesn't work :( running bootstrap script ... 2022-01-05 23:17:30.244 CST [12088] FATAL: file not on PMEM: path "pg_wal/000000010000000000000001" -- Justin