Thread (4 messages) 4 messages, 3 authors, 2021-09-01

Re: [PATCH liburing v2] tests: test early-submit link fails

From: Pavel Begunkov <asml.silence@gmail.com>
Date: 2021-08-31 18:16:14

On 8/31/21 6:03 PM, Jens Axboe wrote:
On 8/31/21 9:49 AM, Pavel Begunkov wrote:
quoted
Add a whole bunch of tests for when linked requests fail early during
submission.
Applied, but remember to check write(2) returns:

submit-link-fail.c: In function ‘test_underprep_fail’:
submit-link-fail.c:80:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   80 |                 write(fds[1], buffer, sizeof(buffer));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
My bad. Interesting why my gcc 11 doesn't complain.

-- 
Pavel Begunkov
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help