Re: [PATCH] vduse: Cleanup the old kernel states after reset failure

2021-09-06 Thread Jason Wang
On Mon, Sep 6, 2021 at 10:22 PM Xie Yongji wrote: > > We should cleanup the old kernel states e.g. interrupt callback > no matter whether the userspace handle the reset correctly or not > since virtio-vdpa can't handle the reset failure now. > > Otherwise, the old state might be used after reset w

Re: [PATCH 0/2] virtiofs: miscellaneous fixes

2021-09-06 Thread JeffleXu
ping ... On 8/12/21 1:46 PM, Jeffle Xu wrote: > Some fixes or optimization for virtiofs, which are authored by Liu Bo. > > Liu Bo (2): > virtio-fs: disable atomic_o_trunc if no_open is enabled > virtiofs: reduce lock contention on fpq->lock > > fs/fuse/file.c | 11 +-- > fs/fus

Re: [RFC PATCH 0/1] virtio: false unhandled irqs from vring_interrupt()

2021-09-06 Thread Stefan Hajnoczi
On Tue, Aug 24, 2021 at 07:31:29AM -0400, Michael S. Tsirkin wrote: > On Tue, Aug 24, 2021 at 11:59:43AM +0100, Stefan Hajnoczi wrote: > > While investigating an unhandled irq from vring_interrupt() with virtiofs I > > stumbled onto a possible race that also affects virtio_gpu. This theory is > > b

Re: [PATCH v3 1/1] virtio-blk: avoid preallocating big SGL for data

2021-09-06 Thread Stefan Hajnoczi
On Wed, Sep 01, 2021 at 04:14:34PM +0300, Max Gurtovoy wrote: > No need to pre-allocate a big buffer for the IO SGL anymore. If a device > has lots of deep queues, preallocation for the sg list can consume > substantial amounts of memory. For HW virtio-blk device, nr_hw_queues > can be 64 or 128 an

Re: [PATCH] MAINTAINERS: add VM SOCKETS (AF_VSOCK) entry

2021-09-06 Thread Jorgen Hansen
> On 6 Sep 2021, at 11:11, Stefano Garzarella wrote: > > Add a new entry for VM Sockets (AF_VSOCK) that covers vsock core, > tests, and headers. Move some general vsock stuff from virtio-vsock > entry into this new more general vsock entry. > > I've been reviewing and contributing for the last

Re: [PATCH] MAINTAINERS: add VM SOCKETS (AF_VSOCK) entry

2021-09-06 Thread Stefan Hajnoczi
On Mon, Sep 06, 2021 at 11:11:59AM +0200, Stefano Garzarella wrote: > Add a new entry for VM Sockets (AF_VSOCK) that covers vsock core, > tests, and headers. Move some general vsock stuff from virtio-vsock > entry into this new more general vsock entry. > > I've been reviewing and contributing for

Re: [PATCH] MAINTAINERS: add VM SOCKETS (AF_VSOCK) entry

2021-09-06 Thread Stefan Hajnoczi
On Mon, Sep 06, 2021 at 11:11:59AM +0200, Stefano Garzarella wrote: > Add a new entry for VM Sockets (AF_VSOCK) that covers vsock core, > tests, and headers. Move some general vsock stuff from virtio-vsock > entry into this new more general vsock entry. > > I've been reviewing and contributing for

Re: [PATCH v2 1/1] virtio-blk: add num_io_queues module parameter

2021-09-06 Thread Michael S. Tsirkin
On Mon, Sep 06, 2021 at 01:31:32AM +0300, Max Gurtovoy wrote: > > On 9/5/2021 7:02 PM, Michael S. Tsirkin wrote: > > On Thu, Sep 02, 2021 at 02:45:52PM +0100, Stefan Hajnoczi wrote: > > > On Tue, Aug 31, 2021 at 04:50:35PM +0300, Max Gurtovoy wrote: > > > > Sometimes a user would like to control t

Re: [PATCH v13 05/13] vdpa: Add reset callback in vdpa_config_ops

2021-09-06 Thread Michael S. Tsirkin
On Mon, Sep 06, 2021 at 04:45:55PM +0800, Yongji Xie wrote: > On Mon, Sep 6, 2021 at 4:01 PM Michael S. Tsirkin wrote: > > > > On Mon, Sep 06, 2021 at 03:06:44PM +0800, Yongji Xie wrote: > > > On Mon, Sep 6, 2021 at 2:37 PM Michael S. Tsirkin wrote: > > > > > > > > On Mon, Sep 06, 2021 at 02:09:2

[PATCH] MAINTAINERS: add VM SOCKETS (AF_VSOCK) entry

2021-09-06 Thread Stefano Garzarella
Add a new entry for VM Sockets (AF_VSOCK) that covers vsock core, tests, and headers. Move some general vsock stuff from virtio-vsock entry into this new more general vsock entry. I've been reviewing and contributing for the last few years, so I'm available to help maintain this code. Cc: Dexuan

Re: [PATCH net-next v5 0/6] virtio/vsock: introduce MSG_EOR flag for SEQPACKET

2021-09-06 Thread Michael S. Tsirkin
On Mon, Sep 06, 2021 at 09:33:15AM +0200, Stefano Garzarella wrote: > On Sun, Sep 05, 2021 at 04:18:52PM -0400, Michael S. Tsirkin wrote: > > On Sun, Sep 05, 2021 at 07:21:10PM +0300, Arseny Krasnov wrote: > > > > > > On 05.09.2021 19:19, Michael S. Tsirkin wrote: > > > > On Sun, Sep 05, 2021 at 0

Re: [PATCH v13 05/13] vdpa: Add reset callback in vdpa_config_ops

2021-09-06 Thread Michael S. Tsirkin
On Mon, Sep 06, 2021 at 03:06:44PM +0800, Yongji Xie wrote: > On Mon, Sep 6, 2021 at 2:37 PM Michael S. Tsirkin wrote: > > > > On Mon, Sep 06, 2021 at 02:09:25PM +0800, Yongji Xie wrote: > > > On Mon, Sep 6, 2021 at 1:56 PM Michael S. Tsirkin wrote: > > > > > > > > On Tue, Aug 31, 2021 at 06:36:2

Re: [PATCH net-next v5 0/6] virtio/vsock: introduce MSG_EOR flag for SEQPACKET

2021-09-06 Thread Stefano Garzarella
On Sun, Sep 05, 2021 at 04:18:52PM -0400, Michael S. Tsirkin wrote: On Sun, Sep 05, 2021 at 07:21:10PM +0300, Arseny Krasnov wrote: On 05.09.2021 19:19, Michael S. Tsirkin wrote: > On Sun, Sep 05, 2021 at 07:02:44PM +0300, Arseny Krasnov wrote: >> On 05.09.2021 18:55, Michael S. Tsirkin wrote: