All of lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <gmazyland@gmail.com>
To: Mike Snitzer <snitzer@redhat.com>, laurent cop <laurent.cop@gmail.com>
Cc: dm-devel@redhat.com
Subject: Re: LUKS2 - RAID0 - NVME : alignment issue
Date: Fri, 19 Oct 2018 08:43:21 +0200	[thread overview]
Message-ID: <e291e3f1-b1c4-f560-c30f-40f21e4e48c5@gmail.com> (raw)
In-Reply-To: <20181018184312.GA6643@redhat.com>

On 18/10/2018 20:43, Mike Snitzer wrote:
> On Fri, Oct 12 2018 at  7:56am -0400,
> laurent cop <laurent.cop@gmail.com> wrote:
> 
>>    2) Is it normal to have low performances while writing with dd. I was
>>    using LUKS previously and I got only one dev mapper. Now I got 2. Does it
>>    have a big impact on performances?
> 
> This last question really makes me wonder: did you intend to enable the
> use of dm-integrity?

If you use an authenticated encryption in LUKS2, it must use dm-integrity as a backend,
so you get two stacked devices. (Authentication tag and random IV must be stored together
with every sector, here dm-integrity just provides a space for it, it does not
calculate anything, all is up to dm-crypt.)


m.

      reply	other threads:[~2018-10-19  6:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-12 11:56 LUKS2 - RAID0 - NVME : alignment issue laurent cop
2018-10-12 16:09 ` Ondrej Kozina
2018-10-18 17:51 ` Mikulas Patocka
2018-10-19  6:47   ` Milan Broz
2018-10-27 23:05     ` laurent cop
2018-11-04 16:33       ` Milan Broz
2018-10-18 18:43 ` Mike Snitzer
2018-10-19  6:43   ` Milan Broz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e291e3f1-b1c4-f560-c30f-40f21e4e48c5@gmail.com \
    --to=gmazyland@gmail.com \
    --cc=dm-devel@redhat.com \
    --cc=laurent.cop@gmail.com \
    --cc=snitzer@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.