Re: [PATCH v7 2/2] block: centralize PI remapping logic to the block layer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-- 
Jens Axboe




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux