[RFC PATCH 18/68] vfs: Convert virtio_balloon to use the new mount API

2019-03-27 Thread David Howells
Convert the virtio_balloon filesystem to the new internal mount API as the old one will be obsoleted and removed. This allows greater flexibility in communication of mount parameters between userspace, the VFS and the filesystem. See Documentation/filesystems/mount_api.txt for more information.

[RFC PATCH 00/68] VFS: Convert a bunch of filesystems to the new mount API

2019-03-27 Thread David Howells
Hi Al, Here's a set of patches that converts a bunch (but not yet all!) to the new mount API. To this end, it makes the following changes: (1) Provides a convenience member in struct fs_context that is OR'd into sb->s_iflags by sget_fc(). (2) Provides a convenience helper function,

Re: [PATCH net v3] failover: allow name change on IFF_UP slave interfaces

2019-03-27 Thread Michael S. Tsirkin
On Wed, Mar 27, 2019 at 01:10:10PM -0700, si-wei liu wrote: > Another less safer option is that we just notify userspace anyway without > sending down/up event around, as I don't see *any real application* cares > about the link state or whatsoever when it attempts to detect rename. How do you

Re: [PATCH] MAiNTAINERS: add Paolo, Stefan for virtio blk/scsi

2019-03-27 Thread Paolo Bonzini
On 27/03/19 17:57, Stefan Hajnoczi wrote: > On Wed, Mar 27, 2019 at 10:33:57AM -0400, Michael S. Tsirkin wrote: >> Jason doesn't really have the time to review blk/scsi >> patches. Paolo and Setfan agreed to help out. >> >> Thanks guys! >> >> Signed-off-by: Michael S. Tsirkin >> >> --- > > There

Re: [PATCH] MAiNTAINERS: add Paolo, Stefan for virtio blk/scsi

2019-03-27 Thread Michael S. Tsirkin
On Wed, Mar 27, 2019 at 04:57:54PM +, Stefan Hajnoczi wrote: > On Wed, Mar 27, 2019 at 10:33:57AM -0400, Michael S. Tsirkin wrote: > > Jason doesn't really have the time to review blk/scsi > > patches. Paolo and Setfan agreed to help out. > > > > Thanks guys! > > > > Signed-off-by: Michael

Re: [PATCH] MAiNTAINERS: add Paolo, Stefan for virtio blk/scsi

2019-03-27 Thread Stefan Hajnoczi
On Wed, Mar 27, 2019 at 10:33:57AM -0400, Michael S. Tsirkin wrote: > Jason doesn't really have the time to review blk/scsi > patches. Paolo and Setfan agreed to help out. > > Thanks guys! > > Signed-off-by: Michael S. Tsirkin > > --- There is relatively little activity in this area so I'd

Re: [PATCH] MAiNTAINERS: add Paolo, Stefan for virtio blk/scsi

2019-03-27 Thread Michael S. Tsirkin
On Wed, Mar 27, 2019 at 04:08:05PM +0100, Paolo Bonzini wrote: > On 27/03/19 15:33, Michael S. Tsirkin wrote: > > Jason doesn't really have the time to review blk/scsi > > patches. Paolo and Setfan agreed to help out. > > > > Thanks guys! > > > > Signed-off-by: Michael S. Tsirkin > > > > --- >

Re: [PATCH] MAiNTAINERS: add Paolo, Stefan for virtio blk/scsi

2019-03-27 Thread Paolo Bonzini
On 27/03/19 15:33, Michael S. Tsirkin wrote: > Jason doesn't really have the time to review blk/scsi > patches. Paolo and Setfan agreed to help out. > > Thanks guys! > > Signed-off-by: Michael S. Tsirkin > > --- > > diff --git a/MAINTAINERS b/MAINTAINERS > index 95a5ebecd04f..8326d19c1681

Re: [PATCH v3 5/5] drm/virtio: rework resource creation workflow.

