All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] Problems with [PATCH] dlm_controld: fix plock dev_write no op
@ 2011-08-24  6:18 Dietmar Maurer
  2011-08-24  6:39 ` Fabio M. Di Nitto
  0 siblings, 1 reply; 10+ messages in thread
From: Dietmar Maurer @ 2011-08-24  6:18 UTC (permalink / raw)
  To: cluster-devel.redhat.com

Compile is broken after that patch. I get:

/cluster-3.1.5/group/dlm_controld/plock.c:744:2: warning: #warning DLM_PLOCK_FL_CLOSE undefined. Enabling build workaround.
/cluster-3.1.5/group/dlm_controld/plock.c: In function \u2018process_plocks\u2019:
/cluster-3.1.5/group/dlm_controld/plock.c:1595: error: \u2018struct dlm_plock_info\u2019 has no member named \u2018flags\u2019
make[2]: *** [plock.o] Error 1
make[2]: Leaving directory `/home/dietmar/pve2-devel/redhat-cluster-pve/cluster-3.1.5/group/dlm_controld'
make[1]: *** [all] Error 2

- Dietmar




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

* [Cluster-devel] Problems with [PATCH] dlm_controld: fix plock dev_write no op
  2011-08-24  6:18 Dietmar Maurer
@ 2011-08-24  6:39 ` Fabio M. Di Nitto
  0 siblings, 0 replies; 10+ messages in thread
From: Fabio M. Di Nitto @ 2011-08-24  6:39 UTC (permalink / raw)
  To: cluster-devel.redhat.com

On 8/24/2011 8:18 AM, Dietmar Maurer wrote:
> Compile is broken after that patch. I get:
> 
> /cluster-3.1.5/group/dlm_controld/plock.c:744:2: warning: #warning DLM_PLOCK_FL_CLOSE undefined. Enabling build workaround.
> /cluster-3.1.5/group/dlm_controld/plock.c: In function \u2018process_plocks\u2019:
> /cluster-3.1.5/group/dlm_controld/plock.c:1595: error: \u2018struct dlm_plock_info\u2019 has no member named \u2018flags\u2019
> make[2]: *** [plock.o] Error 1
> make[2]: Leaving directory `/home/dietmar/pve2-devel/redhat-cluster-pve/cluster-3.1.5/group/dlm_controld'
> make[1]: *** [all] Error 2
> 
> - Dietmar
> 
> 

I pushed a workaround for this, but you need to update your kernel headers.

Fabio



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

* [Cluster-devel] Problems with [PATCH] dlm_controld: fix plock dev_write no op
@ 2011-08-24  6:55 Dietmar Maurer
  0 siblings, 0 replies; 10+ messages in thread
From: Dietmar Maurer @ 2011-08-24  6:55 UTC (permalink / raw)
  To: cluster-devel.redhat.com

Thank, the fix works well.

- Dietmar

> -----Original Message-----
> From: Dietmar Maurer
> Sent: Mittwoch, 24. August 2011 08:18
> To: 'cluster-devel at redhat.com'
> Subject: Problems with [PATCH] dlm_controld: fix plock dev_write no op
> 
> Compile is broken after that patch. I get:
> 
> /cluster-3.1.5/group/dlm_controld/plock.c:744:2: warning: #warning
> DLM_PLOCK_FL_CLOSE undefined. Enabling build workaround.
> /cluster-3.1.5/group/dlm_controld/plock.c: In function
> \u2018process_plocks\u2019:
> /cluster-3.1.5/group/dlm_controld/plock.c:1595: error: \u2018struct
> dlm_plock_info\u2019 has no member named \u2018flags\u2019
> make[2]: *** [plock.o] Error 1
> make[2]: Leaving directory `/home/dietmar/pve2-devel/redhat-cluster-
> pve/cluster-3.1.5/group/dlm_controld'
> make[1]: *** [all] Error 2
> 
> - Dietmar




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

* [Cluster-devel] Problems with [PATCH] dlm_controld: fix plock dev_write no op
@ 2011-08-25  5:10 Dietmar Maurer
  2011-08-25  8:16 ` Fabio M. Di Nitto
  0 siblings, 1 reply; 10+ messages in thread
From: Dietmar Maurer @ 2011-08-25  5:10 UTC (permalink / raw)
  To: cluster-devel.redhat.com

