debug sometimes slow performance

2014-04-03 Thread Vasiliy Tolstov
Hi all. I'm very happy with using srpt disk via ib_srp (linux 3.10). Storage used by virtual machines (xen), target side (2 servers): Software raid 10 with lvm on top of it. scst.conf: HANDLER vdisk_fileio { DEVICE sas00_md127 { filename /dev/md127 nv_cache

[GIT PULL] please pull infiniband.git

2014-04-03 Thread Roland Dreier
Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git tags/rdma-for-linus Main batch of InfiniBand/RDMA changes for 3.15: - The biggest change is core API extensions and mlx5

RE: [PATCH librdmacm] cmtime: rework program to be multithread

2014-04-03 Thread Hefty, Sean
Ping. I noticed this never got picked up. Was there a problem, or just overlooked? Sorry - but I think it just got dropped or lost. Can you resend? I don't see this available on patchworks, and it's not in my inbox any longer. - Sean -- To unsubscribe from this list: send the line

Re: [PATCH librdmacm] cmtime: rework program to be multithread

2014-04-03 Thread Doug Ledford
On 4/3/2014 5:00 PM, Hefty, Sean wrote: Ping. I noticed this never got picked up. Was there a problem, or just overlooked? Sorry - but I think it just got dropped or lost. Can you resend? I don't see this available on patchworks, and it's not in my inbox any longer. I'll add it to the

[PATCH 03/14] ibacm: use sysfs (in acm_if_is_ib) rather than ioctl(... SIOCGIFHWADDR ...) to read interface type

2014-04-03 Thread ira . weiny
From: Ira Weiny ira.we...@intel.com Getting an interface type from sysfs is easier than using an ioctl when an interface name is readily available (as is the case with netlink.) In preparation for netlink support create a function which uses sysfs and use it instead of ioctls. Signed-off-by:

[PATCH 05/14] ibacm: Move calling of helper functions out of get_devaddr

2014-04-03 Thread ira . weiny
From: Ira Weiny ira.we...@intel.com Again this is in prep for sharing this code with ibacm and ib_acme get_devaddr uses globals which are specific to ib_acme. Move toward this function being ib_acme specific while the code in get_addr_ip becomes generic. Signed-off-by: Ira Weiny

[PATCH 02/14] ibacm: pass interface name rather than 'struct ifreq' to get_devaddr, get_sgid, and get_pkey

2014-04-03 Thread ira . weiny
From: Ira Weiny ira.we...@intel.com Signed-off-by: Ira Weiny ira.we...@intel.com --- linux/acme_linux.c | 17 - 1 files changed, 8 insertions(+), 9 deletions(-) diff --git a/linux/acme_linux.c b/linux/acme_linux.c index 6978db7..201ff19 100644 --- a/linux/acme_linux.c +++

[PATCH 01/14] ibacm: get_devaddr remove unused variable from signature

