Trond Myklebust 4d65c520fb NFS: Fix a hang in the writeback path
Now that the inode scalability patches have been merged, it is no longer
safe to call igrab() under the inode->i_lock.
Now that we no longer call nfs_clear_request() until the nfs_page is
being freed, we know that we are always holding a reference to the
nfs_open_context, which again holds a reference to the path, and so
the inode cannot be freed until the last nfs_page has been removed
from the radix tree and freed.

We can therefore skip the igrab()/iput() altogether.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2011-03-27 17:48:07 +02:00
..
2010-05-14 15:09:31 -04:00
2010-10-27 21:39:39 +02:00
2010-12-21 11:51:23 -05:00
2011-03-24 13:52:41 -04:00
2010-10-07 18:48:49 -04:00
2011-03-27 17:48:07 +02:00