diff options
author | Emmanuel Dreyfus <manu@netbsd.org> | 2018-08-20 15:28:16 +0200 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-08-21 16:44:04 +0000 |
commit | 0f86ed9f8be0666bb49252daa24b2db6aa174199 (patch) | |
tree | afe784b649e919a68243c15ab4cf7dab24684386 /xlators/protocol/client/src/client-lk.c | |
parent | fcd0c24abfccfe8d1faf64269a113596577355a8 (diff) |
Fix physical memory detection on NetBSD
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.
That fix is important because it cause recent glusterfs to refuse
mounting fileystems when there is too much RAM, with an error loading
the quick-read xlator
[quick-read.c:838:check_cache_size_ok] 0-gfs-quick-read:
Cache size 134217728 is greater than the max size of 0
Change-Id: I957a1ff1d7018fe2f9d47384a28708e6cbdf710a
Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org>
Fixes: bz#1619475
Diffstat (limited to 'xlators/protocol/client/src/client-lk.c')
0 files changed, 0 insertions, 0 deletions