Page MenuHomeFreeBSD

zfs: damage control racing .. lookups in face of mkdir/rmdir
ClosedPublic

Authored by mjg on Apr 15 2021, 8:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 14 2024, 12:34 PM
Unknown Object (File)
Nov 5 2024, 5:45 AM
Unknown Object (File)
Oct 30 2024, 11:43 AM
Unknown Object (File)
Oct 15 2024, 4:36 AM
Unknown Object (File)
Oct 7 2024, 7:35 AM
Unknown Object (File)
Oct 7 2024, 4:39 AM
Unknown Object (File)
Oct 7 2024, 3:31 AM
Unknown Object (File)
Oct 6 2024, 9:02 PM
Subscribers

Details

Summary

See the added comment.

Note the patch does not address anything for stable/12 as it lacks the seqc infrastructure. Regardless of that, what needs to be done here is a revamp of the lookup primitive but I have no interest in working on it.

Test Plan

Trips over patched stress2 crossmp4 test.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mjg requested review of this revision.Apr 15 2021, 8:04 AM

Panic was easily reproducible w/ (broken/modified) stress2 on arm64 and so far not reproducible with this change.

Is there anyone else familiar with the VFS stuff going on here who can help with this review? It's over my head at the moment.

kib added a subscriber: kib.

Not entering an entry into namecache is always fine.

This revision is now accepted and ready to land.Apr 21 2021, 2:28 PM