Skip to content

Commit

Permalink
Merge PR ceph#54687 into main
Browse files Browse the repository at this point in the history
* refs/pull/54687/head:
	mds: allow lock state to be LOCK_MIX_SYNC in replica for filelock

Reviewed-by: Venky Shankar <vshankar@redhat.com>
  • Loading branch information
vshankar committed Feb 27, 2024
2 parents a302e3b + f50693f commit 40936ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mds/Locker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5778,6 +5778,7 @@ void Locker::handle_file_lock(ScatterLock *lock, const cref_t<MLock> &m)
case LOCK_AC_SYNC:
ceph_assert(lock->get_state() == LOCK_LOCK ||
lock->get_state() == LOCK_MIX ||
lock->get_state() == LOCK_MIX_SYNC ||
lock->get_state() == LOCK_MIX_SYNC2);

if (lock->get_state() == LOCK_MIX) {
Expand Down

0 comments on commit 40936ff

Please sign in to comment.