This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RESEND][BZ #15132][PATCH] avoid stat/fstat in statvfs/fstatvfs


On Tue, May 27, 2014 at 06:08:14AM +0000, Eric Wong wrote:
> I tested with the above patch applied 3.14 kernel and verified it
> correctly falls back to using stat/fstat if the ST_VALID flag is
> missing.
> 
> On an unpatched 3.14 kernel, the same executables/binaries avoid
> stat/fstat when statvfs/fstatvfs are called.
> 
> I straced the following program to verify the presence/lack-of
> extraneous stat/fstat syscalls after statfs/fstatfs:
> 
>   strace /path/to/lib/ld-linux-x86-64.so.2 /tmp/statvfs
> 

I have pushed the patch into master.  Thank you for following up on
this!

Siddhesh

Attachment: pgpwR0_A0pB2_.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]