luminous: checking quota while holding cap ref may deadlock
#1 Updated by Zheng Yan about 2 years ago
mds revokes an inode's Fw
mds freezes the subtree that contains the inode
client::_write() calls is_quota_bytes_approaching() while holding the inode's Fw. Client::get_quota_root() sends lookup_name request to mds.
mds delays handling the lookup_name request because subtree is freezing.