Re: [PATCH 5/6] NFSD: leverage DIO alignment to selectively issue O_DIRECT reads and writes

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

 



On Wed, Jun 11, 2025 at 09:30:54AM -0400, Jeff Layton wrote:
> 
> I'm concerned here too. Invalidation races can mean silent data
> corruption. We'll need to ensure that this is safe.
> 
> Incidentally, is there a good testcase for this? Something that does
> buffered and direct I/O from different tasks and looks for
> inconsistencies?

We have a few xfstets racing different kinds of I/O and triggers the
failing invalidation warnings.  I'm not sure anything combines this
with checks for data integrity.





[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux