[Patch, libfortran] PR 50016 Slow IO on Windows due to _commit()

Janne Blomqvist blomqvist.janne@gmail.com
Mon Nov 7 17:43:00 GMT 2011


PING!

On Mon, Oct 31, 2011 at 20:57, Janne Blomqvist
<blomqvist.janne@gmail.com> wrote:
> Hi,
>
> here's an updated version of my patch that gets rid of _commit along
> with a section in the manual describing data consistency and
> durability issues.
>
> See also the thread starting at
>
> http://gcc.gnu.org/ml/fortran/2011-10/msg00079.html
>
> and the latest mail in that thread with my current thinking which
> perhaps explains some of the motivations behind this patch:
>
> http://gcc.gnu.org/ml/fortran/2011-10/msg00141.html
>
> Regtested on x86_64-unknown-linux-gnu, Ok for trunk?
>
> frontend ChangeLog:
>
> 2011-10-31  Janne Blomqvist  <jb@gcc.gnu.org>
>
>        PR libfortran/50016
>        * gfortran.texi (Data consistency and durability): New section.
>
>
> testsuite ChangeLog:
>
> 2011-10-31  Janne Blomqvist  <jb@gcc.gnu.org>
>
>        PR libfortran/50016
>        * gfortran.dg/inquire_size.f90: Don't flush the unit.
>
> libgfortran ChangeLog:
>
> 2011-10-31  Janne Blomqvist  <jb@gcc.gnu.org>
>
>        PR libfortran/50016
>        * io/inquire.c (inquire_via_unit): Flush the unit and use ssize.
>        * io/unix.c (buf_flush): Don't call _commit.
>
>
> --
> Janne Blomqvist
>



-- 
Janne Blomqvist



More information about the Gcc-patches mailing list