Re: [PATCH] aio: take an extra file reference before call vfs_poll()

2019-03-04 Thread Al Viro
On Tue, Mar 05, 2019 at 09:17:07AM +0800, Hou Tao wrote: > ping ? Oh, hell... I really wish I'd seen your mail back then ;-/ Would've avoided a lot of headache now (and essentially duplicating your analysis + patch when a later report got noticed - right before the -final, Murphy Law being what

Re: [PATCH] aio: take an extra file reference before call vfs_poll()

2019-03-04 Thread Hou Tao
ping ? On 2019/3/1 18:09, Hou Tao wrote: > ping ? > > On 2019/2/25 17:03, Hou Tao wrote: >> Taking an extra file reference before call vfs_poll(), else >> the file may be released by aio_poll_wake() if an expected >> event is triggered immediately (e.g., by the close of a >> pair of pipes) after

Re: [PATCH] aio: take an extra file reference before call vfs_poll()

2019-03-01 Thread Hou Tao
ping ? On 2019/2/25 17:03, Hou Tao wrote: > Taking an extra file reference before call vfs_poll(), else > the file may be released by aio_poll_wake() if an expected > event is triggered immediately (e.g., by the close of a > pair of pipes) after the return of vfs_poll(), and we may > hit a