Re: [BUG] D state process after unplug and umount usb disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 4 Sep 2011, Lin Ming wrote:

> On Sun, Sep 4, 2011 at 9:49 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> >
> >> Where does this exit signal come from?
> >> Does USB interrupt handler will send kill signal to all processes
> >> accessing it when it's unplugged(by hand)?
> >
> > The USB stack does not send any signals at all unless a process
> > specifically asks for them.
> 
> How to ask?

With the USBDEVFS_DISCSIGNAL ioctl.

> I have not checked, but think umount code path will not send signal to process.

I don't think so either.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux