7b51a258a123b94c0d1425be2e28a2593c1f1400

There's a corner case where there're pause and resume operations in the middle of last full buffer drain. Waking up drain without checking against the real byte available violates the assumption only one partial buffer in the last write. The solution is to just resume the write pipe if there's more than one fragment pending. CRs-Fixed: 2536883 Change-Id: Id24c63bad774ec916942b8f94ddaa396d2560517 Signed-off-by: Weiyin Jiang <wjiang@codeaurora.org>
Description
No description provided
Languages
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%