This series addresses a few issues with the use of the ceph_mds_session s_cap_gen and s_cap_ttl fields. These two fields are used for handling session timeouts, etc. At times they need to be updated or sampled together, and until now this has been done under the protection of the session's s_cap_lock. However this results in a possible circular locking dependency. This is fixed by introducing a new "inner" lock specifically for protecting this case. In addition, since these fields are used for synchronization (and especially since one is 64 bits), convert them use atomic types. -Alex -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html