Skip to content
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

[3.6] bpo-32186: Release the GIL during lseek and fstat (GH-4652) #4661

Merged
merged 1 commit into from
Dec 1, 2017

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Dec 1, 2017

In _io_FileIO_readall_impl(), lseek() and _Py_fstat_noraise() were called
without releasing the GIL. This can cause all threads to hang for
unlimited time when calling FileIO.read() and the NFS server is not
accessible.
(cherry picked from commit 6a89481)

https://bugs.python.org/issue32186

In _io_FileIO_readall_impl(), lseek() and _Py_fstat_noraise() were called
without releasing the GIL. This can cause all threads to hang for
unlimited time when calling FileIO.read() and the NFS server is not
accessible.
(cherry picked from commit 6a89481)
Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, good bot.

@miss-islington
Copy link
Contributor Author

@nirs and @vstinner: Backport status check is done, and it's a success ✅ .

@nirs
Copy link
Contributor

nirs commented Dec 1, 2017

Looks good 👍

@vstinner vstinner merged commit 8bcd410 into python:3.6 Dec 1, 2017
@miss-islington
Copy link
Contributor Author

Thanks, @vstinner!

@miss-islington miss-islington deleted the backport-6a89481-3.6 branch December 1, 2017 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants