diff options
author | Denis V. Lunev <den@openvz.org> | 2016-05-25 21:48:46 -0600 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-06-08 10:21:08 +0200 |
commit | ba142846b0f608c433e71d61efc6467c7b367dbf (patch) | |
tree | 59656190a57f5c912c211ebf054076e72dd477d9 /block/Makefile.objs | |
parent | 443668ca408cdb7f01e1a70a58518bb100c3e9d1 (diff) |
qcow2: simplify logic in qcow2_co_write_zeroes
Unaligned requests will occupy only one cluster. This is true since the
previous commit. Simplify the code taking this consideration into
account.
In other words, the caller is now buggy if it ever passes us an unaligned
request that crosses cluster boundaries (the only requests that can cross
boundaries will be aligned).
There are no other changes so far.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
CC: Eric Blake <eblake@redhat.com>
CC: Kevin Wolf <kwolf@redhat.com>
Message-Id: <1463476543-3087-3-git-send-email-den@openvz.org>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/Makefile.objs')
0 files changed, 0 insertions, 0 deletions