Is there any error checking on swap?

John-Mark Gurney jmg at funkthat.com
Sun Jul 12 07:29:17 UTC 2020


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

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the freebsd-current mailing list