On Wed, Jan 30, 2013 at 08:35:41AM +0100, Udo Grabowski (IMK) wrote:
> On 01/30/13 08:05 AM, Jorgen Lundman wrote:
> 
> >Apparently, unused OpenOwner entries are not disposed after some period of 
> >time
> >in case the client is active somehow. They are disposed only for inactive
> >clients. It is visible in rfs4_openowner_expiry(). This is similar to CR
> >6906432 but it is a completely different scenario. I believe this is a bug, 
> >not
> >yet covered by any filed CR, nor fixed.
> >
> 
> This should have been fixed in
> <https://www.illumos.org/issues/417>
> see also
> <https://www.illumos.org/issues/1927>

The 1927 is not the same issue. It is a combination of these two bugs:

- first is 417 (already fixed in illumos) - this allowed to exhaust the
  OpenOwner table

- the other bug is still in the illumos NFS server, not fixed yet. I think it
  is here:

http://src.illumos.org/source/xref/illumos-gate/usr/src/uts/common/fs/nfs/nfs4_srv.c#7340

When the rfs4_findopenowner() fails it should not return
NFS4ERR_STALE_CLIENTID, but NFS4ERR_RESOURCE instead, or something like that.

It is true that with the 417 fixed it is hard to see the 1927 reproduced, but
the bug is still there.


Regards.

-- 
+-------------------------------------------+
| Marcel Telka   e-mail:   [email protected]  |
|                homepage: http://telka.sk/ |
|                jabber:   [email protected] |
+-------------------------------------------+


-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to