diff options
author | Mike Snitzer <snitzer@redhat.com> | 2016-01-31 19:28:26 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2016-02-23 04:34:37 +0100 |
commit | 30187e1d48a258e304af184c45c3140c8509d219 (patch) | |
tree | 58603a739f5a21aa04a1d840639989424eef3332 /drivers/md/dm-raid1.c | |
parent | dm: distinquish old .request_fn (dm-old) vs dm-mq request-based DM (diff) | |
download | linux-30187e1d48a258e304af184c45c3140c8509d219.tar.xz linux-30187e1d48a258e304af184c45c3140c8509d219.zip |
dm: rename target's per_bio_data_size to per_io_data_size
Request-based DM will also make use of per_bio_data_size.
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-raid1.c')
-rw-r--r-- | drivers/md/dm-raid1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-raid1.c b/drivers/md/dm-raid1.c index f2a363a89629..b3ccf1e0d4f2 100644 --- a/drivers/md/dm-raid1.c +++ b/drivers/md/dm-raid1.c @@ -1121,7 +1121,7 @@ static int mirror_ctr(struct dm_target *ti, unsigned int argc, char **argv) ti->num_flush_bios = 1; ti->num_discard_bios = 1; - ti->per_bio_data_size = sizeof(struct dm_raid1_bio_record); + ti->per_io_data_size = sizeof(struct dm_raid1_bio_record); ti->discard_zeroes_data_unsupported = true; ms->kmirrord_wq = alloc_workqueue("kmirrord", WQ_MEM_RECLAIM, 0); |