All of lore.kernel.org
 help / color / mirror / Atom feed
* [lustre-devel] adding IOCTL for ping
@ 2015-09-15 15:04 Ben Evans
  2015-09-15 20:37 ` Christopher J. Morrone
  2015-09-21  9:41 ` Dilger, Andreas
  0 siblings, 2 replies; 10+ messages in thread
From: Ben Evans @ 2015-09-15 15:04 UTC (permalink / raw)
  To: lustre-devel

Would there be any interest in adding an IOCTL to update the ping time/status for a particular NID?

This should allow for implementation of a pinger in userspace which updates the kernel on the status of various NIDs, and if I understand the ping code well enough, would greatly curtail any pings that is sent by the kernel.

This might allow for things like Eric?s gossip implementation to simply bolt on top of Lustre without any internal kernel changes, or for integration of external monitoring systems to tell Lustre that failovers have occurred, etc.

-Ben Evans
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-devel-lustre.org/attachments/20150915/cc9d8a86/attachment.htm>

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

* [lustre-devel] adding IOCTL for ping
  2015-09-15 15:04 [lustre-devel] adding IOCTL for ping Ben Evans
@ 2015-09-15 20:37 ` Christopher J. Morrone
  2015-09-15 20:53   ` Ben Evans
  2015-09-21  9:41 ` Dilger, Andreas
  1 sibling, 1 reply; 10+ messages in thread
From: Christopher J. Morrone @ 2015-09-15 20:37 UTC (permalink / raw)
  To: lustre-devel

Maybe there is just not enough detail in the proposal, but I am not 
seeing why associating this with NIDs is the right way to go.  I believe 
that the RAS work that would use the gossip protocol dealt, at least in 
part, with higher level concepts like targets.  The existing ptlrpc 
pinger pings targets, not NIDs.  That is one of the problematic design 
points of the existing system, that when N OSTs live on the same node 
clients need to send N pings to the same node.

Chris

On 09/15/2015 08:04 AM, Ben Evans wrote:
> Would there be any interest in adding an IOCTL to update the ping
> time/status for a particular NID?
>
> This should allow for implementation of a pinger in userspace which
> updates the kernel on the status of various NIDs, and if I understand
> the ping code well enough, would greatly curtail any pings that is sent
> by the kernel.
>
> This might allow for things like Eric?s gossip implementation to simply
> bolt on top of Lustre without any internal kernel changes, or for
> integration of external monitoring systems to tell Lustre that failovers
> have occurred, etc.
>
> -Ben Evans
>
>
> _______________________________________________
> lustre-devel mailing list
> lustre-devel at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org
>

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

* [lustre-devel] adding IOCTL for ping
  2015-09-15 20:37 ` Christopher J. Morrone
@ 2015-09-15 20:53   ` Ben Evans
  2015-09-15 21:12     ` Patrick Farrell
  0 siblings, 1 reply; 10+ messages in thread
From: Ben Evans @ 2015-09-15 20:53 UTC (permalink / raw)
  To: lustre-devel

You?re correct, targets and client Ids would probably be better.  I was
simply thinking that it would be a relatively straightforward piece of
code to write that could add some good flexibility into Lustre.  Combine
it with an "X is dead, evict it? IOCTL and you could probably do quite a
bit of good, especially if you?ve got a management system that is also
monitoring aliveness, locations of targets, etc.

-Ben Evans

On 9/15/15, 4:37 PM, "lustre-devel on behalf of Christopher J. Morrone"
<lustre-devel-bounces at lists.lustre.org on behalf of morrone2@llnl.gov>
wrote:

>Maybe there is just not enough detail in the proposal, but I am not
>seeing why associating this with NIDs is the right way to go.  I believe
>that the RAS work that would use the gossip protocol dealt, at least in
>part, with higher level concepts like targets.  The existing ptlrpc
>pinger pings targets, not NIDs.  That is one of the problematic design
>points of the existing system, that when N OSTs live on the same node
>clients need to send N pings to the same node.
>
>Chris
>
>On 09/15/2015 08:04 AM, Ben Evans wrote:
>> Would there be any interest in adding an IOCTL to update the ping
>> time/status for a particular NID?
>>
>> This should allow for implementation of a pinger in userspace which
>> updates the kernel on the status of various NIDs, and if I understand
>> the ping code well enough, would greatly curtail any pings that is sent
>> by the kernel.
>>
>> This might allow for things like Eric?s gossip implementation to simply
>> bolt on top of Lustre without any internal kernel changes, or for
>> integration of external monitoring systems to tell Lustre that failovers
>> have occurred, etc.
>>
>> -Ben Evans
>>
>>
>> _______________________________________________
>> lustre-devel mailing list
>> lustre-devel at lists.lustre.org
>> http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org
>>
>
>_______________________________________________
>lustre-devel mailing list
>lustre-devel at lists.lustre.org
>http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org

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

* [lustre-devel] adding IOCTL for ping
  2015-09-15 20:53   ` Ben Evans
@ 2015-09-15 21:12     ` Patrick Farrell
  2015-09-16 13:10       ` Ben Evans
  0 siblings, 1 reply; 10+ messages in thread
From: Patrick Farrell @ 2015-09-15 21:12 UTC (permalink / raw)
  To: lustre-devel

Hmmm.  What about a proc interface instead?  This feels - to me - better suited to that, since it's a control that isn't part of the I/O path in any way.
________________________________________
From: lustre-devel [lustre-devel-bounces at lists.lustre.org] on behalf of Ben Evans [bevans at cray.com]
Sent: Tuesday, September 15, 2015 3:53 PM
To: Christopher J. Morrone; lustre-devel at lists.lustre.org
Subject: Re: [lustre-devel] adding IOCTL for ping

You?re correct, targets and client Ids would probably be better.  I was
simply thinking that it would be a relatively straightforward piece of
code to write that could add some good flexibility into Lustre.  Combine
it with an "X is dead, evict it? IOCTL and you could probably do quite a
bit of good, especially if you?ve got a management system that is also
monitoring aliveness, locations of targets, etc.

-Ben Evans

On 9/15/15, 4:37 PM, "lustre-devel on behalf of Christopher J. Morrone"
<lustre-devel-bounces at lists.lustre.org on behalf of morrone2@llnl.gov>
wrote:

>Maybe there is just not enough detail in the proposal, but I am not
>seeing why associating this with NIDs is the right way to go.  I believe
>that the RAS work that would use the gossip protocol dealt, at least in
>part, with higher level concepts like targets.  The existing ptlrpc
>pinger pings targets, not NIDs.  That is one of the problematic design
>points of the existing system, that when N OSTs live on the same node
>clients need to send N pings to the same node.
>
>Chris
>
>On 09/15/2015 08:04 AM, Ben Evans wrote:
>> Would there be any interest in adding an IOCTL to update the ping
>> time/status for a particular NID?
>>
>> This should allow for implementation of a pinger in userspace which
>> updates the kernel on the status of various NIDs, and if I understand
>> the ping code well enough, would greatly curtail any pings that is sent
>> by the kernel.
>>
>> This might allow for things like Eric?s gossip implementation to simply
>> bolt on top of Lustre without any internal kernel changes, or for
>> integration of external monitoring systems to tell Lustre that failovers
>> have occurred, etc.
>>
>> -Ben Evans
>>
>>
>> _______________________________________________
>> lustre-devel mailing list
>> lustre-devel at lists.lustre.org
>> http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org
>>
>
>_______________________________________________
>lustre-devel mailing list
>lustre-devel at lists.lustre.org
>http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org

_______________________________________________
lustre-devel mailing list
lustre-devel at lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org

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

* [lustre-devel] adding IOCTL for ping
  2015-09-15 21:12     ` Patrick Farrell
@ 2015-09-16 13:10       ` Ben Evans
  2015-09-16 15:16         ` Simmons, James A.
  0 siblings, 1 reply; 10+ messages in thread
From: Ben Evans @ 2015-09-16 13:10 UTC (permalink / raw)
  To: lustre-devel

My understanding is that adding new proc interfaces is discouraged by
upstream linux.

-Ben

On 9/15/15, 5:12 PM, "Patrick Farrell" <paf@cray.com> wrote:

