linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* nfs-utils: userspace support for autologin feature in object layout driver
@ 2012-02-09 23:02 Bhamare, Sachin
  2012-02-16 15:58 ` [osd-dev] " Benny Halevy
  0 siblings, 1 reply; 2+ messages in thread
From: Bhamare, Sachin @ 2012-02-09 23:02 UTC (permalink / raw)
  To: linux-nfs@vger.kernel.org
  Cc: Jim Rees, Steve Dickson, Harrosh, Boaz, Benny Halevy,
	osd-dev@open-osd.org

Hi, 
   I have been working on implementing autologin support for objectlayout
driver in pNFS client. This feature would allow pNFS object clients to
receive an URI (e.g. iscsi://<IP>:<PORT>) of a target OSD via
GETDEVICEINFO rpc from the server. Object layout driver would then pass
this information to an user space daemon which would perform the login
task 
depending on the protocol involved (e.g. Iscsi login using iscsiadm).

For userspace daemon, we have 2 implementation choices.

1. Add new daemon (say, osdlogind) to nfs-utils which would process the
upcalls from object layout driver via rpc_pipefs (very similar to the way
blkmapd works)
2. Modify blkmapd in nfs-utils package to be able to process upcalls from
the object layout driver and add new functionality to process these
messages.

I think, (1) above is the simplest and cleanest way to go about
implementing this. (2) adds an indirect dependency between block layout
driver and object layout driver if they were to share the same rpc pipe to
communicate with user space.

Currently I have a simple implementation of 'osdlogind' coded up which
borrows its design heavily from 'blkmapd' code. Please let me know what
would be the preferred way to go about this. Thanks in advance for your
inputs. 

Sachin Bhamare 
Panasas Inc.



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

* Re: [osd-dev] nfs-utils: userspace support for autologin feature in object layout driver
  2012-02-09 23:02 nfs-utils: userspace support for autologin feature in object layout driver Bhamare, Sachin
@ 2012-02-16 15:58 ` Benny Halevy
  0 siblings, 0 replies; 2+ messages in thread
From: Benny Halevy @ 2012-02-16 15:58 UTC (permalink / raw)
  To: Bhamare, Sachin
  Cc: linux-nfs@vger.kernel.org, osd-dev@open-osd.org, Harrosh, Boaz,
	Jim Rees, Steve Dickson

On 2012-02-10 01:02, Bhamare, Sachin wrote:
> Hi, 
>    I have been working on implementing autologin support for objectlayout
> driver in pNFS client. This feature would allow pNFS object clients to
> receive an URI (e.g. iscsi://<IP>:<PORT>) of a target OSD via
> GETDEVICEINFO rpc from the server. Object layout driver would then pass
> this information to an user space daemon which would perform the login
> task 
> depending on the protocol involved (e.g. Iscsi login using iscsiadm).
> 
> For userspace daemon, we have 2 implementation choices.
> 
> 1. Add new daemon (say, osdlogind) to nfs-utils which would process the
> upcalls from object layout driver via rpc_pipefs (very similar to the way
> blkmapd works)
> 2. Modify blkmapd in nfs-utils package to be able to process upcalls from
> the object layout driver and add new functionality to process these
> messages.
> 
> I think, (1) above is the simplest and cleanest way to go about
> implementing this. (2) adds an indirect dependency between block layout
> driver and object layout driver if they were to share the same rpc pipe to
> communicate with user space.

I'm inclined to agree but I'll defer this to Steve as the maintainer of nfs utils

Benny

> 
> Currently I have a simple implementation of 'osdlogind' coded up which
> borrows its design heavily from 'blkmapd' code. Please let me know what
> would be the preferred way to go about this. Thanks in advance for your
> inputs. 
> 
> Sachin Bhamare 
> Panasas Inc.
> 
> 
> _______________________________________________
> osd-dev mailing list
> osd-dev@open-osd.org
> http://mailman.open-osd.org/mailman/listinfo/osd-dev

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

end of thread, other threads:[~2012-02-16 15:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-09 23:02 nfs-utils: userspace support for autologin feature in object layout driver Bhamare, Sachin
2012-02-16 15:58 ` [osd-dev] " Benny Halevy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).