Re: [PATCH] block: integrity: Do not call set_page_dirty_lock()

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

 



On Thu, Apr 17, 2025 at 10:05:11AM -0400, Martin K. Petersen wrote:
> 
> Hi Christoph!
> 
> > Who sais it it not backed by a file? Which that would be a very
> > unusual use case, there is nothing limiting us from using integity or
> > metadata from a file mapping. Instead we'll need to do the same thing
> > for the data path and defer the unmapping to a user context when
> > needed.
> 
> If you have a use case for file-backed then supporting deferred dirtying
> is perfectly fine with me.

I do not personally have a use case.  But we support using file backed
memory right now and have since adding these user interfaces.  Suddenly
removing the dirtying will cause silent data corruptions for these use
cases if they exist, which is not a good change.





[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