All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sasha Khapyorsky <sashak-smomgflXvOZWk0Htik3J/w@public.gmane.org>
To: Hal Rosenstock <hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	elid-smomgflXvOZWk0Htik3J/w@public.gmane.org,
	celine.bourde-6ktuUTfB/bM@public.gmane.org
Subject: Re: [PATCH] opensm/osm_sm_mad_ctrl.c: In sm_mad_ctrl_send_err_cb, revert setting of init failure on QoS initialization failures
Date: Tue, 29 Dec 2009 16:54:11 +0200	[thread overview]
Message-ID: <20091229145411.GT26940@me> (raw)
In-Reply-To: <f0e08f230912280808s31c09d46ndeb3586007507e40-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On 11:08 Mon 28 Dec     , Hal Rosenstock wrote:
> >>
> >> A subsequent patch will reintroduce this checking based on an additional
> >> option which will default to not do this.
> >
> > I think that addition of such sort of options (eg "--workaround-bugX")
> > should be avoided unless it is absolutely necessary.
> 
> I was thinking something like --qos-init-error with a description.
> 
> > And even then more generic stuff would be better.
> >
> > In this specific case more generic option like:
> > '--resweep-on-failed-attr=11,15' (with reasonable default) will be more
> > useful for dealing with this and maybe another potential issues.
> 
> Where else do you see this as being useful ?

In this case at least. I had some questions in the past about how
to ignore some sort of initialization errors. Another potential use is
to extended this to SubnGet() responses errors handling too when
requested.

> Is such flexibility really needed or is this more "just in case" ?

See above. Anyway it is better than introducing '--qos-init-error',
('--pkey-init-error', etc.) and not much harder to implement.

Sasha
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2009-12-29 14:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-24 11:20 [PATCH] opensm/osm_sm_mad_ctrl.c: In sm_mad_ctrl_send_err_cb, revert setting of init failure on QoS initialization failures Hal Rosenstock
     [not found] ` <20091224112036.GA32559-Wuw85uim5zDR7s880joybQ@public.gmane.org>
2009-12-24 12:37   ` Sasha Khapyorsky
2009-12-24 12:56   ` Sasha Khapyorsky
2009-12-28 16:08     ` Hal Rosenstock
     [not found]       ` <f0e08f230912280808s31c09d46ndeb3586007507e40-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-12-29 14:54         ` Sasha Khapyorsky [this message]
2009-12-30 16:14           ` Hal Rosenstock
     [not found]             ` <f0e08f230912300814h1c6ad213j2b8a343403e2744e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-12-30 19:37               ` Sasha Khapyorsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091229145411.GT26940@me \
    --to=sashak-smomgflxvozwk0htik3j/w@public.gmane.org \
    --cc=celine.bourde-6ktuUTfB/bM@public.gmane.org \
    --cc=elid-smomgflXvOZWk0Htik3J/w@public.gmane.org \
    --cc=hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.