Re: Kthread question

2007-04-26 Thread Eric W. Biederman
Alan Stern <[EMAIL PROTECTED]> writes: > Here's a question about how to use a kthread. > > The usb-storage driver creates a new thread to do LUN scanning whenever a > newly-hotplugged device is detected. This scanning involves waiting for > several seconds and then carrying out a potentially long

Kthread question

2007-04-26 Thread Alan Stern
Here's a question about how to use a kthread. The usb-storage driver creates a new thread to do LUN scanning whenever a newly-hotplugged device is detected. This scanning involves waiting for several seconds and then carrying out a potentially long-lasting series of I/O operations. So we don't w