>Hmmm.  What about a proc interface instead?  This feels - to me - better
>suited to that, since it's a control that isn't part of the I/O path in
>any way.
>________________________________________
>From: lustre-devel [lustre-devel-bounces at lists.lustre.org] on behalf of
>Ben Evans [bevans at cray.com]
>Sent: Tuesday, September 15, 2015 3:53 PM
>To: Christopher J. Morrone; lustre-devel at lists.lustre.org
>Subject: Re: [lustre-devel] adding IOCTL for ping
>
>You?re correct, targets and client Ids would probably be better.  I was
>simply thinking that it would be a relatively straightforward piece of
>code to write that could add some good flexibility into Lustre.  Combine
>it with an "X is dead, evict it? IOCTL and you could probably do quite a
>bit of good, especially if you?ve got a management system that is also
>monitoring aliveness, locations of targets, etc.
>
>-Ben Evans
>
>On 9/15/15, 4:37 PM, "lustre-devel on behalf of Christopher J. Morrone"
><lustre-devel-bounces at lists.lustre.org on behalf of morrone2@llnl.gov>
>wrote:
>
>>Maybe there is just not enough detail in the proposal, but I am not
>>seeing why associating this with NIDs is the right way to go.  I believe
>>that the RAS work that would use the gossip protocol dealt, at least in
>>part, with higher level concepts like targets.  The existing ptlrpc
>>pinger pings targets, not NIDs.  That is one of the problematic design
>>points of the existing system, that when N OSTs live on the same node
>>clients need to send N pings to the same node.
>>
>>Chris
>>
>>On 09/15/2015 08:04 AM, Ben Evans wrote:
>>> Would there be any interest in adding an IOCTL to update the ping
>>> time/status for a particular NID?
>>>
>>> This should allow for implementation of a pinger in userspace which
>>> updates the kernel on the status of various NIDs, and if I understand
>>> the ping code well enough, would greatly curtail any pings that is sent
>>> by the kernel.
>>>
>>> This might allow for things like Eric?s gossip implementation to simply
>>> bolt on top of Lustre without any internal kernel changes, or for
>>> integration of external monitoring systems to tell Lustre that
>>>failovers
>>> have occurred, etc.
>>>
>>> -Ben Evans
>>>
>>>
>>> _______________________________________________
>>> lustre-devel mailing list
>>> lustre-devel at lists.lustre.org
>>> http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org
>>>
>>
>>_______________________________________________
>>lustre-devel mailing list
>>lustre-devel at lists.lustre.org
>>http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org
>
>_______________________________________________
>lustre-devel mailing list
>lustre-devel at lists.lustre.org
>http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org

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

* [lustre-devel] adding IOCTL for ping
  2015-09-16 13:10       ` Ben Evans
@ 2015-09-16 15:16         ` Simmons, James A.
  2015-09-16 15:24           ` Patrick Farrell
  0 siblings, 1 reply; 10+ messages in thread
From: Simmons, James A. @ 2015-09-16 15:16 UTC (permalink / raw)
  To: lustre-devel


>My understanding is that adding new proc interfaces is discouraged by
>upstream linux.

Please no new ioctls.

On 9/15/15, 5:12 PM, "Patrick Farrell" <paf@cray.com> wrote:

>Hmmm.  What about a proc interface instead?  This feels - to me - better
>suited to that, since it's a control that isn't part of the I/O path in
>any way.
>________________________________________
>From: lustre-devel [lustre-devel-bounces at lists.lustre.org] on behalf of
>Ben Evans [bevans at cray.com]
>Sent: Tuesday, September 15, 2015 3:53 PM
>To: Christopher J. Morrone; lustre-devel at lists.lustre.org
>Subject: Re: [lustre-devel] adding IOCTL for ping
>
>You?re correct, targets and client Ids would probably be better.  I was
>simply thinking that it would be a relatively straightforward piece of
>code to write that could add some good flexibility into Lustre.  Combine
>it with an "X is dead, evict it? IOCTL and you could probably do quite a
>bit of good, especially if you?ve got a management system that is also
>monitoring aliveness, locations of targets, etc.
>
>-Ben Evans
>
>On 9/15/15, 4:37 PM, "lustre-devel on behalf of Christopher J. Morrone"
><lustre-devel-bounces at lists.lustre.org on behalf of morrone2@llnl.gov>
>wrote:
>
>>Maybe there is just not enough detail in the proposal, but I am not
>>seeing why associating this with NIDs is the right way to go.  I believe
>>that the RAS work that would use the gossip protocol dealt, at least in
>>part, with higher level concepts like targets.  The existing ptlrpc
>>pinger pings targets, not NIDs.  That is one of the problematic design
>>points of the existing system, that when N OSTs live on the same node
>>clients need to send N pings to the same node.
>>
>>Chris
>>
>>On 09/15/2015 08:04 AM, Ben Evans wrote:
>>> Would there be any interest in adding an IOCTL to update the ping
>>> time/status for a particular NID?
>>>
>>> This should allow for implementation of a pinger in userspace which
>>> updates the kernel on the status of various NIDs, and if I understand
>>> the ping code well enough, would greatly curtail any pings that is sent
>>> by the kernel.
>>>
>>> This might allow for things like Eric?s gossip implementation to simply
>>> bolt on top of Lustre without any internal kernel changes, or for
>>> integration of external monitoring systems to tell Lustre that
>>>failovers
>>> have occurred, etc.
>>>
>>> -Ben Evans
>>>
>>>
>>> _______________________________________________
>>> lustre-devel mailing list
>>> lustre-devel at lists.lustre.org
>>> http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org
>>>
>>
>>_______________________________________________
>>lustre-devel mailing list
>>lustre-devel at lists.lustre.org
>>http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org
>
>_______________________________________________
>lustre-devel mailing list
>lustre-devel at lists.lustre.org
>http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org

_______________________________________________
lustre-devel mailing list
lustre-devel at lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org

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

* [lustre-devel] adding IOCTL for ping
  2015-09-16 15:16         ` Simmons, James A.
