Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Oct 2013 19:47:16 +0800
From:      Marcelo Araujo <araujobsdport@gmail.com>
To:        Benjamin Kaduk <kaduk@mit.edu>
Cc:        freebsd-fs <freebsd-fs@freebsd.org>
Subject:   Re: fixing "umount -f" for the NFS client
Message-ID:  <CAOfEmZitaHyBw2%2BObNVyz21%2B0c4EKhmgGhwP7wq7st%2BuuVB8kg@mail.gmail.com>
In-Reply-To: <alpine.GSO.1.10.1309051118360.16692@multics.mit.edu>
References:  <1345367028.18318718.1378328159276.JavaMail.root@uoguelph.ca> <alpine.GSO.1.10.1309051118360.16692@multics.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
--089e010d857485b28b04e8c62591
Content-Type: text/plain; charset=ISO-8859-1

2013/9/5 Benjamin Kaduk <kaduk@mit.edu>

> On Wed, 4 Sep 2013, Rick Macklem wrote:
>
>  Benjamin Kaduk wrote:
>>
>>>
>>> I think there are spare vfsops fields, so the MFC can be done in an
>>> ABI-compatible way.  The new routine is for optional functionality,
>>> so it
>>> seems fine.
>>>
>>>  There are spares vfs ops in 10/current, but not in stable/9. An MFC will
>> result in a VFS ABI change. (Since 10.0 hasn't been released yet, I didn't
>> use one of the recently added spares.)
>>
>
> Oh, right, I was looking at 10/current.
>
> Unless there are pressing calls for the feature in the stable branches,
> it's probably best to hold off on the MFC, then.  OpenAFS has encountered a
> few KBI incompatibilities over the years (mostly in the networking bits, if
> I remember correctly), and we can deal in the future, but not having to is
> nice.
>
>
Hello Guys,

Is it possible to have it on 9-STABLE?
I tried to port the changes of revision 255136 made by rmacklem@ to a
9.1-RELEASE but the bug is still there.
*
*
Any change to make it works on 9.1, 9.2 or 9-STABLE?
The patch attached is based on 9.1-RELEASE.

Best Regards,
-- 
Marcelo Araujo
araujo@FreeBSD.org

--089e010d857485b28b04e8c62591
Content-Type: application/octet-stream; name="nfs_purge.patch"
Content-Disposition: attachment; filename="nfs_purge.patch"
Content-Transfer-Encoding: base64
X-Attach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CgmR2lhbnQsIE1BX09XTkVEKTsJCQkJXAogfSB3aGlsZSAo
MCkKIAorI2RlZmluZSBWRlNfUFVSR0UoTVApIGRvIHsgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgXAorCWlmICgqKE1QKS0+bW50X29wLT52ZnNfcHVyZ2UgIT0g
TlVMTCkgeyAgICAgICAgICAgICAgICAgICAgICAgICBcCisJCSgqKE1QKS0+bW50X29wLT52ZnNf
cHVyZ2UpKE1QKTsgICAgICAgICAgICAgICAgICAgICAgICAgXAorCX0gICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcCit9IHdoaWxl
ICgwKQorCisKICNkZWZpbmUgVkZTX0tOT1RFX0xPQ0tFRCh2cCwgaGludCkgZG8JCQkJCVwKIHsJ
CQkJCQkJCQlcCiAJaWYgKCgodnApLT52X3ZmbGFnICYgVlZfTk9LTk9URSkgPT0gMCkJCQkJXAo=
--089e010d857485b28b04e8c62591--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOfEmZitaHyBw2%2BObNVyz21%2B0c4EKhmgGhwP7wq7st%2BuuVB8kg>