Re: WARNING in md_ioctl

2020-10-21 Thread Dae R. Jeong
> > > diff --git i/drivers/md/md.c w/drivers/md/md.c > > > index 6072782070230..49442a3f4605b 100644 > > > --- i/drivers/md/md.c > > > +++ w/drivers/md/md.c > > > @@ -7591,8 +7591,10 @@ static int md_ioctl(struct block_device *bdev, > > > fmode_t mode, > > > err = -EBUSY; >

Re: WARNING in md_ioctl

2020-10-20 Thread Song Liu
On Mon, Oct 19, 2020 at 12:03 AM Dae R. Jeong wrote: > > > diff --git i/drivers/md/md.c w/drivers/md/md.c > > index 6072782070230..49442a3f4605b 100644 > > --- i/drivers/md/md.c > > +++ w/drivers/md/md.c > > @@ -7591,8 +7591,10 @@ static int md_ioctl(struct block_device *bdev, > > fmode_t mode, >

Re: WARNING in md_ioctl

2020-10-19 Thread Dae R. Jeong
> diff --git i/drivers/md/md.c w/drivers/md/md.c > index 6072782070230..49442a3f4605b 100644 > --- i/drivers/md/md.c > +++ w/drivers/md/md.c > @@ -7591,8 +7591,10 @@ static int md_ioctl(struct block_device *bdev, > fmode_t mode, > err = -EBUSY; >

Re: WARNING in md_ioctl

2020-10-19 Thread Song Liu
On Sat, Oct 17, 2020 at 4:13 AM Dae R. Jeong wrote: > > Hi, > > I looked into the warning "WARNING in md_ioctl" found by Syzkaller. > (https://syzkaller.appspot.com/bug?id=fbf9eaea2e65bfcabb4e2750c3ab0892867edea1) > I suspect that it is caused by a race between two concurrenct ioctl()s as >