[dm-devel] [PATCH 6/7] dm-crypt: make it possible to disable offload to thread

Mike Snitzer snitzer at redhat.com
Mon Feb 16 14:08:48 UTC 2015


On Fri, Feb 13 2015 at  8:27am -0500,
Mikulas Patocka <mpatocka at redhat.com> wrote:

> There are some situation where offloading bios to a thread degrades
> performance twice, so we make an option to disable this feature. The
> feature can be disabled by passing performance_no_offload as an optional
> table argument performance_no_offload.
> 
> We increase target version to 14 so that userspace can be aware of this
> feature.
> 
> The default is to offload bios because for CFQ it is benefical to do so.
> 
> Signed-off-by: Mikulas Patocka <mpatocka at redhat.com>

I changed the option to 'submit_writes_from_encrypt_threads', see:

https://git.kernel.org/cgit/linux/kernel/git/device-mapper/linux-dm.git/commit/?h=dm-for-3.20&id=70a296ba4bfff0355fd57d29ad607ad79590635d

I'm open to other names for this option but felt your original
'performance_no_offload' was too opaque to users.




More information about the dm-devel mailing list