2014-04-03 Thread ira . weiny
From: Ira Weiny ira.we...@intel.com --- linux/acme_linux.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/linux/acme_linux.c b/linux/acme_linux.c index ef5b107..6978db7 100644 --- a/linux/acme_linux.c +++ b/linux/acme_linux.c @@ -102,7 +102,7 @@ get_sgid(struct ifreq

[PATCH 04/14] ibacm: move sysfs helper functions to acm_util 'module'

2014-04-03 Thread ira . weiny
From: Ira Weiny ira.we...@intel.com This is in preparation for these functions to be included ib both ibacm and ib_acme build. Also rename to more global appropriate name acm_if_* Signed-off-by: Ira Weiny ira.we...@intel.com --- Makefile.am|7 ++- linux/acme_linux.c | 87

[PATCH 0/14 V2] Add Dynamic IP processing to ibacm.

2014-04-03 Thread ira . weiny
This is a new version of the entire patch series. In addition to fixing comments from Bart and Sean I removed the additional thread which removed the need for additional locking. [PATCH 01/14] ibacm: get_devaddr remove unused variable from signature [PATCH 02/14] ibacm: pass interface name

[PATCH 12/14] ibacm: fix handling of aliased IPoIB devices

2014-04-03 Thread ira . weiny
From: Ira Weiny ira.we...@intel.com ibX:Y devices don't have sysfs files directly. They use the base interface of ibX. The ioctl calls however include the full aliased name. Netlink does not have this problem as the interface name is reported as it appears in sysfs. Signed-off-by: Ira Weiny

[PATCH 06/14] ibacm: move acm_if_iter_sys to acm_util.c

2014-04-03 Thread ira . weiny
From: Ira Weiny ira.we...@intel.com Signed-off-by: Ira Weiny ira.we...@intel.com --- linux/acme_linux.c | 80 --- src/acm_util.c | 81 2 files changed, 81 insertions(+), 80 deletions(-)

[PATCH 10/14] ibacm: Add Netlink socket to monitor IP address changes

2014-04-03 Thread ira . weiny
From: Ira Weiny ira.we...@intel.com Currently only reports events to the log. Signed-off-by: Ira Weiny ira.we...@intel.com --- src/acm.c | 99 + 1 files changed, 99 insertions(+), 0 deletions(-) diff --git a/src/acm.c b/src/acm.c

[PATCH 07/14] ibacm: convert logging in acm_util.c to acm_log

2014-04-03 Thread ira . weiny
From: Ira Weiny ira.we...@intel.com ib_acme build defines ACME_PRINTS which overrides acm_log to printf Signed-off-by: Ira Weiny ira.we...@intel.com --- Makefile.am|2 +- src/acm.c |6 ++ src/acm_util.c | 21 + src/acm_util.h | 12 4

[PATCH 09/14] ibacm: read system IP's into endpoints at startup

2014-04-03 Thread ira . weiny
From: Ira Weiny ira.we...@intel.com ibacm_addr.cfg is read after system is read which can add endpoints which are not active at start up. ibacm_addr.cfg can still specify names for end points Signed-off-by: Ira Weiny ira.we...@intel.com --- Makefile.am|2 +- src/acm.c | 66

[PATCH 11/14] ibacm: add/remove addr's in EP's when added/removed from the system.

2014-04-03 Thread ira . weiny
From: Ira Weiny ira.we...@intel.com This builds on the previous patch by reacting to the IP address changes monitored there. Signed-off-by: Ira Weiny ira.we...@intel.com --- src/acm.c | 188 +++- 1 files changed, 184 insertions(+), 4

[PATCH 08/14] ibacm: add separate acm_ep_insert_addr function

2014-04-03 Thread ira . weiny
From: Ira Weiny ira.we...@intel.com This is in preparation for netlink support which will do this dynamically. Signed-off-by: Ira Weiny ira.we...@intel.com --- src/acm.c | 73 1 files changed, 58 insertions(+), 15 deletions(-) diff

[PATCH 13/14] ibacm: ib_acme remove IP addresses from ibacm_addr.cfg file generation

2014-04-03 Thread ira . weiny
From: Ira Weiny ira.we...@intel.com Signed-off-by: Ira Weiny ira.we...@intel.com --- Makefile.am|3 +- linux/acme_linux.c | 95 man/ib_acme.1 |3 +- src/acme.c | 12 ++- 4 files changed, 5 insertions(+),

[PATCH 14/14] ibacm: by default remove processing of IP's from ibacm_addr.cfg

2014-04-03 Thread ira . weiny
From: Ira Weiny ira.we...@intel.com support_ips_in_addr_cfg option in config file can turn this back on if wanted. Signed-off-by: Ira Weiny ira.we...@intel.com --- src/acm.c | 12 src/acme.c |4 2 files changed, 16 insertions(+), 0 deletions(-) diff --git a/src/acm.c