[Bug 209759] [patch] Prevent deadlocks when paging on GELI-encrypted devices

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 3 11:19:25 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209759

Fabian Keil <fk at fabiankeil.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #170670|0                           |1
        is obsolete|                            |

--- Comment #1 from Fabian Keil <fk at fabiankeil.de> ---
Created attachment 182268
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=182268&action=edit
GELI: Use a dedicated uma zone for unauthenticated writes to onetime devices

This updated patch set falls back to using malloc if the the zone item size
is too small or if authentication is enabled.

The zone item size can be modified more conveniently through
the kern.geom.eli.max_uma_bio_length tunable.

The second patch in the set works around #218911 but is only relevant
if the zone item size is modified.

The previous version of the patch would cause crashes when setting
kern.geom.eli.use_uma_for_all_writes=1 and using the device for a
ZFS pool with recordsize=1M without adjusting the zone item size to fit.

Authenticated writes (even when made to onetime devices) could
result in crashes as well.

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


More information about the freebsd-bugs mailing list