Summary: | ZFS can have a non-empty directory, but the files don't exist on arm64. | ||
---|---|---|---|
Product: | Base System | Reporter: | Andrew Turner <Andrew> |
Component: | kern | Assignee: | Andrew Turner <Andrew> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | avg, emaste, peter |
Priority: | --- | ||
Version: | CURRENT | ||
Hardware: | arm64 | ||
OS: | Any | ||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204037 | ||
Bug Depends on: | |||
Bug Blocks: | 203349 |
Description
Andrew Turner
2015-11-06 16:55:26 UTC
This seems to be fixed by adding memory barriers to the opensolaris atomic_cas_* functions. These are used as a locking primitive (along with other uses). It may be overkill to add to both atomic_cas_* functions as some code may not depend on the ordering & this will slow it down, but fixing this can be a later task after testing to check if these barriers are sufficient. Did the extra barriers get added? I've been experimentally running root-on-zfs on a machine in the cluster in a typical cluster configuration to see if I can break things, but it seems quite solid. I don't know if it matters but it is running top-of-tree with the avg@'s ZPL namespace layer fixes. I think it has been fixed, I haven't been able to reproduce this on a more recent head. I'm running a ZFS root system in the netperf cluster, and another with poudriere building packages on ZFS and haven't seen any ZFS issues. This seems to be fixed, I've been using zfs on ThunderX without seeing these issues. |