mirror of
https://github.com/ceph/ceph
synced 2025-02-23 11:07:35 +00:00
journaler: ENOENT is okay on trim
Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
ecb7c96167
commit
4d39f1be6f
@ -1001,7 +1001,7 @@ void Journaler::_trim_finish(int r, uint64_t to)
|
||||
<< ", trimmed/trimming/expire now "
|
||||
<< to << "/" << trimming_pos << "/" << expire_pos
|
||||
<< dendl;
|
||||
assert(r >= 0);
|
||||
assert(r >= 0 || r == -ENOENT);
|
||||
|
||||
assert(to <= trimming_pos);
|
||||
assert(to > trimmed_pos);
|
||||
|
Loading…
Reference in New Issue
Block a user