qemu/block
Christoph Hellwig 581b9e29f3 raw-posix: handle > 512 byte alignment correctly
Replace the hardcoded handling of 512 byte alignment with bs->buffer_alignment
to handle larger sector size devices correctly.

Note that we can not rely on it to be initialize in bdrv_open, so deal
with the worst case there.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2010-09-21 15:39:42 +02:00
..
blkdebug.c blkdebug: fix enum comparison 2010-09-18 05:53:15 +00:00
bochs.c bochs: use qemu block API 2010-05-17 10:20:05 +02:00
cloop.c cloop: use qemu block API 2010-05-17 10:20:04 +02:00
cow.c cow: Use bdrv_(p)write_sync for metadata writes 2010-06-22 14:38:02 +02:00
curl.c Fix %lld or %llx printf format use 2010-05-22 08:02:12 +00:00
dmg.c dmg: use qemu block API 2010-05-17 10:20:05 +02:00
nbd.c nbd: Introduce NBD named exports. 2010-08-30 18:29:22 +02:00
parallels.c parallels: use qemu block API 2010-05-17 10:20:05 +02:00
qcow2-cluster.c qcow2: Remove unnecessary flush after L2 write 2010-09-08 12:39:24 +02:00
qcow2-refcount.c qcow2/vdi: Change check to distinguish error cases 2010-07-06 17:05:49 +02:00
qcow2-snapshot.c qcow2: Use bdrv_(p)write_sync for metadata writes 2010-06-22 14:38:02 +02:00
qcow2.c qcow2/vdi: Change check to distinguish error cases 2010-07-06 17:05:49 +02:00
qcow2.h qcow2/vdi: Change check to distinguish error cases 2010-07-06 17:05:49 +02:00
qcow.c qcow: Use bdrv_(p)write_sync for metadata writes 2010-06-22 14:38:02 +02:00
raw-posix-aio.h Remove aio_ctx from paio_* interface 2009-10-30 08:39:34 -05:00
raw-posix.c raw-posix: handle > 512 byte alignment correctly 2010-09-21 15:39:42 +02:00
raw-win32.c block: Fix bdrv_has_zero_init 2010-08-03 15:57:22 +02:00
raw.c Revert "Make default invocation of block drivers safer (v3)" 2010-09-08 17:09:15 -05:00
sheepdog.c sheepdog: remove unnecessary includes 2010-08-30 18:29:22 +02:00
vdi.c qcow2/vdi: Change check to distinguish error cases 2010-07-06 17:05:49 +02:00
vmdk.c vmdk: Use bdrv_(p)write_sync for metadata writes 2010-06-22 14:38:02 +02:00
vpc.c vpc: Use bdrv_(p)write_sync for metadata writes 2010-06-22 14:38:02 +02:00
vvfat.c vvfat: Use cache=unsafe 2010-09-21 15:39:42 +02:00