-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[mount]Fix copy file range #4407
Conversation
Glad to see this getting attention, but FWIW you can still get a deadlock if the same goroutine acquires a read-lock twice, if some other process calls
|
This merge request has deleted the second lock on entryLock in the same goroutine |
Ah, my mistake – I see that the one left is the lock on the file itself, whereas |
What problem are we solving?
#4405
How are we solving the problem?
Remove duplicate locks.
How is the PR tested?
local call copy_file_range.
Checks