summaryrefslogtreecommitdiffstats
path: root/block/blk-ioc.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2010-11-29 09:19:07 +0100
committerMichael S. Tsirkin <mst@redhat.com>2010-11-29 09:26:55 +0100
commite4dde731ae70072338352c6f8fb75fd04a42cf8d (patch)
treee278b13b3abd0f31b10a8f8d6f0343e74836b563 /block/blk-ioc.c
parentvhost/net: fix rcu check usage (diff)
downloadlinux-e4dde731ae70072338352c6f8fb75fd04a42cf8d.tar.xz
linux-e4dde731ae70072338352c6f8fb75fd04a42cf8d.zip
vhost: correctly set bits of dirty pages
Fix two bugs in dirty page logging: When counting pages we should increase address by 1 instead of VHOST_PAGE_SIZE. Make log_write() correctly process requests that cross pages with write_address not starting at page boundary. Reported-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'block/blk-ioc.c')
0 files changed, 0 insertions, 0 deletions