dm zoned: assign max_io_len correctly
authorHou Tao <houtao1@huawei.com>
Mon, 15 Jun 2020 03:33:23 +0000 (11:33 +0800)
committerMike Snitzer <snitzer@redhat.com>
Wed, 17 Jun 2020 16:25:34 +0000 (12:25 -0400)
commit7b2377486767503d47265e4d487a63c651f6b55d
tree366e1355c4300b600958f4dd546abb5db9364f92
parentc69cb1d17b6258830b0a97dde73525c1006898f8
dm zoned: assign max_io_len correctly

The unit of max_io_len is sector instead of byte (spotted through
code review), so fix it.

Fixes: 3b1a94c88b79 ("dm zoned: drive-managed zoned block device target")
Cc: stable@vger.kernel.org
Signed-off-by: Hou Tao <houtao1@huawei.com>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-zoned-target.c