Re: Is there any error checking on swap?

From: bob prohaska <fbsd_at_www.zefox.net>
Date: Sun, 12 Jul 2020 08:37:51 -0700
On Sun, Jul 12, 2020 at 12:29:12AM -0700, John-Mark Gurney wrote:
> bob prohaska wrote this message on Sat, Jul 11, 2020 at 20:33 -0700:
> > Is there any error checking on swap traffic, along the lines of
> > a checksum or parity test? 
> > 
> > Just curious what happens if a page written out is corrupted  when
> > it comes back.
> 
> Looks like it doesn't:
> https://svnweb.freebsd.org/base/head/sys/vm/swap_pager.c?annotate=361965#l1389
> 

Certainly nothing about parity or checksums in the comments.
All faith in the hardware, I guess....

Thanks for writing!

bob prohaska
Received on Sun Jul 12 2020 - 13:37:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:24 UTC