commit | 976222e05ea5a9959ccf880d7a24efbf79b3c6cf | [log] [tgz] |
---|---|---|
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Fri Apr 15 11:38:29 2011 -0400 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Fri Apr 15 11:38:29 2011 -0400 |
tree | fce26272d4f517d31a9c4fd41f2c7b43441ce259 | |
parent | 1a95fe6e42cefc52c62c471ad87d7fe8643231df [diff] |
xen/blkback: Move the check for misaligned I/O higher. We move it up higher to be in same loop that actually computes the sector number. This way, all of the code that deals with verifying that the request is correct is all done before we do any of the page mapping, I/O submission, etc. Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>