Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1290940

[PATCH 0/2] Optimize the dm-crypt for XTS mode

From Baolin Wang <baolin.wang@linaro.org>
Newsgroups linux.kernel
Subject [PATCH 0/2] Optimize the dm-crypt for XTS mode
Date 2015-12-14 09:30 +0100
Message-ID <qFwG6-3zr-11@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


In now dm-crypt code, we find it only send one scatterlist which maps
one segment of one bio to the crypto engine at one time. But that will
be more time-consuming and ineffective for the crypto engine.

For XTS mode, it can map the whole bio with multiple scatterlists,
and send all the scatterlists to the crypto engine which can improve
the performance.

Baolin Wang (2):
  block: Export the __blk_bios_map_sg() to map one bio
  md: dm-crypt: Optimize the dm-crypt for XTS mode

 block/blk-merge.c      |    7 +-
 drivers/md/dm-crypt.c  |  315 +++++++++++++++++++++++++++++++++++++++++++++++-
 include/linux/blkdev.h |    3 +
 3 files changed, 316 insertions(+), 9 deletions(-)

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] Optimize the dm-crypt for XTS mode Baolin Wang <baolin.wang@linaro.org> - 2015-12-14 09:30 +0100
  [PATCH 2/2] md: dm-crypt: Optimize the dm-crypt for XTS mode Baolin Wang <baolin.wang@linaro.org> - 2015-12-14 09:30 +0100
    Re: [PATCH 2/2] md: dm-crypt: Optimize the dm-crypt for XTS mode Milan Broz <gmazyland@gmail.com> - 2015-12-15 00:40 +0100
      Re: [PATCH 2/2] md: dm-crypt: Optimize the dm-crypt for XTS mode Baolin Wang <baolin.wang@linaro.org> - 2015-12-15 04:00 +0100
        Re: [PATCH 2/2] md: dm-crypt: Optimize the dm-crypt for XTS mode Milan Broz <gmazyland@gmail.com> - 2015-12-15 09:30 +0100
          Re: [PATCH 2/2] md: dm-crypt: Optimize the dm-crypt for XTS mode Baolin Wang <baolin.wang@linaro.org> - 2015-12-15 12:40 +0100

csiph-web