@ 2015-09-16 15:24           ` Patrick Farrell
  2015-09-16 16:14             ` Olaf Weber
  0 siblings, 1 reply; 10+ messages in thread
From: Patrick Farrell @ 2015-09-16 15:24 UTC (permalink / raw)
  To: lustre-devel

A further thought: wouldn't an ioctl be unusable on servers?
________________________________________
From: Simmons, James A. [simmonsja at ornl.gov]
Sent: Wednesday, September 16, 2015 10:16 AM
To: Ben Evans; Patrick Farrell; Christopher J. Morrone; lustre-devel at lists.lustre.org
Subject: RE: [lustre-devel] adding IOCTL for ping

>My understanding is that adding new proc interfaces is discouraged by
>upstream linux.

Please no new ioctls.

On 9/15/15, 5:12 PM, "Patrick Farrell" <paf@cray.com> wrote:

>Hmmm.  What about a proc interface instead?  This feels - to me - better
>suited to that, since it's a control that isn't part of the I/O path in
>any way.
>________________________________________
>From: lustre-devel [lustre-devel-bounces at lists.lustre.org] on behalf of
>Ben Evans [bevans at cray.com]
>Sent: Tuesday, September 15, 2015 3:53 PM
>To: Christopher J. Morrone; lustre-devel at lists.lustre.org
>Subject: Re: [lustre-devel] adding IOCTL for ping
>
>You?re correct, targets and client Ids would probably be better.  I was
>simply thinking that it would be a relatively straightforward piece of
>code to write that could add some good flexibility into Lustre.  Combine
>it with an "X is dead, evict it? IOCTL and you could probably do quite a
>bit of good, especially if you?ve got a management system that is also
>monitoring aliveness, locations of targets, etc.
>
>-Ben Evans
>
>On 9/15/15, 4:37 PM, "lustre-devel on behalf of Christopher J. Morrone"
><lustre-devel-bounces at lists.lustre.org on behalf of morrone2@llnl.gov>
>wrote:
>
>>Maybe there is just not enough detail in the proposal, but I am not
>>seeing why associating this with NIDs is the right way to go.  I believe
>>that the RAS work that would use the gossip protocol dealt, at least in
>>part, with higher level concepts like targets.  The existing ptlrpc
>>pinger pings targets, not NIDs.  That is one of the problematic design
>>points of the existing system, that when N OSTs live on the same node
>>clients need to send N pings to the same node.
>>
>>Chris
>>
>>On 09/15/2015 08:04 AM, Ben Evans wrote:
>>> Would there be any interest in adding an IOCTL to update the ping
>>> time/status for a particular NID?
>>>
>>> This should allow for implementation of a pinger in userspace which
>>> updates the kernel on the status of various NIDs, and if I understand
>>> the ping code well enough, would greatly curtail any pings that is sent
>>> by the kernel.
>>>
>>> This might allow for things like Eric?s gossip implementation to simply
>>> bolt on top of Lustre without any internal kernel changes, or for
>>> integration of external monitoring systems to tell Lustre that
>>>failovers
>>> have occurred, etc.
>>>
>>> -Ben Evans
>>>
>>>
>>> _______________________________________________
>>> lustre-devel mailing list
>>> lustre-devel at lists.lustre.org
>>> http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org
>>>
>>
>>_______________________________________________
>>lustre-devel mailing list
>>lustre-devel at lists.lustre.org
>>http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org
>
>_______________________________________________
>lustre-devel mailing list
>lustre-devel at lists.lustre.org
>http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org

