lkml.org 
[lkml]   [2011]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BUG] D state process after unplug and umount usb disk
On Sun, 4 Sep 2011, Lin Ming wrote:

> On Sun, Sep 4, 2011 at 9:49 PM, Alan Stern <stern@rowland.harvard.edu> 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



\
 
 \ /
  Last update: 2011-09-05 03:19    [W:0.074 / U:2.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site