Revision 9acc5a06 block/raw-posix.c
b/block/raw-posix.c | ||
---|---|---|
354 | 354 |
* boundary. Check if this is the case or tell the low-level |
355 | 355 |
* driver that it needs to copy the buffer. |
356 | 356 |
*/ |
357 |
if (s->aligned_buf) {
|
|
357 |
if ((bs->open_flags & BDRV_O_NOCACHE)) {
|
|
358 | 358 |
if (!qiov_is_aligned(bs, qiov)) { |
359 | 359 |
type |= QEMU_AIO_MISALIGNED; |
360 | 360 |
#ifdef CONFIG_LINUX_AIO |
Also available in: Unified diff