Date: Sun, 10 Mar 2019 11:17:22 +0100 From: Hans Petter Selasky <hps@selasky.org> To: Konstantin Belousov <kostikbel@gmail.com> Cc: Warner Losh <imp@bsdimp.com>, FreeBSD Hackers <freebsd-hackers@freebsd.org>, "O'Connor, Daniel" <darius@dons.net.au> Subject: Re: USB stack getting confused Message-ID: <3c249477-fc95-6e02-abcd-ceda09f5cdc4@selasky.org> In-Reply-To: <20190310094758.GP2492@kib.kiev.ua> References: <E0371188-FD0A-47E1-8378-40239F5C6622@dons.net.au> <f3e6e30b-8b62-546b-2b51-e841f2e645bd@selasky.org> <3B29D870-41F9-46AF-B9F3-03106DEC417D@dons.net.au> <20190309152613.GM2492@kib.kiev.ua> <ea6e2690-1ad7-6c06-49e5-c528013f26c0@selasky.org> <20190309162640.GN2492@kib.kiev.ua> <CANCZdfr9jRcXQeZWMPKSMvUB5u7kE0eDvbuKrtGvuUDYOr=n4A@mail.gmail.com> <20190309192330.GO2492@kib.kiev.ua> <fd5038a4-406b-6e4b-bb52-b567b1954ad1@selasky.org> <20190310094758.GP2492@kib.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On 3/10/19 10:47 AM, Konstantin Belousov wrote: >> Hi, >> >> How will these apps detect that they need to open the new /dev/mixer node? >> >> I mean, after hang is fixed, mixer app will still try to query the old >> file handle forever? > Userspace gets either ENXIO or EIO from syscalls. For polls, it gets > POLLIN | POLLHUP immediately. > It is likely that the app doesn't check the return value from the mixer IOCTL at all. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3c249477-fc95-6e02-abcd-ceda09f5cdc4>