On 9/16/2019 7:12 PM, Jens Axboe wrote:
On 9/16/19 9:44 AM, Max Gurtovoy wrote:
Currently t10_pi_prepare/t10_pi_complete functions are called during the
NVMe and SCSi layers command preparetion/completion, but their actual
place should be the block layer since T10-PI is a general data integrity
feature that is used by block storage protocols. Introduce .prepare_fn
and .complete_fn callbacks within the integrity profile that each type
can implement according to its needs.
Two notes (for future reference):
1) This doesn't apply against for-5.4/block, I had to fix it up
manually.
2) For more than one patch, always use a cover letter.
Sure, thanks !