All of lore.kernel.org
 help / color / mirror / Atom feed
* [lustre-devel] OBD_CONNECT_* flags
@ 2015-06-09 20:30 Patrick Farrell
  2015-06-10  6:58 ` Dilger, Andreas
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Farrell @ 2015-06-09 20:30 UTC (permalink / raw)
  To: lustre-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-10  6:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-09 20:30 [lustre-devel] OBD_CONNECT_* flags Patrick Farrell
2015-06-10  6:58 ` Dilger, Andreas

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.