> On 8/24/2011 8:18 AM, Dietmar Maurer wrote:
> > Compile is broken after that patch. I get:
> >
> > /cluster-3.1.5/group/dlm_controld/plock.c:744:2: warning: #warning
> DLM_PLOCK_FL_CLOSE undefined. Enabling build workaround.
> > /cluster-3.1.5/group/dlm_controld/plock.c: In function
> \u2018process_plocks\u2019:
> > /cluster-3.1.5/group/dlm_controld/plock.c:1595: error: \u2018struct
> > dlm_plock_info\u2019 has no member named \u2018flags\u2019
> > make[2]: *** [plock.o] Error 1
> > make[2]: Leaving directory `/home/dietmar/pve2-devel/redhat-cluster-
> pve/cluster-3.1.5/group/dlm_controld'
> > make[1]: *** [all] Error 2
> >
> > - Dietmar
> >
> >
> 
> I pushed a workaround for this, but you need to update your kernel headers.

Well, I use headers from recent RHEL6 kernel (131.6.1.el6). 

Is that fixed in newer RHEL6 kernels or what kernel version do you suggest? 

- Dietmar




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

* [Cluster-devel] Problems with [PATCH] dlm_controld: fix plock dev_write no op
  2011-08-25  5:10 [Cluster-devel] Problems with [PATCH] dlm_controld: fix plock dev_write no op Dietmar Maurer
@ 2011-08-25  8:16 ` Fabio M. Di Nitto
  2011-08-25  8:29   ` Dietmar Maurer
  0 siblings, 1 reply; 10+ messages in thread
From: Fabio M. Di Nitto @ 2011-08-25  8:16 UTC (permalink / raw)
  To: cluster-devel.redhat.com

On 8/25/2011 7:10 AM, Dietmar Maurer wrote:
>> On 8/24/2011 8:18 AM, Dietmar Maurer wrote:
>>> Compile is broken after that patch. I get:
>>>
>>> /cluster-3.1.5/group/dlm_controld/plock.c:744:2: warning: #warning
>> DLM_PLOCK_FL_CLOSE undefined. Enabling build workaround.
>>> /cluster-3.1.5/group/dlm_controld/plock.c: In function
>> \u2018process_plocks\u2019:
>>> /cluster-3.1.5/group/dlm_controld/plock.c:1595: error: \u2018struct
>>> dlm_plock_info\u2019 has no member named \u2018flags\u2019
>>> make[2]: *** [plock.o] Error 1
>>> make[2]: Leaving directory `/home/dietmar/pve2-devel/redhat-cluster-
>> pve/cluster-3.1.5/group/dlm_controld'
>>> make[1]: *** [all] Error 2
>>>
>>> - Dietmar
>>>
>>>
>>
>> I pushed a workaround for this, but you need to update your kernel headers.
> 
> Well, I use headers from recent RHEL6 kernel (131.6.1.el6). 
> 
> Is that fixed in newer RHEL6 kernels or what kernel version do you suggest? 

You need kernel from RHEL6.2.

Fabio



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

* [Cluster-devel] Problems with [PATCH] dlm_controld: fix plock dev_write no op
  2011-08-25  8:16 ` Fabio M. Di Nitto
@ 2011-08-25  8:29   ` Dietmar Maurer
  2011-08-25  8:32     ` Fabio M. Di Nitto
  0 siblings, 1 reply; 10+ messages in thread
From: Dietmar Maurer @ 2011-08-25  8:29 UTC (permalink / raw)
  To: cluster-devel.redhat.com

> >> I pushed a workaround for this, but you need to update your kernel headers.
> >
> > Well, I use headers from recent RHEL6 kernel (131.6.1.el6).
> >
> > Is that fixed in newer RHEL6 kernels or what kernel version do you suggest?
> 
> You need kernel from RHEL6.2.

Are there known bugs with 131.6.1.el6 (rhel6.2 is still beta)?

-Dietmar




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

* [Cluster-devel] Problems with [PATCH] dlm_controld: fix plock dev_write no op
  2011-08-25  8:29   ` Dietmar Maurer
@ 2011-08-25  8:32     ` Fabio M. Di Nitto
  2011-08-25  8:42       ` Dietmar Maurer
  0 siblings, 1 reply; 10+ messages in thread
From: Fabio M. Di Nitto @ 2011-08-25  8:32 UTC (permalink / raw)
  To: cluster-devel.redhat.com

On 8/25/2011 10:29 AM, Dietmar Maurer wrote:
>>>> I pushed a workaround for this, but you need to update your kernel headers.
>>>
>>> Well, I use headers from recent RHEL6 kernel (131.6.1.el6).
>>>
>>> Is that fixed in newer RHEL6 kernels or what kernel version do you suggest?
>>
>> You need kernel from RHEL6.2.
> 
> Are there known bugs with 131.6.1.el6 (rhel6.2 is still beta)?

