From: "J. Bruce Fields" <bfields@fieldses.org>
To: Bryan Schumaker <bjschuma@netapp.com>
Cc: linux-nfs@vger.kernel.org
Subject: Re: [RFC] NFSD: Added basic fault injection
Date: Thu, 19 May 2011 12:32:42 -0400 [thread overview]
Message-ID: <20110519163242.GC976@fieldses.org> (raw)
In-Reply-To: <4DD5361D.6010304@netapp.com>
On Thu, May 19, 2011 at 11:24:13AM -0400, Bryan Schumaker wrote:
> On 05/18/2011 08:09 PM, J. Bruce Fields wrote:
> > On Tue, May 17, 2011 at 12:51:10PM -0400, bjschuma@netapp.com wrote:
> >> +void nfsd_forget_all_state_owners(void)
> >> +{
> >> + struct nfs4_stateowner *sop;
> >> + struct list_head *pos, *next;
> >> + int count = 0;
> >> +
> >> + nfs4_lock_state();
> >> + list_for_each_safe(pos, next, &close_lru) {
> >
> > Not all state owners are on the close_lru list--just open owners that
> > have been closed and are waiting to be reaped.
>
> Ok. Is the file_hashtbl the right place to look for this?
Probably stateid_hashtbl.
--b.
> I think I'm going to change the function so it only deletes open stateids.
prev parent reply other threads:[~2011-05-19 16:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-17 16:51 [RFC] NFSD: Added basic fault injection bjschuma
2011-05-19 0:09 ` J. Bruce Fields
2011-05-19 15:24 ` Bryan Schumaker
2011-05-19 16:32 ` J. Bruce Fields [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110519163242.GC976@fieldses.org \
--to=bfields@fieldses.org \
--cc=bjschuma@netapp.com \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).