Re: virtiofs: WARN_ON(out_sgs + in_sgs != total_sgs)

2020-10-06 Thread Vivek Goyal
On Tue, Oct 06, 2020 at 10:04:27AM +0100, Stefan Hajnoczi wrote: > On Sun, Oct 04, 2020 at 10:31:19AM -0400, Vivek Goyal wrote: > > On Fri, Oct 02, 2020 at 10:44:37PM -0400, Qian Cai wrote: > > > On Fri, 2020-10-02 at 12:28 -0400, Qian Cai wrote: > > > > Running some fuzzing on virtiofs from a

Re: virtiofs: WARN_ON(out_sgs + in_sgs != total_sgs)

2020-10-06 Thread Stefan Hajnoczi
On Sun, Oct 04, 2020 at 10:31:19AM -0400, Vivek Goyal wrote: > On Fri, Oct 02, 2020 at 10:44:37PM -0400, Qian Cai wrote: > > On Fri, 2020-10-02 at 12:28 -0400, Qian Cai wrote: > > > Running some fuzzing on virtiofs from a non-privileged user could trigger > > > a > > > warning in

Re: virtiofs: WARN_ON(out_sgs + in_sgs != total_sgs)

2020-10-04 Thread Vivek Goyal
On Fri, Oct 02, 2020 at 10:44:37PM -0400, Qian Cai wrote: > On Fri, 2020-10-02 at 12:28 -0400, Qian Cai wrote: > > Running some fuzzing on virtiofs from a non-privileged user could trigger a > > warning in virtio_fs_enqueue_req(): > > > > WARN_ON(out_sgs + in_sgs != total_sgs); > > Okay, I can

Re: virtiofs: WARN_ON(out_sgs + in_sgs != total_sgs)

2020-10-02 Thread Qian Cai
On Fri, 2020-10-02 at 12:28 -0400, Qian Cai wrote: > Running some fuzzing on virtiofs from a non-privileged user could trigger a > warning in virtio_fs_enqueue_req(): > > WARN_ON(out_sgs + in_sgs != total_sgs); Okay, I can reproduce this after running for a few hours: out_sgs = 3, in_sgs = 2,

virtiofs: WARN_ON(out_sgs + in_sgs != total_sgs)

2020-10-02 Thread Qian Cai
Running some fuzzing on virtiofs from a non-privileged user could trigger a warning in virtio_fs_enqueue_req(): WARN_ON(out_sgs + in_sgs != total_sgs); # /usr/libexec/virtiofsd --socket-path=/tmp/vhostqemu -o source=$TESTDIR -o cache=always -o no_posix_lock ... # mount -t virtiofs myfs /tmp $