Re: [infiniband-diags] [1/2] support libibnetdisc caching overwrite flag

2010-04-19 Thread Al Chu
Hey Sasha, > Wouldn't it be better to make it in opposite direction - overwrite > file by default and drop an error when "exclusive" flag is specified? > > For me it looks as more "intuitive" behavior (similar to other > editors). Now that you mention it, it would make more sense. It would mak

Re: [infiniband-diags] [1/2] support libibnetdisc caching overwrite flag

2010-04-19 Thread Sasha Khapyorsky
Hi Al, On 16:52 Thu 15 Apr , Al Chu wrote: > diff --git a/infiniband-diags/libibnetdisc/src/ibnetdisc_cache.c > b/infiniband-diags/libibnetdisc/src/ibnetdisc_cache.c > index 480a0a2..6cf7d4d 100644 > --- a/infiniband-diags/libibnetdisc/src/ibnetdisc_cache.c > +++ b/infiniband-diags/libibnetdi

[infiniband-diags] [1/2] support libibnetdisc caching overwrite flag

2010-04-15 Thread Al Chu
Hi Sasha, This patch supports a flag in the libibnetdisc caching code to overwrite a previous cache. Al -- Albert Chu ch...@llnl.gov Computer Scientist High Performance Systems Division Lawrence Livermore National Laboratory --- Begin Message --- Signed-off-by: Albert Chu --- .../libibnetdis