Date: Sun, 13 Jun 2010 07:31:37 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Rick Macklem <rmacklem@uoguelph.ca> Cc: Leon Me??ner <l.messner@physik.tu-berlin.de>, freebsd-stable@freebsd.org, Mikolaj Golub <to.my.trociny@gmail.com> Subject: Re: Re: Re: freeBSD nullfs together with nfs and "silly rename" Message-ID: <20100613043137.GQ13238@deviant.kiev.zoral.com.ua> In-Reply-To: <Pine.GSO.4.63.1006121904160.28836@muncher.cs.uoguelph.ca> References: <20100606144443.GA50876@emmi.physik-pool.tu-berlin.de> <8639wsk4t1.fsf@kopusha.home.net> <20100612141549.GM13238@deviant.kiev.zoral.com.ua> <Pine.GSO.4.63.1006121112150.4460@muncher.cs.uoguelph.ca> <20100612150915.GN13238@deviant.kiev.zoral.com.ua> <Pine.GSO.4.63.1006121904160.28836@muncher.cs.uoguelph.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
--8RsyD0KswhpoK73Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 12, 2010 at 07:06:11PM -0400, Rick Macklem wrote: >=20 >=20 > On Sat, 12 Jun 2010, Kostik Belousov wrote: >=20 > > > >Yes, I hoped that Mikolaj ends up with something similar :). Please note > >that this is racy, since we cannot know why usecount is greater then 1. > >This might cause the silly rename to kick in some time where it should > >not, but the race is rare. > > > I'd say that having silly rename happen once in a while for unlink when > it doesn't have to happen is better than having the file deleted on the > server while it is still open on the client. My note was not an objection, only a note. Also, when committing, please add a comment explaining what is going on. --8RsyD0KswhpoK73Z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkwUXygACgkQC3+MBN1Mb4js0gCeJsRxX1aZ6W3pbJHdX6IPUQwH d08Anj8kAqbqzOnzR10swh/VI6sU6r++ =rQWp -----END PGP SIGNATURE----- --8RsyD0KswhpoK73Z--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100613043137.GQ13238>