Message ID | 20240604163837.798219-1-logang@deltatee.com (mailing list archive) |
---|---|
Headers | show |
Series | Bug fixes for --write-zeros option | expand |
On Tue, 4 Jun 2024 10:38:35 -0600 Logan Gunthorpe <logang@deltatee.com> wrote: > Hi, > > Xiao noticed that the write-zeros tests failed randomly, especially > with small disks. We tracked this down to an issue with signalfd which > coallesced SIGCHLD signals into one. This is fixed by checking the > status of all children after every SIGCHLD. > > While we were at it, we noticed a potential reace with SIGCHLD coming > in before the signal was blocked in wait_for_zero_forks() and fix this > by moving the blocking before the child creation. > > Thanks, > > Logan > > -- Hello Logan, Thanks for fixes. LGTM. I will fix typo when merging, no need to sent v2. I have proxy issue, I have to solve it first. Thanks, Mariusz
On Tue, 4 Jun 2024 10:38:35 -0600 Logan Gunthorpe <logang@deltatee.com> wrote: > Hi, > > Xiao noticed that the write-zeros tests failed randomly, especially > with small disks. We tracked this down to an issue with signalfd which > coallesced SIGCHLD signals into one. This is fixed by checking the > status of all children after every SIGCHLD. > > While we were at it, we noticed a potential reace with SIGCHLD coming > in before the signal was blocked in wait_for_zero_forks() and fix this > by moving the blocking before the child creation. > > Thanks, > > Logan > > -- Applied! Thanks, Mariusz