[zfs-code] Argument allocated on stack passed to taskq.

2009-08-01 Thread Andrey Kuzmin
> Date: Thu, 30 Jul 2009 16:09:22 -0600 > From: Neil Perrin > To: Pawel Jakub Dawidek > Cc: zfs-code at opensolaris.org > Subject: Re: [zfs-code] Argument allocated on stack passed to taskq. > Message-ID: <4A721A12.8070404 at Sun.COM> > Content-Type: text/plain; CHAR

[zfs-code] Argument allocated on stack passed to taskq.

2009-07-30 Thread Pawel Jakub Dawidek
On Thu, Jul 30, 2009 at 11:31:41PM +0200, Pawel Jakub Dawidek wrote: > On Thu, Jul 30, 2009 at 11:25:19PM +0200, Pawel Jakub Dawidek wrote: > > Hello. > > > > In the traverse_impl() function we can find this call: > > > > if (!(flags & TRAVERSE_PREFETCH) || > > 0 == taskq_dispatch(sys

[zfs-code] Argument allocated on stack passed to taskq.

2009-07-30 Thread Pawel Jakub Dawidek
On Thu, Jul 30, 2009 at 11:25:19PM +0200, Pawel Jakub Dawidek wrote: > Hello. > > In the traverse_impl() function we can find this call: > > if (!(flags & TRAVERSE_PREFETCH) || > 0 == taskq_dispatch(system_taskq, traverse_prefetch_thread, > &td, TQ_NOQUEUE)) >

[zfs-code] Argument allocated on stack passed to taskq.

2009-07-30 Thread Pawel Jakub Dawidek
Hello. In the traverse_impl() function we can find this call: if (!(flags & TRAVERSE_PREFETCH) || 0 == taskq_dispatch(system_taskq, traverse_prefetch_thread, &td, TQ_NOQUEUE)) pd.pd_exited = B_TRUE; Which should call the traverse_prefetch_thread()

[zfs-code] Argument allocated on stack passed to taskq.

2009-07-30 Thread Neil Perrin
On 07/30/09 15:39, Pawel Jakub Dawidek wrote: > On Thu, Jul 30, 2009 at 11:31:41PM +0200, Pawel Jakub Dawidek wrote: >> On Thu, Jul 30, 2009 at 11:25:19PM +0200, Pawel Jakub Dawidek wrote: >>> Hello. >>> >>> In the traverse_impl() function we can find this call: >>> >>> if (!(flags & TRAVERSE