NetBSD-Bugs archive

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

Re: kern/54969 (Disk cache is no longer flushed on shutdown)



The following reply was made to PR kern/54969; it has been noted by GNATS.

From: "J. Hannken-Illjes" <hannken%eis.cs.tu-bs.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/54969 (Disk cache is no longer flushed on shutdown)
Date: Sun, 2 Aug 2020 10:22:15 +0200

 --Apple-Mail=_5B077801-13CC-4712-AB89-29D604245885
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=us-ascii
 
 On 31. Jul 2020, at 21:38, matthew green <mrg%eterna.com.au@localhost> wrote:
 
 > nice work.  i like how it's fairly simple.
 > 
 > you probably need to care about VMSWAP option.
 
 Already present, without VMSWAP sys/uvm/uvm_swapstub.c gets
 built and it has an empty uvm_swap_shutdown().
 
 > i'd like to see some tests performed where a system is rebooted
 > when it is full of ram and swap -- i fear that this will generate
 > useless IO that may hang.
 
 When swap gets removed all user processes beside the one running
 halt or reboot are gone and all file systems are unmounted.
 
 At this time there should be no data backed by swap.
 
 > also, an option to skip it, maybe just
 > use RB_NOSYNC?
 
 With RB_NOSYNC it is already skipped, vfs_unmountall1() will
 not run in this case.
 
 --
 J. Hannken-Illjes - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig
 
 --Apple-Mail=_5B077801-13CC-4712-AB89-29D604245885
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename=signature.asc
 Content-Type: application/pgp-signature;
 	name=signature.asc
 Content-Description: Message signed with OpenPGP
 
 -----BEGIN PGP SIGNATURE-----
 
 iQEzBAEBCAAdFiEE2BL3ha7Xao4WUZVYKoaVJdNr+uEFAl8md7cACgkQKoaVJdNr
 +uGzQQf9FoU/jebNWP3ZkxuufV0JX+WYEQDsVNRgAKOLmTyBddcknptswx+WaxmV
 89jXp9Q9rNAmiNv15y2dR5A8o+19GA0kkJzlOZmaa8LGdabo9spd3IVhLEup7io2
 Hb1xAau6xjLQod+LaB0zGZwjddbfVsc5Iv19EkhUUSNI+fMoerZkNY8egjKcan6Z
 w5pBBFXR2eqNVyaR4iqCOnFKkrJPNIsmKiaE7+yvKxt3Z/Zn8vE8IbHqTw9exDhg
 gmVeQSX7QeWRJnmyyh2Jf87gRNhzs3AkW4wEtvep5wRD2GPCzala7+AqfI7Rf+/f
 RRa9wiVWqt5ZwZql6V9yuUKpwO68pg==
 =a0if
 -----END PGP SIGNATURE-----
 
 --Apple-Mail=_5B077801-13CC-4712-AB89-29D604245885--
 


Home | Main Index | Thread Index | Old Index