_______________________________________________
lustre-devel mailing list
lustre-devel at lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org

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

* [lustre-devel] adding IOCTL for ping
  2015-09-16 15:24           ` Patrick Farrell
@ 2015-09-16 16:14             ` Olaf Weber
  0 siblings, 0 replies; 10+ messages in thread
From: Olaf Weber @ 2015-09-16 16:14 UTC (permalink / raw)
  To: lustre-devel

On 16-09-15 17:24, Patrick Farrell wrote:
> A further thought: wouldn't an ioctl be unusable on servers?

Presumably it would use the /dev/lnet device file, like the other ioctls in
libcfs/include/libcfs/libcfs_ioctl.h.

Olaf

> ________________________________________
> From: Simmons, James A. [simmonsja at ornl.gov]
> Sent: Wednesday, September 16, 2015 10:16 AM
> To: Ben Evans; Patrick Farrell; Christopher J. Morrone; lustre-devel at lists.lustre.org
> Subject: RE: [lustre-devel] adding IOCTL for ping
>
>> My understanding is that adding new proc interfaces is discouraged by
>> upstream linux.
>
> Please no new ioctls.
>
> On 9/15/15, 5:12 PM, "Patrick Farrell" <paf@cray.com> wrote:
>
>> Hmmm.  What about a proc interface instead?  This feels - to me - better
>> suited to that, since it's a control that isn't part of the I/O path in
>> any way.
>> ________________________________________
>> From: lustre-devel [lustre-devel-bounces at lists.lustre.org] on behalf of
>> Ben Evans [bevans at cray.com]
>> Sent: Tuesday, September 15, 2015 3:53 PM
>> To: Christopher J. Morrone; lustre-devel at lists.lustre.org
>> Subject: Re: [lustre-devel] adding IOCTL for ping
>>
>> You?re correct, targets and client Ids would probably be better.  I was
>> simply thinking that it would be a relatively straightforward piece of
>> code to write that could add some good flexibility into Lustre.  Combine
>> it with an "X is dead, evict it? IOCTL and you could probably do quite a
>> bit of good, especially if you?ve got a management system that is also
>> monitoring aliveness, locations of targets, etc.
>>
>> -Ben Evans
>>
>> On 9/15/15, 4:37 PM, "lustre-devel on behalf of Christopher J. Morrone"
>> <lustre-devel-bounces at lists.lustre.org on behalf of morrone2@llnl.gov>
>> wrote:
>>
>>> Maybe there is just not enough detail in the proposal, but I am not
>>> seeing why associating this with NIDs is the right way to go.  I believe
>>> that the RAS work that would use the gossip protocol dealt, at least in
>>> part, with higher level concepts like targets.  The existing ptlrpc
>>> pinger pings targets, not NIDs.  That is one of the problematic design
>>> points of the existing system, that when N OSTs live on the same node
>>> clients need to send N pings to the same node.
>>>
>>> Chris
>>>
>>> On 09/15/2015 08:04 AM, Ben Evans wrote:
>>>> Would there be any interest in adding an IOCTL to update the ping
>>>> time/status for a particular NID?
>>>>
>>>> This should allow for implementation of a pinger in userspace which
>>>> updates the kernel on the status of various NIDs, and if I understand
>>>> the ping code well enough, would greatly curtail any pings that is sent
>>>> by the kernel.
>>>>
>>>> This might allow for things like Eric?s gossip implementation to simply
>>>> bolt on top of Lustre without any internal kernel changes, or for
>>>> integration of external monitoring systems to tell Lustre that
>>>> failovers
>>>> have occurred, etc.
>>>>
>>>> -Ben Evans
>>>>
>>>>
>>>> _______________________________________________
>>>> lustre-devel mailing list
>>>> lustre-devel at lists.lustre.org
>>>> http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org
>>>>
>>>
>>> _______________________________________________
>>> lustre-devel mailing list
>>> lustre-devel at lists.lustre.org
>>> http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org
>>
>> _______________________________________________
>> lustre-devel mailing list
>> lustre-devel at lists.lustre.org
>> http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org
>
> _______________________________________________
> lustre-devel mailing list
> lustre-devel at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org
> _______________________________________________
> lustre-devel mailing list
> lustre-devel at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org
>


