On Mon, Apr 28 2014 at 11:09am -0400, Mikulas Patocka <mpatocka@xxxxxxxxxx> wrote: > > > On Fri, 25 Apr 2014, Mike Snitzer wrote: > > > > Hey Mikulas, > > > > I'm not immediately seeing how increasing tio->num_bios from within a > > target's map method, using dm_ask_for_duplicate_bios, will cause DM core > > to send duplicates. > > > > Nothing in DM core actually consumes tio->num_bios -- please advise. > > > > Thanks, > > Mike > > tio->num_bios is a pointer. You don't increase tio->num_bios, you increase > the value it points to. It points to the local variable that is the limit > of the for loop. I see, thanks for clarifying. -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel