On Wed, Oct 26, 2016 at 6:34 AM, Jaze Lee <jazeltq@xxxxxxxxx> wrote: > But here > https://github.com/ceph/ceph/blob/master/src/librbd/ImageWatcher.cc#L819 > It is not estimate whether it is owner. I do not why, can someone explain > more about this? Thanks. The "ExclusiveLock::accept_requests" method will return false with a zeroed error code if it's not the exclusive lock owner, so it will fall through the "if" and the "else if" statements and do nothing accept acknowledge receipt of the notification. -- Jason -- 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