-- 
Olaf Weber                 SGI               Phone:  +31(0)30-6696796
                            Veldzigt 2b       Fax:    +31(0)30-6696799
Sr Software Engineer       3454 PW de Meern  Vnet:   955-6796
Storage Software           The Netherlands   Email:  olaf at sgi.com

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

* [lustre-devel] adding IOCTL for ping
  2015-09-15 15:04 [lustre-devel] adding IOCTL for ping Ben Evans
  2015-09-15 20:37 ` Christopher J. Morrone
@ 2015-09-21  9:41 ` Dilger, Andreas
  2015-09-21 14:31   ` Ben Evans
  1 sibling, 1 reply; 10+ messages in thread
From: Dilger, Andreas @ 2015-09-21  9:41 UTC (permalink / raw)
  To: lustre-devel

Maybe I'm missing something here, but why not disable pinging altogether at this point and depend on the external health network? That is already possible today via https://jira.hpdd.intel.com/browse/LU-2467.

Cheers, Andreas

On Sep 15, 2015, at 17:05, Ben Evans <bevans at cray.com<mailto:bevans@cray.com>> wrote:

Would there be any interest in adding an IOCTL to update the ping time/status for a particular NID?

This should allow for implementation of a pinger in userspace which updates the kernel on the status of various NIDs, and if I understand the ping code well enough, would greatly curtail any pings that is sent by the kernel.

This might allow for things like Eric?s gossip implementation to simply bolt on top of Lustre without any internal kernel changes, or for integration of external monitoring systems to tell Lustre that failovers have occurred, etc.

-Ben Evans
_______________________________________________
lustre-devel mailing list
lustre-devel at lists.lustre.org<mailto:lustre-devel@lists.lustre.org>
http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org

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

* [lustre-devel] adding IOCTL for ping
  2015-09-21  9:41 ` Dilger, Andreas
@ 2015-09-21 14:31   ` Ben Evans
  0 siblings, 0 replies; 10+ messages in thread
From: Ben Evans @ 2015-09-21 14:31 UTC (permalink / raw)
  To: lustre-devel

Nope, looks like I was missing something, I wasn?t terribly familiar with
pingless clients and the external health networks.  Reading up on those
now.

-Ben

On 9/21/15, 5:41 AM, "Dilger, Andreas" <andreas.dilger@intel.com> wrote:

>Maybe I'm missing something here, but why not disable pinging altogether
>at this point and depend on the external health network? That is already
>possible today via https://jira.hpdd.intel.com/browse/LU-2467.
>
>Cheers, Andreas
>
>On Sep 15, 2015, at 17:05, Ben Evans
><bevans at cray.com<mailto:bevans@cray.com>> wrote:
>
>Would there be any interest in adding an IOCTL to update the ping
>time/status for a particular NID?
>
>This should allow for implementation of a pinger in userspace which
>updates the kernel on the status of various NIDs, and if I understand the
>ping code well enough, would greatly curtail any pings that is sent by
>the kernel.
>
>This might allow for things like Eric?s gossip implementation to simply
>bolt on top of Lustre without any internal kernel changes, or for
>integration of external monitoring systems to tell Lustre that failovers
>have occurred, etc.
>
>-Ben Evans
>_______________________________________________
>lustre-devel mailing list
>lustre-devel at lists.lustre.org<mailto:lustre-devel@lists.lustre.org>
>http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org

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

end of thread, other threads:[~2015-09-21 14:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-15 15:04 [lustre-devel] adding IOCTL for ping Ben Evans
2015-09-15 20:37 ` Christopher J. Morrone
2015-09-15 20:53   ` Ben Evans
2015-09-15 21:12     ` Patrick Farrell
2015-09-16 13:10       ` Ben Evans
2015-09-16 15:16         ` Simmons, James A.
2015-09-16 15:24           ` Patrick Farrell
2015-09-16 16:14             ` Olaf Weber
2015-09-21  9:41 ` Dilger, Andreas
2015-09-21 14:31   ` Ben Evans

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.