[Bug 243692] file-backed VMs virtioblock report dev blocksize == underlying ZFS recordsize
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jul 16 16:42:05 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243692
Allan Jude <allanjude at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |allanjude at FreeBSD.org
--- Comment #2 from Allan Jude <allanjude at FreeBSD.org> ---
(In reply to James Blachly from comment #1)
When you are configuring the bhyve, when you create the virtio-blk device, it
can take an optional parameter: sectorsize=logical[/physical]
So you can force the block size exposed to be smaller than that reported by ZFS
Possibly, you might want to set the zfs record size to be smaller, since you
likely don't want that degree of write amplification in your file-backed VM
images anyway.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-virtualization
mailing list