From: James Simmons
The ioctl IOC_LIBCFS_PING_TEST has not been used in
ages. The recent nidstring changes which moved all
the nidstring operations from libcfs to the LNet
layer but this ioctl code was still using an
nidstring operation that was causing an circular
dependency loop between libcfs
On Thu, Jun 27, 2013 at 5:22 PM, Tomas Hozza wrote:
> Check return value of poll call and if it fails print error to the
> system log. If errno is EINVAL then exit with non-zero value otherwise
> continue the while loop and call poll again.
>
> Signed-off-by: Tomas Hozza
> ---
> tools/hv/hv_vss_
On Tue, Sep 25, 2018 at 01:52:57PM -0400, Stephen Smalley wrote:
> On 09/25/2018 01:27 PM, Tong Zhang wrote:
> > Kernel Version: 4.18.5
> >
> > Problem Description:
> >
> > When setting nice value, it is checked by LSM function
> > security_task_setnice().
> > see kernel/sched/core.c:3972 SYSCAL
On Sun, Aug 18, 2019 at 11:21:13AM +0200, Richard Weinberger wrote:
> > Not to say that erofs shouldn't be worked on to fix these kinds of
> > issues, just that it's not an unheard of thing to trust the disk image.
> > Especially for the normal usage model of erofs, where the whole disk
> > image i
On Sun, Aug 18, 2019 at 08:58:12AM -0700, Christoph Hellwig wrote:
> On Sun, Aug 18, 2019 at 11:11:54AM -0400, Theodore Y. Ts'o wrote:
> > Note that of the mainstream file systems, ext4 and xfs don't guarantee
> > that it's safe to blindly take maliciously provided f
On Sun, Aug 18, 2019 at 07:06:40PM +0200, Richard Weinberger wrote:
> > So holding a file system like EROFS to a higher standard than say,
> > ext4, xfs, or btrfs hardly seems fair.
>
> Nobody claimed that.
Pointing out that erofs has issues in this area when Gao Xiang is
asking if erofs can be m
On Tue, Aug 20, 2019 at 10:24:11AM +0800, Chao Yu wrote:
> Out of curiosity, it looks like every mainstream filesystem has its own
> fuzz/injection tool in their tool-set, if it's really such a generic
> requirement, why shouldn't there be a common tool to handle that, let
> specified
> filesystem
On Wed, Aug 21, 2019 at 12:35:08AM +0800, Gao Xiang wrote:
>
> For EROFS, it's a special case since it is a RO fs, and erofs mkfs
> will generate reproducable images (which means, for one dir trees,
> it only generates exact one result except for build time).
Agreed, and given that, doing the fuz
On Wed, Oct 30, 2019 at 09:07:33PM -0400, Valdis Kletnieks wrote:
> Three questions: (a) ACK/NAK on this patch, (b) should it be all in one
> patch, or one to add to errno.h and 6 patches for 6 filesystems?), and
> (c) if one patch, who gets to shepherd it through?
Acked-by: Theodore Ts'o
___
Some bug fixes for the balloon driver.
K. Y. Srinivasan (3):
Drivers: hv: hv_balloon: Make adjustments in computing the floor
Drivers: hv: hv_balloon: Fix a locking bug in the balloon driver
Drivers: hv: hv_balloon: Don't post pressure status from interrupt
context
drive
Make adjustments in computing the balloon floor.
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/hv_balloon.c |9 +
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/drivers/hv/hv_balloon.c b/drivers/hv/hv_balloon.c
index b958ded..9cbbb83 100644
--- a/drivers/hv
are different from what Windows
expects. The state to manage the onlining of pages needs to be correctly
protected. Fix this bug.
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/hv_balloon.c | 69 +++---
1 files changed, 64 insertions(+), 5 deletions
Wheeler
reported:
http://lkml.iu.edu/hypermail/linux/kernel/1411.1/00075.html
Signed-off-by: K. Y. Srinivasan
Reported-by: Sitsofe Wheeler
---
drivers/hv/hv_balloon.c | 11 ---
1 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/drivers/hv/hv_balloon.c b/drivers/hv/hv_balloon.c
The clocksource based on Hyper-V per-partition reference count MSR is
continuous. Mark it accordingly.
Signed-off-by: K. Y. Srinivasan
cc: sta...@vger.kernel.org
---
arch/x86/kernel/cpu/mshyperv.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/cpu
Some bug fixes for the balloon driver. In this version,
based on Dan Carpenter's comment, I have added some additional
information to the change log.
K. Y. Srinivasan (3):
Drivers: hv: hv_balloon: Make adjustments in computing the floor
Drivers: hv: hv_balloon: Fix a locking bug i
state.
This patch fixes the issue by raising the floor.
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/hv_balloon.c |9 +
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/drivers/hv/hv_balloon.c b/drivers/hv/hv_balloon.c
index b958ded..9cbbb83 100644
--- a/drivers/hv
are different from what Windows
expects. The state to manage the onlining of pages needs to be correctly
protected. Fix this bug.
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/hv_balloon.c | 69 +++---
1 files changed, 64 insertions(+), 5 deletions
Wheeler
reported:
http://lkml.iu.edu/hypermail/linux/kernel/1411.1/00075.html
Signed-off-by: K. Y. Srinivasan
Reported-by: Sitsofe Wheeler
---
drivers/hv/hv_balloon.c | 11 ---
1 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/drivers/hv/hv_balloon.c b/drivers/hv/hv_balloon.c
Signed-off-by: K. Y. Srinivasan
---
arch/x86/include/uapi/asm/hyperv.h | 11 +
drivers/hv/hv.c| 78
drivers/hv/hyperv_vmbus.h | 21 ++
drivers/hv/vmbus_drv.c | 40 +-
4 files
Implement a clockevent device based on the timer support
available on Hyper-V.
Signed-off-by: K. Y. Srinivasan
---
arch/x86/include/uapi/asm/hyperv.h | 11 +
drivers/hv/hv.c| 78
drivers/hv/hyperv_vmbus.h | 21
Implement a clockevent device based on the timer support available on
Hyper-V.
In This version of the patch I have addressed Jason's review comments.
Signed-off-by: K. Y. Srinivasan
Reviewed-by: Jason Wang
---
arch/x86/include/uapi/asm/hyperv.h | 11 +
drivers/hv
Fix a deadlock in the hot-add path in the Hyper-V balloon driver.
K. Y. Srinivasan (2):
Drivers: base: core: Export functions to lock/unlock device hotplug
lock
Drivers: hv: balloon: Fix the deadlock issue in the memory hot-add
code
drivers/base/core.c |2 ++
drivers/hv
er
is just doing this wrong."
This patch is based on the suggestion from
Yasuaki Ishimatsu
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/hv_balloon.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/drivers/hv/hv_balloon.c b/drivers/hv/hv_balloon.c
index afdb0d
-off-by: K. Y. Srinivasan
---
drivers/base/core.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/base/core.c b/drivers/base/core.c
index 97e2baf..b3073af 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -55,11 +55,13 @@ void lock_device_hotplug(void
Implement a clockevent device based on the timer support available on
Hyper-V.
In this version of the patch I have addressed Jason's review comments.
Signed-off-by: K. Y. Srinivasan
Reviewed-by: Jason Wang
---
arch/x86/include/uapi/asm/hyperv.h | 11 +
drivers/hv
Implement a clockevent device based on the timer support available on
Hyper-V.
In this version of the patch I have addressed Jason's review comments.
Signed-off-by: K. Y. Srinivasan
Reviewed-by: Jason Wang
---
arch/x86/include/uapi/asm/hyperv.h | 11 +
drivers/hv
Fix a bug in vmbus_establish_gpadl(). I would like to
thank Michael Brown for seeing this bug.
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/channel.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c
index 433f72a..c76ffbe
Fix a bug in vmbus_establish_gpadl(). I would like to
thank Michael Brown for seeing this bug.
In this version, I have added the Reported-by tag.
Signed-off-by: K. Y. Srinivasan
Reported-by: Michael Brown
---
drivers/hv/channel.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions
Correctly compute the local (gpadl) handle.
I would like to thank Michael Brown for seeing this bug.
Signed-off-by: K. Y. Srinivasan
Reported-by: Michael Brown
---
Changes in V2: Added the Reported-by tag.
Changes in V3: Cleaned up the commit log.
drivers/hv/channel.c |4 ++--
1 files
Replace calls for smp_processor_id() to get_cpu() to get the CPU ID of
the current CPU. In these instances, there is no correctness issue with
regards to preemption, we just need the current CPU ID.
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/channel_mgmt.c |4 +++-
drivers/hv
-by: K. Y. Srinivasan
---
drivers/hv/channel.c | 44
include/linux/hyperv.h | 31 +++
2 files changed, 75 insertions(+), 0 deletions(-)
diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c
index c76ffbe..18c4f23
The first two patches in this series are a resend; these were submitted
some months ago and as far as I know, there were no outstanding issues.
Win8 and win8 r2 hosts do support SPC-3 features but claim SPC-2 compliance.
This issue is fixed here as well.
K. Y. Srinivasan (4):
Drivers: scsi
Commit 4cd83ecdac20d30725b4f96e5d7814a1e290bc7e changed the limits to
reflect the values on the host. It turns out that WS2008R2 cannot
correctly handle these new limits. Fix this bug by setting the limits
based on the host.
Signed-off-by: K. Y. Srinivasan
---
drivers/scsi/storvsc_drv.c | 15
The virtual HBA that storvsc implements can support multiple channels and
targets. So, scan the host when the host notifies that a scan is needed.
Signed-off-by: K. Y. Srinivasan
---
drivers/scsi/storvsc_drv.c | 19 +++
1 files changed, 7 insertions(+), 12 deletions(-)
diff
claiming SPC-3 compliance on these hosts as well. This will enable TRIM
support on these hosts.
Suggested by: James Bottomley
Signed-off-by: K. Y. Srinivasan
---
drivers/scsi/storvsc_drv.c | 13 +
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/drivers/scsi
for an I/O to remove the device, force the discovery of
LUNs that may have been removed prior to discovering LUNs that may have
been added.
Signed-off-by: K. Y. Srinivasan
---
drivers/scsi/storvsc_drv.c | 26 ++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git
Add vendor and device ID attributes to vmbus devices. This would allow us to
support vmbus based devices that can support guest RDMA.
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/vmbus_drv.c | 20
include/linux/hyperv.h |2 ++
2 files changed, 22 insertions(+), 0
Greg,
Some time back I had sent a buch of patches for
Hyper-V drivers. Are they still in the queue or should I resend
them.
Regards,
K. Y
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo
When someone does 'make' in tools/hv/ issues appear:
- hv_fcopy_daemon is not being built;
- lots of compiler warnings.
This is just a cleanup. Compile-tested by myself on top of linux-next/master.
Piggyback this series and send "[PATCH 5/5] Tools: hv: do not add redundant '/'
in hv_start_fcopy()
Kuznetsov
Signed-off-by: K. Y. Srinivasan
---
tools/hv/hv_kvp_daemon.c | 25 -
1 files changed, 12 insertions(+), 13 deletions(-)
diff --git a/tools/hv/hv_kvp_daemon.c b/tools/hv/hv_kvp_daemon.c
index 5a274ca..48a95f9 100644
--- a/tools/hv/hv_kvp_daemon.c
+++ b/tools/hv
From: Vitaly Kuznetsov
fcopyd in missing in the Makefile, add it there.
Signed-off-by: Vitaly Kuznetsov
Signed-off-by: K. Y. Srinivasan
---
tools/hv/Makefile |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/hv/Makefile b/tools/hv/Makefile
index bd22f78
From: Vitaly Kuznetsov
This patch addresses two types of compiler warnings:
... warning: unused variable .fd. [-Wunused-variable]
and
... warning: format .%s. expects argument of type .char *., but argument 5 has
type .__u16 *. [-Wformat=]
Signed-off-by: Vitaly Kuznetsov
Signed-off-by: K. Y
From: Vitaly Kuznetsov
We don't need to add additional '/' to smsg->path_name as snprintf("%s/%s")
does the right thing. Without the patch we get doubled '//' in the log message.
Signed-off-by: Vitaly Kuznetsov
Signed-off-by: K. Y. Srinivasan
---
tools
: variable .bytes_written. set but not used
[-Wunused-but-set-variable]
Remove bytes_written completely.
Signed-off-by: Vitaly Kuznetsov
Signed-off-by: K. Y. Srinivasan
---
tools/hv/hv_kvp_daemon.c |4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/tools/hv
In addition to some miscellaneous bug fixes and enhancements
implement a clockevent device based on the functionality supported by Hyper-V.
K. Y. Srinivasan (6):
Drivers: hv: hv_balloon: Make adjustments in computing the floor
Drivers: hv: hv_balloon: Fix a locking bug in the balloon driver
Wheeler
reported:
http://lkml.iu.edu/hypermail/linux/kernel/1411.1/00075.html
Signed-off-by: K. Y. Srinivasan
Reported-by: Sitsofe Wheeler
---
drivers/hv/hv_balloon.c | 11 ---
1 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/drivers/hv/hv_balloon.c b/drivers/hv/hv_balloon.c
-by: K. Y. Srinivasan
---
drivers/hv/channel.c | 44
include/linux/hyperv.h | 31 +++
2 files changed, 75 insertions(+), 0 deletions(-)
diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c
index c76ffbe..18c4f23
state.
This patch fixes the issue by raising the floor.
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/hv_balloon.c |9 +
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/drivers/hv/hv_balloon.c b/drivers/hv/hv_balloon.c
index b958ded..9cbbb83 100644
--- a/drivers/hv
are different from what Windows
expects. The state to manage the onlining of pages needs to be correctly
protected. Fix this bug.
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/hv_balloon.c | 68 +++---
1 files changed, 63 insertions(+), 5 deletions
Correctly compute the local (gpadl) handle.
I would like to thank Michael Brown for seeing this bug.
Signed-off-by: K. Y. Srinivasan
Reported-by: Michael Brown
---
drivers/hv/channel.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/hv/channel.c b/drivers
Implement a clockevent device based on the timer support available on
Hyper-V.
In this version of the patch I have addressed Jason's review comments.
Signed-off-by: K. Y. Srinivasan
Reviewed-by: Jason Wang
---
arch/x86/include/uapi/asm/hyperv.h | 11 +
drivers/hv
The Hyper-V clocksource is continuous; mark it accordingly.
Signed-off-by: K. Y. Srinivasan
Cc: stable
---
arch/x86/kernel/cpu/mshyperv.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/cpu/mshyperv.c b/arch/x86/kernel/cpu/mshyperv.c
index a450373
On Mon, Jul 22, 2019 at 06:58:59PM +0800, Gao Xiang wrote:
> > The number of individual Kconfig options is quite high, are you sure you
> > need them to be split like that?
>
> You mean the above? these are 3 cache strategies, which impact the
> runtime memory consumption and performance. I tend t
On Mon, Jul 22, 2019 at 10:16:44PM +0800, Gao Xiang wrote:
> OK, I will give a try. One point I think is how to deal with the case
> if there is already cached information when remounting as well as you said.
>
> As the first step, maybe the mount option can be defined as
> allowing/forbiding cachi
t treating all timeouts as such), add a protection
against processing new VSS_OP_REGISTER messages while being in the middle of a
transaction (HVUTIL_USERSPACE_REQ or HVUTIL_USERSPACE_RECV state).
Signed-off-by: Vitaly Kuznetsov
Tested-by: Alex Ng
Signed-off-by: K. Y. Srinivasan
---
drive
From: Vitaly Kuznetsov
Unify driver registration reporting and move it to debug level as normally
daemons write to syslog themselves
and these kernel messages are useless.
Signed-off-by: Vitaly Kuznetsov
Tested-by: Alex Ng
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/hv_fcopy.c|3
Changes in v3:
- Removed RFC from subject, rebased on top of current char-misc-next tree.
RFCv2:
http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2015-March/066629.html
Anatomy of the series:
Patches 01 - 07 are cleanup with minor functional change.
Patch 08 defines the state ma
processed.
In FCOPY we support only the former. Add support for the later, use
hv_poll_channel() to do the job.
Signed-off-by: Vitaly Kuznetsov
Tested-by: Alex Ng
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/hv_fcopy.c | 12 +---
1 files changed, 9 insertions(+), 3 deletions
From: Vitaly Kuznetsov
Introduce FCOPY_VERSION_1 to support kernel replying to the negotiation
message with its own version.
Signed-off-by: Vitaly Kuznetsov
Tested-by: Alex Ng
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/hv_fcopy.c | 16 +++-
include/uapi/linux
(). This doesn't cause real issues as:
1) Host is supposed to serialize transactions as well
2) If no message is pending vmbus_recvpacket() will return 0 recvlen.
This is just a cleanup.
Signed-off-by: Vitaly Kuznetsov
Tested-by: Alex Ng
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/hv_kvp.c |
From: Vitaly Kuznetsov
These declarations are internal to hv_util module and hv_fcopy_* declarations
already reside there.
Signed-off-by: Vitaly Kuznetsov
Tested-by: Alex Ng
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/hv_kvp.c |1 +
drivers/hv/hv_snapshot.c |2 ++
drivers
From: Vitaly Kuznetsov
Move poll_channel() to hyperv_vmbus.h and make it inline and rename it to
hv_poll_channel() so it can be reused
in other hv_util modules.
Signed-off-by: Vitaly Kuznetsov
Tested-by: Alex Ng
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/hv_kvp.c | 17
From: Vitaly Kuznetsov
Use /dev/vmbus/hv_vss instead of netlink.
Signed-off-by: Vitaly Kuznetsov
Tested-by: Alex Ng
Signed-off-by: K. Y. Srinivasan
---
tools/hv/hv_vss_daemon.c | 139 -
1 files changed, 25 insertions(+), 114 deletions(-)
diff
t the userspace daemon
has died (unless we start treating all timeouts as such). In case the daemon
restarts we skip the negotiation procedure (so the daemon is supposed to has
the same version). This behavior is unchanged from in_handshake approach.
Signed-off-by: Vitaly Kuznetsov
Tested-by: Al
From: Vitaly Kuznetsov
'fcopy_work' (and fcopy_work_func) is a misnomer as it sounds like we expect
this useful work to happen and in reality it is just an emergency escape when
timeout happens.
Signed-off-by: Vitaly Kuznetsov
Tested-by: Alex Ng
Signed-off-by: K. Y. Srinivasan
--
Ng
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/hv_fcopy.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/hv/hv_fcopy.c b/drivers/hv/hv_fcopy.c
index a501301..d1475e6 100644
--- a/drivers/hv/hv_fcopy.c
+++ b/drivers/hv/hv_fcopy.c
@@ -360,12 +360,9
-by: Vitaly Kuznetsov
Tested-by: Alex Ng
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/Makefile |2 +-
drivers/hv/hv_utils_transport.c | 276 +++
drivers/hv/hv_utils_transport.h | 51 +++
3 files changed, 328 insertions(+), 1 deletions
From: Vitaly Kuznetsov
Convert to hv_utils_transport to support both netlink and /dev/vmbus/hv_vss
communication methods.
Signed-off-by: Vitaly Kuznetsov
Tested-by: Alex Ng
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/hv_snapshot.c | 52 +++--
1
on driver unload
In hv_fcopy_onchannelcallback() process ICMSGTYPE_NEGOTIATE messages even when
the userspace daemon is disconnected, otherwise we can make the host think
we don't support FCOPY and disable the service completely.
Signed-off-by: Vitaly Kuznetsov
Tested-by: Alex Ng
Signe
From: Vitaly Kuznetsov
Use /dev/vmbus/hv_kvp instead of netlink.
Signed-off-by: Vitaly Kuznetsov
Tested-by: Alex Ng
Signed-off-by: K. Y. Srinivasan
---
tools/hv/hv_kvp_daemon.c | 166 +-
1 files changed, 31 insertions(+), 135 deletions(-)
diff
From: Vitaly Kuznetsov
Convert to hv_utils_transport to support both netlink and /dev/vmbus/hv_kvp
communication methods.
Signed-off-by: Vitaly Kuznetsov
Tested-by: Alex Ng
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/hv_kvp.c | 91 +++---
1
processed.
In VSS we support only the former. Add support for the later, use
hv_poll_channel() to do the job.
Signed-off-by: Vitaly Kuznetsov
Tested-by: Alex Ng
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/hv_snapshot.c | 14 +-
1 files changed, 9 insertions(+), 5 deletions
From: Vitaly Kuznetsov
'kvp_work' (and kvp_work_func) is a misnomer as it sounds like we expect
this useful work to happen and in reality it is just an emergency escape when
timeout happens.
Signed-off-by: Vitaly Kuznetsov
Tested-by: Alex Ng
Signed-off-by: K. Y. Srinivasan
---
From: Vitaly Kuznetsov
Introduce VSS_OP_REGISTER1 to support kernel replying to the negotiation
message with its own version.
Signed-off-by: Vitaly Kuznetsov
Tested-by: Alex Ng
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/hv_snapshot.c| 49
this state in all 3 drivers.
Signed-off-by: Vitaly Kuznetsov
Tested-by: Alex Ng
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/hyperv_vmbus.h |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h
index 2f30456
From: Vitaly Kuznetsov
Unify the code with the recently introduced hv_utils_transport. Netlink
communication is disabled for fcopy.
Signed-off-by: Vitaly Kuznetsov
Tested-by: Alex Ng
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/hv_fcopy.c | 194
Get rid of some unused definitions.
Signed-off-by: K. Y. Srinivasan
---
include/linux/hyperv.h | 19 ---
1 files changed, 0 insertions(+), 19 deletions(-)
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h
index 1744148..e29ccdd 100644
--- a/include/linux/hyperv.h
39.788877] [] ? atomic_notifier_chain_register+0x38/0x70
[ 39.788877] [] ? atomic_notifier_chain_register+0x17/0x70
[ 39.788877] [] hv_acpi_init+0x14f/0x1000 [hv_vmbus]
[ 39.788877] [] do_one_initcall+0xd4/0x210
Signed-off-by: Vitaly Kuznetsov
Signed-off-by: K. Y. Srinivasan
---
Implement the protocol for tearing down the monitor state established with
the host.
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/channel_mgmt.c | 25 +
drivers/hv/connection.c |5 +
drivers/hv/hyperv_vmbus.h |2 ++
include/linux/hyperv.h|1 +
4
nnel_removal().
This patch fixes a bug in the vmbus unload path.
Thank Dan Carpenter for finding the issue!
Signed-off-by: Dexuan Cui
Reported-by: Dan Carpenter
Cc: K. Y. Srinivasan
Cc: Vitaly Kuznetsov
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/channel_mgmt.c | 11 ---
1 file
:[] []
__request_resource+0x2f/0x50
[ 38.166315] RSP: 0018:88003f60fb58 EFLAGS: 00010286
Signed-off-by: Vitaly Kuznetsov
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/vmbus_drv.c | 10 ++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv
. Y. Srinivasan (2):
drivers: hv: vmbus: Get rid of some unused definitions
Drivers: hv: vmbus: Implement the protocol for tearing down vmbus
state
Vitaly Kuznetsov (2):
Drivers: hv: vmbus: introduce vmbus_acpi_remove
Drivers: hv: vmbus: unregister panic notifier on module unload
protocol for tearing down vmbus was modified based on feedback from
Vitaly Kuznetsov.
Dexuan Cui (1):
hv: vmbus_free_channels(): remove the redundant free_channel()
K. Y. Srinivasan (2):
drivers: hv: vmbus: Get rid of some unused definitions
Drivers: hv: vmbus: Implement the protocol for tearing
Get rid of some unused definitions.
Signed-off-by: K. Y. Srinivasan
---
include/linux/hyperv.h | 19 ---
1 files changed, 0 insertions(+), 19 deletions(-)
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h
index 1744148..e29ccdd 100644
--- a/include/linux/hyperv.h
39.788877] [] ? atomic_notifier_chain_register+0x38/0x70
[ 39.788877] [] ? atomic_notifier_chain_register+0x17/0x70
[ 39.788877] [] hv_acpi_init+0x14f/0x1000 [hv_vmbus]
[ 39.788877] [] do_one_initcall+0xd4/0x210
Signed-off-by: Vitaly Kuznetsov
Signed-off-by: K. Y. Srinivasan
---
Implement the protocol for tearing down the monitor state established with
the host.
Signed-off-by: K. Y. Srinivasan
Tested-by: Vitaly Kuznetsov
---
Changes in V2: Call vmbus_disconnect earlier - Vitaly Kuznetsov
drivers/hv/channel_mgmt.c | 25 +
drivers/hv
:[] []
__request_resource+0x2f/0x50
[ 38.166315] RSP: 0018:88003f60fb58 EFLAGS: 00010286
Signed-off-by: Vitaly Kuznetsov
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/vmbus_drv.c | 10 ++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv
nnel_removal().
This patch fixes a bug in the vmbus unload path.
Thank Dan Carpenter for finding the issue!
Signed-off-by: Dexuan Cui
Reported-by: Dan Carpenter
Cc: K. Y. Srinivasan
Cc: Vitaly Kuznetsov
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/channel_mgmt.c | 11 ---
1 file
Set the SRB flags correctly when there is no data transfer.
Cc:
Signed-off-by: K. Y. Srinivasan
Reviewed-by: Long Li
---
drivers/scsi/storvsc_drv.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c
index d9dad90
Set the SRB flags correctly when there is no data transfer.
Cc:
Signed-off-by: K. Y. Srinivasan
Reviewed-by: Long Li
---
drivers/scsi/storvsc_drv.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c
index d9dad90
. Y. Srinivasan
---
drivers/net/hyperv/netvsc_drv.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers/net/hyperv/netvsc_drv.c
index a3a9d38..7eb0251 100644
--- a/drivers/net/hyperv/netvsc_drv.c
+++ b/drivers/net/hyperv/netvsc_drv.c
it did not account for the case if the skb
was cloned. Fix this bug.
Signed-off-by: K. Y. Srinivasan
---
V2: Used skb_cow_head() based on Dave Miller's feedback
V2: Fixed up the commit log based on feedback from Sergei Shtylyov
drivers/net/hyperv/hyperv_net.h |1 -
dri
Based on the information given to this driver (via the xmit_more skb flag),
we can defer signaling the host if more packets are on the way. This will help
make the host more efficient since it can potentially process a larger batch of
packets. Implement this optimization.
Signed-off-by: K. Y
Based on the information given to this driver (via the xmit_more skb flag),
we can defer signaling the host if more packets are on the way. This will help
make the host more efficient since it can potentially process a larger batch of
packets. Implement this optimization.
Signed-off-by: K. Y
Set the SRB flags correctly when there is no data transfer. Without this change
some IHV drivers will fail valid commands such as TEST_UNIT_READY.
Cc:
Signed-off-by: K. Y. Srinivasan
Reviewed-by: Long Li
---
V2: Added additional details to the commit log - Dan Carpenter
drivers/scsi
Based on the information given to this driver (via the xmit_more skb flag),
we can defer signaling the host if more packets are on the way. This will help
make the host more efficient since it can potentially process a larger batch of
packets. Implement this optimization.
Signed-off-by: K. Y
Based on the information given to this driver (via the xmit_more skb flag),
we can defer signaling the host if more packets are on the way. This will help
make the host more efficient since it can potentially process a larger batch of
packets. Implement this optimization.
Signed-off-by: K. Y
assigned to different vcpus.
Signed-off-by: Vitaly Kuznetsov
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/channel_mgmt.c | 29 -
1 files changed, 28 insertions(+), 1 deletions(-)
diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c
index 655c0a0
From: Vitaly Kuznetsov <[mailto:vkuzn...@redhat.com]>
next_oc and num_sc fields of struct vmbus_channel deserve a description. Move
them closer to sc_list as these fields are related to it.
Signed-off-by: Vitaly Kuznetsov
Signed-off-by: K. Y. Srinivasan
---
include/linux/hyperv.h
From: Vitaly Kuznetsov
Explicitly kill tasklets we create on module unload.
Signed-off-by: Vitaly Kuznetsov
Signed-off-by: K. Y. Srinivasan
---
drivers/hv/vmbus_drv.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c
1 - 100 of 975 matches
Mail list logo