Re: [PATCH] block: initialize integrity buffer to zero before writing it to media

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

 



On Thu, Jun 06, 2024 at 04:10:17PM +0200, Christoph Hellwig wrote:
> > We do explicitly set the app_tag to 0 for PI so it's only non-PI
> > metadata that's affected.
> 
> Ah, true.  I could switch to then just zeroing the buffer in
> ->generate_fn for non-PI metadata only.  That's actually the
> first version I prototyped.

So that would cause a fair amout of conflicts with moving the integrity
information to the limits.  So unless someone objets I'd like to go
with this simple version, and with that series we can then easily
relax the zeroing check to only cover the non-PI case.





[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