commit | 02acc3a4fa0a6c2a5ccc4fb722b55fb710265882 | [log] [tgz] |
---|---|---|
author | Mike Snitzer <snitzer@redhat.com> | Mon Jun 22 10:12:30 2009 +0100 |
committer | Alasdair G Kergon <agk@redhat.com> | Mon Jun 22 10:12:30 2009 +0100 |
tree | 5abd5bf61c8fe1a9bed391c828ffff34384f6b20 | |
parent | 60935eb21d3c5bac79618000f38f92c249d153c4 [diff] |
dm table: ensure targets are aligned to logical_block_size Ensure I/O is aligned to the logical block size of target devices. Rename check_device_area() to device_area_is_valid() for clarity and establish the device limits including the logical block size prior to calling it. Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>