Re: [PATCH] md: Convert timers to use timer_setup()

2017-10-18 Thread Jens Axboe
> On Oct 18, 2017, at 9:06 PM, Kees Cook wrote: > >> On Mon, Oct 16, 2017 at 8:06 PM, Michael Lyle wrote: >>> On 10/16/2017 05:01 PM, Kees Cook wrote: >>> In preparation for unconditionally passing the struct timer_list pointer to >>> all timer callbacks, switch to using the new timer_setup() a

Re: [PATCH] md: Convert timers to use timer_setup()

2017-10-18 Thread Kees Cook
On Mon, Oct 16, 2017 at 8:06 PM, Michael Lyle wrote: > On 10/16/2017 05:01 PM, Kees Cook wrote: >> In preparation for unconditionally passing the struct timer_list pointer to >> all timer callbacks, switch to using the new timer_setup() and from_timer() >> to pass the timer pointer explicitly. >>

Re: [PATCH] md: Convert timers to use timer_setup()

2017-10-16 Thread Michael Lyle
On 10/16/2017 05:01 PM, Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Kent Overstreet > Cc: Shaohua Li > Cc: Alasdair Ker

Re: [PATCH] md: Convert timers to use timer_setup()

2017-10-16 Thread Kees Cook
On Mon, Oct 16, 2017 at 7:12 PM, Shaohua Li wrote: > On Mon, Oct 16, 2017 at 05:01:48PM -0700, Kees Cook wrote: >> In preparation for unconditionally passing the struct timer_list pointer to >> all timer callbacks, switch to using the new timer_setup() and from_timer() >> to pass the timer pointer

Re: [PATCH] md: Convert timers to use timer_setup()

2017-10-16 Thread Shaohua Li
On Mon, Oct 16, 2017 at 05:01:48PM -0700, Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. If you send the md.c part along, I'll apply

[PATCH] md: Convert timers to use timer_setup()

2017-10-16 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Kent Overstreet Cc: Shaohua Li Cc: Alasdair Kergon Cc: Mike Snitzer Cc: dm-de...@redhat.com Cc: linu