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)
Mar 29 2024, 8:18 AM
Unknown Object (File)
Jan 13 2024, 12:33 AM
Unknown Object (File)
Dec 15 2023, 3:42 AM
Unknown Object (File)
Dec 12 2023, 5:35 PM
Unknown Object (File)
Nov 28 2023, 12:18 AM
Unknown Object (File)
Nov 27 2023, 2:12 PM
Unknown Object (File)
Oct 20 2023, 8:58 AM
Unknown Object (File)
Sep 27 2023, 4:06 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