Hi,

can I get a code review for: 6897605 Deadlock in nfs4_active_reclaim() 
on r_lock if file and its XATTR are hashed in the same r4hashq_t

Webrev:

http://cr.opensolaris.org/~pavelf/6897605

Background:

If the system is low on memory, in can decide to reclaim memory from 
"rnode4_cache".
This can lead to a deadlock if the rnode for a file uses extended 
attributes and both
rnodes (file and its xattr) are hashed in the same r4hashq_t since the 
nfsv4 code
will ask for the same r_lock twice.

The fix makes the reclaim less strict but safe - we avoid releasing of 
xattr vnode.


Thanks,
Pavel

Reply via email to