FreeBSD Bugzilla – Attachment 224770 Details for
Bug 254177
When ZFS is recognized, An i386 machine with a lot of memory hangs.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch file
i386_fix_zfs_load_hangup.patch (text/plain), 535 bytes, created by
Yasuhiro Kimura
on 2021-05-08 12:09:42 UTC
(
hide
)
Description:
Patch file
Filename:
MIME Type:
Creator:
Yasuhiro Kimura
Created:
2021-05-08 12:09:42 UTC
Size:
535 bytes
patch
obsolete
>diff --git a/sys/contrib/openzfs/module/zfs/dbuf.c b/sys/contrib/openzfs/module/zfs/dbuf.c >index d48dc7943a2..c85500453fb 100644 >--- a/sys/contrib/openzfs/module/zfs/dbuf.c >+++ b/sys/contrib/openzfs/module/zfs/dbuf.c >@@ -796,7 +796,7 @@ dbuf_init(void) > * By default, the table will take up > * totalmem * sizeof(void*) / 8K (1MB per GB with 8-byte pointers). > */ >- while (hsize * zfs_arc_average_blocksize < physmem * PAGESIZE) >+ while (hsize * zfs_arc_average_blocksize < (uint64_t)physmem * PAGESIZE) > hsize <<= 1; > > retry:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 254177
: 224770