Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
mimic: osd: Don't include user changeable flag in snaptrim related assert #28202
@athanatos I considered it a race with the assert. I assumed that if snap trim got as far as WaitReservation::react(const SnapTrimReserved&), can_trim() includes nosnaptrim and wouldn't proceed. Before nosnaptrim was added, the assert was correct. But afterwards the assert raced with the user setting nosnaptrim.