Re: [PATCH] NFS: Fix RCU warnings in nfs_inode_return_delegation_noreclaim() [ver #2]

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Paul E. McKenney
Date: Thursday, March 18, 2010 - 7:25 pm

On Thu, Mar 18, 2010 at 01:33:02PM +0000, David Howells wrote:

Thank you for fixing these up!

This looks good at the moment, however, the sparse changes that Arnd
Bergmann is working on will invalidate a couple of the changes below.
Of course, better a future problem than a here-and-now problem, but
is there an easy way to fix both?

							Thanx, Paul


Arnd's work will flag this one.


And this one.  I thought that Trond said that clp->cl_lock protects
this one, in which case this should work:

	if (rcu_dereference_check(nfsi->delegation,
				  lockdep_is_held(&clp->cl_lock)) != NULL) {


And this one, although the check for cp->cl_lock obviously won't work here.


Ditto...

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] NFS: Fix RCU warnings in nfs_inode_return_dele ..., Paul E. McKenney, (Thu Mar 18, 7:25 pm)
Re: [PATCH] NFS: Fix RCU warnings in nfs_inode_return_dele ..., Paul E. McKenney, (Mon Mar 29, 12:21 pm)
Re: [PATCH] NFS: Fix RCU warnings in nfs_inode_return_dele ..., Paul E. McKenney, (Tue Mar 30, 10:01 am)
Re: [PATCH] NFS: Fix RCU warnings in nfs_inode_return_dele ..., Paul E. McKenney, (Tue Mar 30, 10:25 am)
Re: [PATCH] NFS: Fix RCU warnings in nfs_inode_return_dele ..., Paul E. McKenney, (Wed Mar 31, 11:30 am)
[No subject], David Howells, (Tue Apr 6, 9:14 am)
[No subject], Paul E. McKenney, (Tue Apr 6, 10:29 am)
RCU condition checks, David Howells, (Wed Apr 7, 9:35 am)
Re: RCU condition checks, Paul E. McKenney, (Wed Apr 7, 10:10 am)
Re: RCU condition checks, Trond Myklebust, (Sun Apr 11, 3:57 pm)
Re: RCU condition checks, Paul E. McKenney, (Mon Apr 12, 9:47 am)