2019-03-27 Thread Noralf Trønnes
Den 18.03.2019 12.33, skrev Gerd Hoffmann: > This patch moves the virtio_gpu_cmd_create_resource() call (which > notifies the host about the new resource created) into the > virtio_gpu_object_create() function. That way we can call > virtio_gpu_cmd_create_resource() before ttm_bo_init(), so the

Re: [PATCH v3 2/5] drm/virtio: use struct to pass params to virtio_gpu_object_create()

2019-03-27 Thread Noralf Trønnes
Den 18.03.2019 12.33, skrev Gerd Hoffmann: > Create virtio_gpu_object_params, use that to pass object parameters to > virtio_gpu_object_create. This is just the first step, followup patches > will add more parameters to the struct. The plan is to use the struct > for all object parameters. >

[PATCH] MAiNTAINERS: add Paolo, Stefan for virtio blk/scsi

2019-03-27 Thread Michael S. Tsirkin
Jason doesn't really have the time to review blk/scsi patches. Paolo and Setfan agreed to help out. Thanks guys! Signed-off-by: Michael S. Tsirkin --- diff --git a/MAINTAINERS b/MAINTAINERS index 95a5ebecd04f..8326d19c1681 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -16247,7 +16247,7 @@ F:

Re: [PATCH] drm/virtio: add virtio-gpu-features debugfs file.

2019-03-27 Thread Noralf Trønnes
Den 20.03.2019 09.36, skrev Gerd Hoffmann: > This file prints which features the virtio-gpu device has. > > Also add "virtio-gpu-" prefix to the existing fence file, > to make clear this is a driver-specific debugfs file. > > Signed-off-by: Gerd Hoffmann > --- Acked-by: Noralf Trønnes

Re: [PATCH net v3] failover: allow name change on IFF_UP slave interfaces

2019-03-27 Thread Michael S. Tsirkin
On Tue, Mar 26, 2019 at 07:13:42PM -0700, Stephen Hemminger wrote: > On Tue, 26 Mar 2019 19:48:13 -0400 > Si-Wei Liu wrote: > > > When a netdev appears through hot plug then gets enslaved by a failover > > master that is already up and running, the slave will be opened > > right away after

Re: [PATCH net v3] failover: allow name change on IFF_UP slave interfaces

2019-03-27 Thread Jiri Pirko
Wed, Mar 27, 2019 at 12:48:13AM CET, si-wei@oracle.com wrote: >When a netdev appears through hot plug then gets enslaved by a failover >master that is already up and running, the slave will be opened >right away after getting enslaved. Today there's a race that userspace >(udev) may fail to

[PATCH 2/2] scsi: virtio_scsi: limit number of hw queues by nr_cpu_ids

2019-03-27 Thread Dongli Zhang
When tag_set->nr_maps is 1, the block layer limits the number of hw queues by nr_cpu_ids. No matter how many hw queues are used by virtio-scsi, as it has (tag_set->nr_maps == 1), it can use at most nr_cpu_ids hw queues. In addition, specifically for pci scenario, when the 'num_queues' specified

[PATCH 1/2] virtio-blk: limit number of hw queues by nr_cpu_ids

2019-03-27 Thread Dongli Zhang
When tag_set->nr_maps is 1, the block layer limits the number of hw queues by nr_cpu_ids. No matter how many hw queues are used by virtio-blk, as it has (tag_set->nr_maps == 1), it can use at most nr_cpu_ids hw queues. In addition, specifically for pci scenario, when the 'num-queues' specified by

[PATCH 0/2] Limit number of hw queues by nr_cpu_ids for virtio-blk and virtio-scsi

2019-03-27 Thread Dongli Zhang
When tag_set->nr_maps is 1, the block layer limits the number of hw queues by nr_cpu_ids. No matter how many hw queues are use by virtio-blk/virtio-scsi, as they both have (tag_set->nr_maps == 1), they can use at most nr_cpu_ids hw queues. In addition, specifically for pci scenario, when the