Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:113069 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 52868 invoked from network); 3 Feb 2021 18:03:41 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 3 Feb 2021 18:03:41 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 521EF1804DC for ; Wed, 3 Feb 2021 09:47:11 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, HTML_FONT_LOW_CONTRAST,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-oi1-f178.google.com (mail-oi1-f178.google.com [209.85.167.178]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 3 Feb 2021 09:47:10 -0800 (PST) Received: by mail-oi1-f178.google.com with SMTP id w124so736483oia.6 for ; Wed, 03 Feb 2021 09:47:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=xOMQUCyAt8yHgCJtuCVQiaraVSKL3F69TNIKJ/6dEhk=; b=WZ6q6ZV71RD51ItbAcw2B4jvwiTh2we/FX+dhj7TOZAKeXUrA4sLnq8R9gXm2oPmlE 1nVWfZYmnXrPEvCew11c1UJsW6CkNE6tkIkPtezmRHJGFhYJM8VXtG7cetG4aHi/ah8+ 0JZLjr4MPq5/E/0o/QCbZlugOweav2eGhsjtrQPFNM+N/NBh1VYV0KFrEumBnrEM7OxH P2RvVC8fWz8tPVf8MakI3ZhxF9jrSxj2NgZZRLr8MTXxsjjdUBeiLH4/3Bs7kgEvGF2Q fhJZ26TECRJnqIFaCL5Fu42Wnea6RxeD+wS6HrJb1MlRKClm4JJxIbtnBSpwTa0KU7Jw 6YXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=xOMQUCyAt8yHgCJtuCVQiaraVSKL3F69TNIKJ/6dEhk=; b=JmGx8LLfNHRnA5BW5C+eUUdDCxgeZTmLU9PHEldoul1GOArXWpBosmvUmqd262bBkW OywrXl1WAFHJnJdBX4PywlEmrIRqnqq1JMiAF/183U+EA9Ww+lN5c7xWIL2A0q2wJxkq yeE9SdNO6NCSxYw0dZLaY8Ib93QBoxGSas1RCebDn01eIbsBQpPVMt4ofJcdjzX/P70V L2oz9ESywBJNwpZB/eJzENFQY4bWOCOFXsbWNxlrZvWCoMeTXl08PifRy7mFqZ5ThfBG Ge2HaFoSvBAGbIt/PzKVjc5muDIYdGrbptprUEHxeDUHdyDhCWca0lAX/XQxtixL06Y+ i1rA== X-Gm-Message-State: AOAM533u3GqDOjuGteCmwn4fvm5J6F1AGRvhnMIG2brxhOrHfStWNuAj kn+4L7bZVaH1o9rLzqeBE/WjcN5QUTy1PL1RRE5P3+YwIvY= X-Google-Smtp-Source: ABdhPJzh2Eg5DfHKuoM8/phs06cYCk3oWLCj/eLWrC84lsmFZZMZEZJHBfzwYOHWUymICFPmoush9dDcHq6mNaKXxaY= X-Received: by 2002:a05:6808:18:: with SMTP id u24mr2635711oic.177.1612374429046; Wed, 03 Feb 2021 09:47:09 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 3 Feb 2021 17:46:58 +0000 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="0000000000001699ef05ba722dc7" Subject: Re: [RFC]: fsync function From: davidgebler@gmail.com (David Gebler) --0000000000001699ef05ba722dc7 Content-Type: text/plain; charset="UTF-8" RFC ref: https://wiki.php.net/rfc/fsync_function PR ref: https://github.com/php/php-src/pull/6650 I think this one is pretty much good now and passing builds; when I first proposed adding fsync some time ago, there was a suggestion from a couple contributors that an RFC might be overkill/unnecessary for this feature (and I'd certainly be happy for it to just be accepted as a pull request) but want to make sure everyone has had a good chance to look over the RFC and implementation and specifically whether anyone has any significant concerns or objections? Thanks. Dave On Mon, Feb 1, 2021 at 5:35 PM David Gebler wrote: > Hi internals, > I have updated the GitHub PR and wiki RFC to also include an > implementation of fdatasync. > > On another note, I note my PR builds are failing on MACOS_DEBUG_NTS with a > test in ext/zend_test/tests/observer_error_05.phpt- this does not appear > to be related to my changes and I'm wondering if anyone can shed any light > on this? I'm seeing it on some other open PRs too so I'm guessing it's a > known issue? Cheers. > > David Gebler > davidgebler@gmail.com > > > On Sat, Jan 30, 2021 at 6:34 PM David Gebler > wrote: > >> Updated the PR https://github.com/php/php-src/pull/6650 following >> comment from Nikita, added basic tests, would appreciate further review >> from contributors, have updated the RFC >> https://wiki.php.net/rfc/fsync_function to under discussion, cheers. >> >> David Gebler >> davidgebler@gmail.com >> >> >> On Sat, Jan 30, 2021 at 1:58 AM David Gebler >> wrote: >> >>> Hi internals, >>> Some time back I asked for commentary on a proposal to add fsync() to >>> PHP, I have now submitted a draft RFC >>> https://wiki.php.net/rfc/fsync_function alongside an in-progress proof >>> of concept PR (current status: can compile locally and run but the branch >>> needs more work to bring it up to standard, as well as tests and >>> documentation) which I would like to open up for review and discussion. >>> >>> Thanks. >>> >>> David Gebler >>> davidgebler@gmail.com >>> >>> --0000000000001699ef05ba722dc7--