Open planetrocky opened 2 months ago
I'm going to have to debug this more. It's not finding a single inode (and is running as UID=0).
Whereas I can manually find all the inodes that have fsnotify watches on from command-line find /volume1 -inum 222951
etc.
Looks like this is a btrfs volume. I don't have that and have no idea what's going on there. Sorry...
statx()
with flags: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:AT_STATX_DONT_SYNC
works?