Re: [PATCH v4 3/4] stat: only set STATX_* mask bits for things we want to print

2019-05-13 Thread Jeff Layton
On Fri, 2019-05-10 at 02:28 -0700, Pádraig Brady wrote: > On 01/05/19 06:57, Jeff Layton wrote: > > Scan the format string to build a STATX_* mask prior to calling statx. > > This allows us to avoid setting bits for attributes that we don't > > intend to display, which can mean a much

Re: [PATCH v4 3/4] stat: only set STATX_* mask bits for things we want to print

2019-05-10 Thread Pádraig Brady
On 01/05/19 06:57, Jeff Layton wrote: > Scan the format string to build a STATX_* mask prior to calling statx. > This allows us to avoid setting bits for attributes that we don't > intend to display, which can mean a much lighter-weight operation on > some filesystems. Do we have more

[PATCH v4 3/4] stat: only set STATX_* mask bits for things we want to print

2019-05-01 Thread Jeff Layton
Scan the format string to build a STATX_* mask prior to calling statx. This allows us to avoid setting bits for attributes that we don't intend to display, which can mean a much lighter-weight operation on some filesystems. * src/stat.c: only set STATX_* mask bits for things we want to print ---