[Bugs] [Bug 1619475] New: NetBSD memory detection issue

bugzilla at redhat.com bugzilla at redhat.com
Tue Aug 21 01:01:23 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1619475

            Bug ID: 1619475
           Summary: NetBSD memory detection issue
           Product: GlusterFS
           Version: mainline
         Component: porting
          Severity: high
          Assignee: bugs at gluster.org
          Reporter: manu at netbsd.org
                CC: bugs at gluster.org



NetBSD has two sysctl for physical memory detection: hw.physmem and
hw.physmem64. Only the later is 64-bit proof, and it has been
available for years.

glusterfs uses the former, which leads to incorrect zero value detected when
there is too much memory. As a result, mount will fail with:
[quick-read.c:838:check_cache_size_ok] 0-gfs-quick-read:
  Cache size 134217728 is greater than the max size of 0

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list