RE: [PATCH v2 0/6] Implement a batched fsync option for core.fsyncObjectFiles
- From
Randall S. Becker <rsbecker@nexbridge.com>
- Date
- Sep 7, 2021, 19:54 UTC
- Message-ID
- <003701d7a422$21c32740$654975c0$@nexbridge.com>
- In-Reply-To
- <CANQDOdeEic1ktyGU=dLEPi=FkU84Oqv9hDUEkfAXcS0WTwRJtQ@mail.gmail.com>
On September 7, 2021 3:44 PM, Neeraj Singh wrote:
Show 11 quoted lines
>On Fri, Aug 27, 2021 at 4:49 PM Neeraj K. Singh via GitGitGadget <gitgitgadget@gmail.com> wrote: >> >> Thanks to everyone for review so far! I've responded to the previous >> feedback and changed the patch series a bit. >> >> Changes since v1: >> >> * Switch from futimes(2) to futimens(2), which is in POSIX.1-2008. Contrary >> to dscho's suggestion, I'm still implementing the Windows version in the >> same patch and I'm not doing autoconf detection since this is a POSIX >> function.
While POSIX.1-2008, this function is not available on every single POSIX-compliant platform. Please make sure that the code will not cause a breakage on some platforms - the ones I maintain, in particular. Neither futimes nor futimens is available on either NonStop ia64 or x86. The platform only has utime, so this needs to be wrapped with an option in config.mak.uname.
Thanks, Randall