Hi,

There's a problem in btrfs_readdir that tries to lock a root node with one 
being held. This happens when NFS calls vfs_readdir function with a nfs 
specific filldir function pointer. This filldir function, called with the 
lock held calls btrfs_lookup, which tries to take the same lock. So, it keeps 
waiting on lock_page indefinitely - a deadlock. This is not seen if the inode 
is RAM in which case, lookup is not called.

Why can't we allow multiple readers to read a page ?

Please clarify.

Balaji Rao
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to