dm table: validate device logical_block_size
authorMike Snitzer <snitzer@redhat.com>
Mon, 22 Jun 2009 09:12:31 +0000 (10:12 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Mon, 22 Jun 2009 09:12:31 +0000 (10:12 +0100)
commitbe6d4305db093ad1cc623f7dd3d2470b7bd73fa4
tree27935ca83626cba6ba2fac2cc83deeca0ff15492
parent02acc3a4fa0a6c2a5ccc4fb722b55fb710265882
dm table: validate device logical_block_size

Impose necessary and sufficient conditions on a devices's table such
that any incoming bio which respects its logical_block_size can be
processed successfully.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-table.c