Kevin Wolf
7fa84cd8d4
block: Fix blk_aio_write_zeroes()
...
Commit 57d6a428 broke blk_aio_write_zeroes() because in some write
functions in the call path don't have an explicit length argument but
reuse qiov->size instead. Which is great, except that write_zeroes
doesn't have a qiov, which this commit interprets as 0 bytes.
Consequently, blk_aio_write_zeroes() didn't effectively do anything.
This patch introduces an explicit acb->bytes in BlkAioEmAIOCB and uses
that instead of acb->rwco.size.
The synchronous version of the function is okay because it does pass a
qiov (with the right size and a NULL pointer as its base).
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
2016-04-15 17:22:11 +02:00
..
2016-03-15 23:25:52 +02:00
2016-02-08 17:29:54 +01:00
2016-03-24 21:42:40 +00:00
2016-03-18 10:29:26 +01:00
2016-04-15 17:22:11 +02:00
2016-03-22 22:20:17 +01:00
2016-04-08 00:07:56 +02:00
2016-02-16 14:29:27 +00:00
2016-04-07 19:57:33 +03:00
2016-03-22 22:20:16 +01:00
2016-02-23 12:43:05 +00:00
2016-02-16 12:05:18 +02:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-03-22 22:20:15 +01:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-03-22 22:20:16 +01:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-03-22 22:20:15 +01:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-03-21 21:29:03 +01:00
2016-02-16 14:29:27 +00:00
2016-02-23 12:43:05 +00:00
2016-02-16 14:29:27 +00:00
2016-04-07 19:57:33 +03:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-23 12:43:05 +00:00
2016-02-16 14:29:27 +00:00
2016-03-22 22:20:17 +01:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-03-22 22:20:15 +01:00
2016-03-22 22:20:15 +01:00
2016-02-16 14:29:27 +00:00
2016-03-22 22:20:15 +01:00
2016-02-16 14:29:27 +00:00
2016-03-22 22:20:15 +01:00
2016-03-22 22:20:15 +01:00
2016-03-22 22:20:15 +01:00
2016-02-16 14:29:27 +00:00
2016-03-22 22:20:15 +01:00
2016-03-22 22:20:15 +01:00
2016-03-22 22:20:16 +01:00
2016-03-22 22:20:15 +01:00
2016-03-22 22:20:15 +01:00
2016-03-17 14:41:15 +00:00
2016-03-22 22:20:17 +01:00
2016-03-30 08:57:16 +08:00
2016-03-30 08:57:33 +08:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-03-22 22:20:15 +01:00
2016-03-22 22:20:15 +01:00
2016-04-05 11:46:52 +02:00
2016-02-16 14:29:27 +00:00
2016-03-22 22:20:15 +01:00
2016-02-16 14:29:27 +00:00
2016-03-22 22:20:18 +01:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-03-22 22:20:15 +01:00
2016-02-16 14:29:27 +00:00
2016-03-22 22:20:15 +01:00
2016-02-25 09:48:50 -06:00
2016-03-18 10:29:26 +01:00
2016-02-16 14:29:27 +00:00
2016-03-22 22:20:15 +01:00
2016-03-22 22:20:15 +01:00
2016-03-22 22:20:15 +01:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-03-22 22:20:15 +01:00
2016-03-22 22:20:15 +01:00
2016-03-22 22:20:15 +01:00
2016-03-22 22:20:15 +01:00
2016-02-16 14:29:27 +00:00
2016-03-22 22:20:15 +01:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-03-22 22:20:17 +01:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00
2016-02-25 13:14:19 +02:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00