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

Siddhesh Poyarekar siddhesh@redhat.com
Thu May 29 04:23:00 GMT 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20140529/d36f55f7/attachment.sig>


More information about the Libc-alpha mailing list