Re: dm-io: Prevent the danging point of the sync io callback function

2014-06-27 Thread Mikulas Patocka
On Fri, 27 Jun 2014, Mike Snitzer wrote: > On Fri, Jun 27 2014 at 2:44pm -0400, > Mikulas Patocka wrote: > > > > > > > On Fri, 27 Jun 2014, Joe Thornber wrote: > > > > > On Fri, Jun 27, 2014 at 12:01:30PM +0800, Minfei Huang wrote: > > > > The io address in callback function will become th

Re: dm-io: Prevent the danging point of the sync io callback function

2014-06-27 Thread Mike Snitzer
On Fri, Jun 27 2014 at 2:44pm -0400, Mikulas Patocka wrote: > > > On Fri, 27 Jun 2014, Joe Thornber wrote: > > > On Fri, Jun 27, 2014 at 12:01:30PM +0800, Minfei Huang wrote: > > > The io address in callback function will become the danging point, > > > cause by the thread of sync io wakes up