Re: [PATCH] stat: don't explicitly request file size for filenames

2019-07-04 Thread Andreas Dilger
On Jul 4, 2019, at 04:44, Pádraig Brady wrote: > > diff --git a/lib/areadlink-with-size.c b/lib/areadlink-with-size.c > index eacad3f..2fbe51c 100644 > --- a/lib/areadlink-with-size.c > +++ b/lib/areadlink-with-size.c > @@ -36,14 +36,15 @@ > check, so it's OK to guess too small on hosts where

Re: [PATCH] stat: don't explicitly request file size for filenames

2019-07-04 Thread Andreas Dilger
On Jul 4, 2019, at 04:44, Pádraig Brady wrote: > > On 03/07/19 21:24, Andreas Dilger wrote: >> When calling 'stat -c %N' to print the filename, don't explicitly >> request the size of the file via statx(), as it may add overhead on >> some filesystems.