There is another case where SU code does ffs_syncvnode(dvp) for the parent directory dvp while the child vnode vp is locked. Avoid the issue by relocking and returning ERELOOKUP to indicate the need of resync. Reported by: jkim Tested by: pho
Details
Details
- Reviewers
chs mckusick - Commits
- rG6e1eabadcb1d: ffs_syncvnode(): avoid a LoR for SU
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
This change looks correct.
After rename, fsync when running with soft updates has to be the most complex code in the filesystem.