-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
librbd: invalidate object map on error even w/o holding lock
If there is a deep bug that prevents the object map from owning the lock before objects are updated, flag the object map as invalid regardless. Fixes: #13372 Backport: hammer Signed-off-by: Jason Dillaman <dillaman@redhat.com> (cherry picked from commit e675400) Conflicts: src/librbd/ObjectMap.h/cc: hammer branch doesn't support rebuild
- Loading branch information
Jason Dillaman
committed
Oct 15, 2015
1 parent
7f485ed
commit af734e6
Showing
2 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -131,7 +131,7 @@ class ObjectMap { | |
|
||
bool m_enabled; | ||
|
||
void invalidate(); | ||
void invalidate(bool force); | ||
|
||
}; | ||
|
||
|