[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 0/2] ls: use statx() when it's available
From: |
Pádraig Brady |
Subject: |
Re: [PATCH v4 0/2] ls: use statx() when it's available |
Date: |
Wed, 9 Oct 2019 10:19:18 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 19/09/19 16:59, Jeff Layton wrote:
v4:
- set appropriate STATX_* bits for time_type, sort_type and
print_block_size
v3:
- syntax cleanups. make syntax-check now passes
v2:
- add wrappers for stat_for_ino and fstat_for_ino, don't factor out loop
detection
- style cleanups
Sorry for the delay in reviewing.
This looks good, except for the usage
of AT_STATX_DONT_SYNC when retrieving inode info.
Sure that generally doesn't change, but that
would be file system dependent, and I have seen
file systems that populate inode with counters etc.
Anyway that sort of decision would be best done
in the kernel I think, where it would have the
info whether it needs to sync for STATX_INO or not.
OK for me to push without the DONT_SYNC ?
thanks,
Pádraig