diff options
author | jeff <jeff@FreeBSD.org> | 2012-11-12 19:53:55 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2012-11-12 19:53:55 +0000 |
commit | c82f04d7dbbb684982e0f9bcffe9d52b9aaf7e9d (patch) | |
tree | e98502ec95a3a5782e0f3a36162c30bd4abc4dd8 /contrib/libc++/src/thread.cpp | |
parent | 1847901005fd01b6252104a851b615847d361ea0 (diff) | |
download | FreeBSD-src-c82f04d7dbbb684982e0f9bcffe9d52b9aaf7e9d.zip FreeBSD-src-c82f04d7dbbb684982e0f9bcffe9d52b9aaf7e9d.tar.gz |
- Fix a bug that has existed since the original softdep implementation.
When a background copy of a cg is written we complete any work associated
with that bmsafemap. If new work has been added to the non-background
copy of the buffer it will be completed before the next write happens.
The solution is to do the rollbacks when we make the copy so only those
dependencies that were present at the time of writing will be completed
when the background write completes. This would've resulted in various
bitmap related corruptions and panics. It also would've expired journal
entries early causing journal replay to miss some records.
MFC after: 2 weeks
Diffstat (limited to 'contrib/libc++/src/thread.cpp')
0 files changed, 0 insertions, 0 deletions