Date: Thu, 21 Mar 2013 22:39:13 +0200 From: Konstantin Belousov <kostikbel@gmail.com> To: Michael Landin Hostbaek <mich@FreeBSD.org> Cc: Jeremy Chadwick <jdc@koitsu.org>, Rick Macklem <rmacklem@uoguelph.ca>, freebsd-stable@FreeBSD.org, Andriy Gapon <avg@FreeBSD.org>, John Baldwin <jhb@FreeBSD.org> Subject: Re: Core Dump / panic sleeping thread Message-ID: <20130321203913.GE3794@kib.kiev.ua> In-Reply-To: <2D7E0213-C1BC-4CA8-BABD-256C17DD692D@FreeBSD.org> References: <20130320173100.GF3794@kib.kiev.ua> <223607151.4129243.1363828477555.JavaMail.root@erie.cs.uoguelph.ca> <20130321075847.GR3794@kib.kiev.ua> <2D7E0213-C1BC-4CA8-BABD-256C17DD692D@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Thu, Mar 21, 2013 at 07:59:25PM +0100, Michael Landin Hostbaek wrote: > > On Mar 21, 2013, at 8:58 AM, Konstantin Belousov <kostikbel@gmail.com> wrote: > > > On Wed, Mar 20, 2013 at 09:14:37PM -0400, Rick Macklem wrote: > >> Well, read/write sharing of files over NFS is pretty rare, so I suspect > >> a truncation of a file by another client (or locally in the NFS server) > >> is a rare event. As such, not invalidating the buffers here doesn't seem > >> like a big issue? (The client uses np->n_size to determine EOF.) > >> > >> Also, I think close-to-open consistency will typically throw away the > >> buffers on the next open when it sees the mtime changed. (Yes, there > >> won't necessarily be another open, but...) > > nfs buffers are VMIO. Each VMIO buffer wires the pages it references. > > Wired pages cannot be freed by vnode_pager_setsize() if the file is > > truncated. > > Should I wait for a new patch, or should I give the one you sent yesterday a try? > > Thanks, You should use the r248567 + r248581. [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJRS2/wAAoJEJDCuSvBvK1BGJ0P/2uk+dFlx3j0j5uxUHUAmzyb Q5oGOu2Kj0Pu9qRr1A9W+AetjT834jSHIaPvSoFJOtNUl90SE9nVLVZ0RA9O6bUM ZBl2mvEbaxx3hBMhJTWzCE49ntvcCUdabfBERV86rBRiSzuJaijx2s/DgOR54MPt q+6/F/Qkmvybo1UHmJNqwoC+Vt20gfhcVBQdHMwvdd649ms8CwZYstxM4HZDTfkf pbbaWAuVTkqF/bbO1Gg4i1eDwL+D2YUCCZV2AOn1IwProOu0zNmgJqa8naA5H5pv byg5+0usdQglslsg1iyLDQ3XyR4kN2YCVR1ZFkCun8kdw8Nfcnos1paWaS7ZQuO1 M2sDX49VybiMKcF+HERbrotlrTezegBn6QfMDEP9oSQtDoMd4CSUGY3jfdJ4JvZS CqR24Lo5eBUGYjRDpTyyTSC6zq3DK3vP2oMkwfp3vU0mHztUQ3Cf7z5p5LjqbTPi RHbDWahkp3JwRq6Q9JVJ6EP8rPWMCTYo0TN2BSTmw9lbgUkN+khjNEzfuCb36pjd 6GTLYzBbpg3TODkoEQziO9pHBuYAZUyBmwO0lawRmlRqnkp8hS9pRH8JTVxTzNRW CWVXZr8Chzneq1Et4MfgRth/iGIj3Cxvok7HGRC1AFuPMzQDf8FFsCup88pNFmhA ngqq4JwRaByjF2abKxwl =7dsu -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130321203913.GE3794>
