Re: [PATCH] libibverbs: Add huge page support to ibv_madvise_range()

2010-01-15 Thread Roland Dreier
> ibv_reg_mr() fails to register a memory region allocated on huge page and not > the default page size. This happens because ibv_madvise_range() aligns memory > region to the default system page size before calling to madvise() which > fails > with EINVAL error. madvise() fails because it e

Re: [PATCH] libibverbs: Undo changes in memory range tree when madvise() fails

2010-01-15 Thread Roland Dreier
This looks pretty good overall -- thanks for taking this on, I've been meaning to fix this for a long time, but never got around to it. However, I'm having a bit of a hard time following the cleanups vs. real changes in this patch -- could you break it up into (at least) two steps? ie one patch t

[infiniband-diags] [UPDATED PATCH] [3/3] support --load-cache in iblinkinfo and ibqueryerrors

2010-01-15 Thread Al Chu
Hi Sasha, This adds the --load-cache options to iblinkinfo and ibqueryerrors. Al -- Albert Chu ch...@llnl.gov Computer Scientist High Performance Systems Division Lawrence Livermore National Laboratory From: Albert Chu Date: Thu, 10 Dec 2009 11:22:50 -0800 Subject: [PATCH] support --load-cache

[infiniband-diags] [UPDATED PATCH] [0/3] Support libibnetdiscover caching

2010-01-15 Thread Al Chu
Hi Sasha, [This is a repost w/ updates and updated patches from my posts Dec 09, I assume the patches fell off your list :-)] I've added two new functions into libibnetdisc, ibnd_cache_fabric() and ibnd_load_fabric(). As the names suggest, these functions allow the user to store the ibnd_fabric_

[infiniband-diags] [UPDATED PATCH] [1/3] add libibnetdisc caching to libibnetdiscover

2010-01-15 Thread Al Chu
Hi Sahsa, This patch adds caching functionality to libibnetdisc through the new functions ibnd_cache_fabric() and ibnd_load_fabric(). Al -- Albert Chu ch...@llnl.gov Computer Scientist High Performance Systems Division Lawrence Livermore National Laboratory From: Albert Chu Date: Wed, 9 Dec 20

[infiniband-diags] [UPDATED PATCH] [2/3] support --cache and --load-cache options in ibnetdiscover

2010-01-15 Thread Al Chu
Hi Sasha, This adds the --cache and --load-cache options to ibnetdiscover. Al -- Albert Chu ch...@llnl.gov Computer Scientist High Performance Systems Division Lawrence Livermore National Laboratory From: Albert Chu Date: Wed, 9 Dec 2009 15:19:47 -0800 Subject: [PATCH] support --cache and --lo