Re: [PATCH 2/2] scsi: ufs: add inline crypto support to UFS HCD

From: Jens Axboe
Date: Thu Dec 13 2018 - 14:42:40 EST


On 12/13/18 12:39 PM, Ladvine D Almeida wrote:
> Suggest to take a look into the article https://lwn.net/Articles/717754
> My real concern is how to achieve it without any modifications to the
> bio.(because key slot information has to finally reach the target block
> device)

Guys, you both need to edit when you reply, wading through 650 lines of
text to get to this...

You obviously can't modify the bio if you don't own it, but you could
clone it and then you have storage in ->bi_private.

--
Jens Axboe