freebsd-dev/sys/cddl/contrib/opensolaris/uts
John Baldwin 697a86b6bf Adjust ZFS' link count handling for ino64.
- Define a ZFS_LINK_MAX as the ZFS version of LINK_MAX which is set to
  UINT64_MAX to match the on-disk format.
- Enable the currently #if 0'd code to check for link overflows and
  return EMLINK.
- Don't clamp the link count reported in stat() to LINK_MAX as that is
  still the 16-bit limit, but report the full link counts.  Also,
  avoid possibly overflowing the reported link count to 0 when adjusting
  the link count to account for ".snapshot".
- Update the LINK_MAX reported by pathconf() to report ZFS_LINK_MAX
  rather than LINK_MAX (but clamped to LONG_MAX for 32-bit systems).

Reviewed by:	avg (earlier version)
Sponsored by:	Chelsio Communications
2017-12-19 19:07:24 +00:00
..
aarch64 First cut of DTrace for AArch64. 2015-07-01 15:51:11 +00:00
arm Initial version of DTrace on ARM32. 2015-02-10 19:41:30 +00:00
common Adjust ZFS' link count handling for ino64. 2017-12-19 19:07:24 +00:00
intel Pass the trap frame to fasttrap hooks. 2017-12-11 19:21:39 +00:00
mips
powerpc Correct initialization of pc on powerpc. 2017-12-12 20:41:11 +00:00
riscv Add initial DTrace support for RISC-V. 2016-05-24 16:41:37 +00:00