svn commit: r322247 - head/sys/cddl/contrib/opensolaris

Andriy Gapon avg at FreeBSD.org
Tue Aug 8 11:28:40 UTC 2017


Author: avg
Date: Tue Aug  8 11:28:38 2017
New Revision: 322247
URL: https://svnweb.freebsd.org/changeset/base/322247

Log:
  MFV r322246: 8508 Mounting a zpool on 32-bit platforms panics
  
  FreeBSD note: this is a record-only commit, the actual change originated
  from FreeBSD.
  
  illumos/illumos-gate at b11fe8c01471a5bff68e83e1fe5f809ad16b3be8
  https://github.com/illumos/illumos-gate/commit/b11fe8c01471a5bff68e83e1fe5f809ad16b3be8
  
  https://www.illumos.org/issues/8508
    Mounting a zpool on a 32-bit system triggers a panic in spa_history_log_version
    () due to a type format mismatch for ZPL_VERSION. ZPL_VERSION is a unsigned
    long long, but the format expects an integer. On 64-bit platforms this may not
    be an issue due to word size and alignment. On 32-bit platforms a word size is
    half that of a long long, causing the second word of the long long to be seen
    as the string pointer for utsname.nodename.
  
  Reviewed by: Matt Ahrens <mahrens at delphix.com>
  Approved by: Dan McDonald <danmcd at joyent.com>
  Author: Justin Hibbits <chmeeedalf at gmail.com>

Modified:
Directory Properties:
  head/sys/cddl/contrib/opensolaris/   (props changed)


More information about the svn-src-head mailing list