Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 May 2017 11:19:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 209759] [patch] Prevent deadlocks when paging on GELI-encrypted devices
Message-ID:  <bug-209759-8-0a7aEyQO3Y@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-209759-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-209759-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209759

Fabian Keil <fk@fabiankeil.de> changed:

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

--- Comment #1 from Fabian Keil <fk@fabiankeil.de> ---
Created attachment 182268
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D182268&action=
=3Dedit
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=3D1 and using the device for a
ZFS pool with recordsize=3D1M without adjusting the zone item size to fit.

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209759-8-0a7aEyQO3Y>