All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Farrell <paf@cray.com>
To: lustre-devel@lists.lustre.org
Subject: [lustre-devel] OBD_CONNECT_* flags
Date: Tue, 9 Jun 2015 15:30:26 -0500	[thread overview]
Message-ID: <55774CE2.30107@cray.com> (raw)

Good afternoon,

Hopefully a fairly quick question...  I'm adding a new feature (lock 
ahead) and would like to use an OBD_CONNECT flag to verify it's 
supported on the server.  I took a quick stab at adding one, but I'm 
getting lost in the details of how the flags are set and exchanged.

Essentially, I would like the client and server (OSS in this case) to 
both have a particular OBD_CONNECT flag or the client will return 
-EOPNOTSUPP when the feature (an ioctl) is invoked.
So: Is an OBD_CONNECT flag the right way to do this?
If so, could anyone give a brief explanation of how that works, or an 
example to build off of?

Thanks,
- Patrick Farrell

             reply	other threads:[~2015-06-09 20:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-09 20:30 Patrick Farrell [this message]
2015-06-10  6:58 ` [lustre-devel] OBD_CONNECT_* flags Dilger, Andreas

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=55774CE2.30107@cray.com \
    --to=paf@cray.com \
    --cc=lustre-devel@lists.lustre.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.