dm log: fix create_log_context to use logical_block_size of log device
authorMike Snitzer <snitzer@redhat.com>
Mon, 22 Jun 2009 09:12:33 +0000 (10:12 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Mon, 22 Jun 2009 09:12:33 +0000 (10:12 +0100)
create_log_context() must use the logical_block_size from the log disk,
where the I/O happens, not the target's logical_block_size.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>

No differences found