I am not sure I understand the question... kernel is kind of big and a
query in bugzilla.redhat.com will answer your question too :)

Fabio



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

* [Cluster-devel] Problems with [PATCH] dlm_controld: fix plock dev_write no op
  2011-08-25  8:32     ` Fabio M. Di Nitto
@ 2011-08-25  8:42       ` Dietmar Maurer
  2011-08-25  8:52         ` Fabio M. Di Nitto
  0 siblings, 1 reply; 10+ messages in thread
From: Dietmar Maurer @ 2011-08-25  8:42 UTC (permalink / raw)
  To: cluster-devel.redhat.com

> > Are there known bugs with 131.6.1.el6 (rhel6.2 is still beta)?
> 
> I am not sure I understand the question... kernel is kind of big and a query in
> bugzilla.redhat.com will answer your question too :)

You suggested to use another kernel, so I thought you are aware of a specific bug related to old dlm_plock.c as used in  131.6.1.el6?

- Dietmar




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

* [Cluster-devel] Problems with [PATCH] dlm_controld: fix plock dev_write no op
  2011-08-25  8:42       ` Dietmar Maurer
@ 2011-08-25  8:52         ` Fabio M. Di Nitto
  2011-08-25  9:09           ` Dietmar Maurer
  0 siblings, 1 reply; 10+ messages in thread
From: Fabio M. Di Nitto @ 2011-08-25  8:52 UTC (permalink / raw)
  To: cluster-devel.redhat.com

On 8/25/2011 10:42 AM, Dietmar Maurer wrote:
>>> Are there known bugs with 131.6.1.el6 (rhel6.2 is still beta)?
>>
>> I am not sure I understand the question... kernel is kind of big and a query in
>> bugzilla.redhat.com will answer your question too :)
> 
> You suggested to use another kernel, so I thought you are aware of a specific bug related to old dlm_plock.c as used in  131.6.1.el6?

The new kernel has a plock fix that the old one does not have. Unless
you are using posix locks, it doesn?t affect you.

You need a new kernel to build the userland counterpart without workaround.

Fabio



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

* [Cluster-devel] Problems with [PATCH] dlm_controld: fix plock dev_write no op
  2011-08-25  8:52         ` Fabio M. Di Nitto
@ 2011-08-25  9:09           ` Dietmar Maurer
  0 siblings, 0 replies; 10+ messages in thread
From: Dietmar Maurer @ 2011-08-25  9:09 UTC (permalink / raw)
  To: cluster-devel.redhat.com



> -----Original Message-----
> From: Fabio M. Di Nitto [mailto:fdinitto at redhat.com]
> Sent: Donnerstag, 25. August 2011 10:52
> To: Dietmar Maurer
> Cc: cluster-devel at redhat.com
> Subject: Re: [Cluster-devel] Problems with [PATCH] dlm_controld: fix plock
> dev_write no op
> 
> On 8/25/2011 10:42 AM, Dietmar Maurer wrote:
> >>> Are there known bugs with 131.6.1.el6 (rhel6.2 is still beta)?
> >>
> >> I am not sure I understand the question... kernel is kind of big and
> >> a query in bugzilla.redhat.com will answer your question too :)
> >
> > You suggested to use another kernel, so I thought you are aware of a specific
> bug related to old dlm_plock.c as used in  131.6.1.el6?
> 
> The new kernel has a plock fix that the old one does not have. Unless you are
> using posix locks, it doesn?t affect you.
> 
> You need a new kernel to build the userland counterpart without workaround.

Seems I can just cherry pick the fix from:

http://git.kernel.org/?p=linux/kernel/git/stable/linux-3.0.y.git;a=commitdiff;h=901025d2f3194b4868980c8ba80df4cc0aa1282c

So far that seems to work.

- Dietmar




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

end of thread, other threads:[~2011-08-25  9:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-25  5:10 [Cluster-devel] Problems with [PATCH] dlm_controld: fix plock dev_write no op Dietmar Maurer
2011-08-25  8:16 ` Fabio M. Di Nitto
2011-08-25  8:29   ` Dietmar Maurer
2011-08-25  8:32     ` Fabio M. Di Nitto
2011-08-25  8:42       ` Dietmar Maurer
2011-08-25  8:52         ` Fabio M. Di Nitto
2011-08-25  9:09           ` Dietmar Maurer
  -- strict thread matches above, loose matches on Subject: below --
2011-08-24  6:55 Dietmar Maurer
2011-08-24  6:18 Dietmar Maurer
2011-08-24  6:39 ` Fabio M. Di Nitto

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.