write operations could be blocked even when using O_NONBLOCK
Issue
- This is a backport request of a fix to 5.2.z async erratum.
-
When write operation is issued, the mutex using tty->atomic_write_lock is held at the top of do_tty_write
(tty_io.c).
Environment
- Red Hat Enterprise Linux 5 Update 2
- All architectures
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
