You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
int flags = AT_NO_AUTOMOUNT | AT_SYMLINK_NOFOLLOW | AT_STATX_DONT_SYNC;
returns ERRNO 22 (EINVAL = invalid argument) on a btrfs volume on a Synology NAS on some files*; swapping the flags to use AT_STATX_SYNC_AS_STAT, scans a 100TB array without a single stat error:
int flags = AT_NO_AUTOMOUNT | AT_SYMLINK_NOFOLLOW | AT_STATX_SYNC_AS_STAT;
nothing special about the files that errored, I guess that's how AT_STATX_DONT_SYNC works?
The text was updated successfully, but these errors were encountered:
statx()
with flags:int flags = AT_NO_AUTOMOUNT | AT_SYMLINK_NOFOLLOW | AT_STATX_DONT_SYNC;
returns ERRNO 22 (
EINVAL
= invalid argument) on a btrfs volume on a Synology NAS on some files*; swapping the flags to useAT_STATX_SYNC_AS_STAT
, scans a 100TB array without a single stat error:int flags = AT_NO_AUTOMOUNT | AT_SYMLINK_NOFOLLOW | AT_STATX_SYNC_AS_STAT;
AT_STATX_DONT_SYNC
works?The text was updated successfully, but these errors were encountered: