* [linux-lvm] Lock Patch
@ 2001-09-14 6:00 IT3 Stuart B. Tener, USNR-R
2001-09-14 8:55 ` Patrick Caulfield
0 siblings, 1 reply; 20+ messages in thread
From: IT3 Stuart B. Tener, USNR-R @ 2001-09-14 6:00 UTC (permalink / raw)
To: linux-lvm
List members:
I am curious; if I am running 2.4.8-12mdk (Mandrake 8,0), which lock patch do I use the 2.4.4 version or the 2.4.9 version?
Very Respectfully,
Stuart Blake Tener, IT3, USNR-R, N3GWG
Beverly Hills, California
VTU 1904G (Volunteer Training Unit)
stuart@bh90210.net
west coast: (310)-358-0202 P.O. Box 16043, Beverly Hills, CA 90209-2043
east coast: (215)-338-6005 P.O. Box 45859, Philadelphia, PA 19149-5859
Telecopier: (419)-715-6073 fax to email gateway via www.efax.com (it's free!)
JOIN THE US NAVY RESERVE, SERVE YOUR COUNTRY, AND BENEFIT FROM IT ALL.
Thursday, September 13, 2001 10:59 PM
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [linux-lvm] Lock Patch
2001-09-14 6:00 [linux-lvm] Lock Patch IT3 Stuart B. Tener, USNR-R
@ 2001-09-14 8:55 ` Patrick Caulfield
2001-09-14 11:10 ` IT3 Stuart B. Tener, USNR-R
2001-09-14 13:51 ` Chris Mason
0 siblings, 2 replies; 20+ messages in thread
From: Patrick Caulfield @ 2001-09-14 8:55 UTC (permalink / raw)
To: linux-lvm
On Thu, Sep 13, 2001 at 11:00:47PM -0700, IT3 Stuart B. Tener, USNR-R wrote:
> List members:
>
> I am curious; if I am running 2.4.8-12mdk (Mandrake 8,0), which lock patch do I use the 2.4.4 version or the 2.4.9 version?
>
>
I would try the 2.4.4 one. If that doesn't apply then try the 2.4.9.
patrick
^ permalink raw reply [flat|nested] 20+ messages in thread
* RE: [linux-lvm] Lock Patch
2001-09-14 8:55 ` Patrick Caulfield
@ 2001-09-14 11:10 ` IT3 Stuart B. Tener, USNR-R
2001-09-14 11:41 ` Heinz J . Mauelshagen
2001-09-14 13:51 ` Chris Mason
1 sibling, 1 reply; 20+ messages in thread
From: IT3 Stuart B. Tener, USNR-R @ 2001-09-14 11:10 UTC (permalink / raw)
To: linux-lvm
Mr. Caulfield:
Well thank you for that most helpful suggestion, but silly me, I consider my time more valuable. I shall wait for someone to post a proper answer, rather than one, which is both obvious and inefficient.
Very Respectfully,
Stuart Blake Tener, IT3, USNR-R, N3GWG
Beverly Hills, California
VTU 1904G (Volunteer Training Unit)
stuart@bh90210.net
west coast: (310)-358-0202 P.O. Box 16043, Beverly Hills, CA 90209-2043
east coast: (215)-338-6005 P.O. Box 45859, Philadelphia, PA 19149-5859
Telecopier: (419)-715-6073 fax to email gateway via www.efax.com (it's free!)
JOIN THE US NAVY RESERVE, SERVE YOUR COUNTRY, AND BENEFIT FROM IT ALL.
Friday, September 14, 2001 4:05 AM
-----Original Message-----
From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On Behalf Of Patrick Caulfield
Sent: Friday, September 14, 2001 1:55 AM
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Lock Patch
On Thu, Sep 13, 2001 at 11:00:47PM -0700, IT3 Stuart B. Tener, USNR-R wrote:
> List members:
>
> I am curious; if I am running 2.4.8-12mdk (Mandrake 8,0), which lock patch do I use the 2.4.4 version or the 2.4.9 version?
>
>
I would try the 2.4.4 one. If that doesn't apply then try the 2.4.9.
patrick
_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [linux-lvm] Lock Patch
2001-09-14 11:10 ` IT3 Stuart B. Tener, USNR-R
@ 2001-09-14 11:41 ` Heinz J . Mauelshagen
2001-09-14 11:55 ` svetljo
2001-09-14 16:25 ` IT3 Stuart B. Tener, USNR-R
0 siblings, 2 replies; 20+ messages in thread
From: Heinz J . Mauelshagen @ 2001-09-14 11:41 UTC (permalink / raw)
To: linux-lvm
Stuart,
Patrick gave you a helpfull hint, so there's no reason for your rude reaction.
Doing what he recommended is a matter of little time as well.
Ask the Mandrake LVM maintainer if that's more preferable for you.
Regards,
Heinz -- The LVM Guy --
On Fri, Sep 14, 2001 at 04:10:08AM -0700, IT3 Stuart B. Tener, USNR-R wrote:
> Mr. Caulfield:
>
> Well thank you for that most helpful suggestion, but silly me, I consider my time more valuable. I shall wait for someone to post a proper answer, rather than one, which is both obvious and inefficient.
>
>
> Very Respectfully,
>
> Stuart Blake Tener, IT3, USNR-R, N3GWG
> Beverly Hills, California
> VTU 1904G (Volunteer Training Unit)
> stuart@bh90210.net
> west coast: (310)-358-0202 P.O. Box 16043, Beverly Hills, CA 90209-2043
> east coast: (215)-338-6005 P.O. Box 45859, Philadelphia, PA 19149-5859
>
> Telecopier: (419)-715-6073 fax to email gateway via www.efax.com (it's free!)
>
> JOIN THE US NAVY RESERVE, SERVE YOUR COUNTRY, AND BENEFIT FROM IT ALL.
>
> Friday, September 14, 2001 4:05 AM
>
> -----Original Message-----
> From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On Behalf Of Patrick Caulfield
> Sent: Friday, September 14, 2001 1:55 AM
> To: linux-lvm@sistina.com
> Subject: Re: [linux-lvm] Lock Patch
>
> On Thu, Sep 13, 2001 at 11:00:47PM -0700, IT3 Stuart B. Tener, USNR-R wrote:
> > List members:
> >
> > I am curious; if I am running 2.4.8-12mdk (Mandrake 8,0), which lock patch do I use the 2.4.4 version or the 2.4.9 version?
> >
> >
>
> I would try the 2.4.4 one. If that doesn't apply then try the 2.4.9.
>
> patrick
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
> ?????????????????????????????????????{??[?????x%??e?{??[?????)???&??i?????l????)???&?f??f??X??)???b??????y?m???0s??3??^[m????\f??+-?v?r?????=?\x1e??h??????
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
Mauelshagen@Sistina.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [linux-lvm] Lock Patch
2001-09-14 11:41 ` Heinz J . Mauelshagen
@ 2001-09-14 11:55 ` svetljo
2001-09-14 16:28 ` IT3 Stuart B. Tener, USNR-R
2001-09-14 16:25 ` IT3 Stuart B. Tener, USNR-R
1 sibling, 1 reply; 20+ messages in thread
From: svetljo @ 2001-09-14 11:55 UTC (permalink / raw)
To: linux-lvm
one question
are we talking about LVM/PATCHES/linux-2.4.x-VFS-lock-patch
if thats so i don't think it's that good idea to try both patches
simply run $LVM_ROOT./configure ; cd PATCHES ; make ; and aply the patch
linux-lvm-1.0.1rc2-2.4.8-12mdk.mdk
but in case we are not tolking about this patch
what are we talking about , which lock.patch
Heinz J . Mauelshagen wrote:
>Stuart,
>
>Patrick gave you a helpfull hint, so there's no reason for your rude reaction.
>Doing what he recommended is a matter of little time as well.
>
>Ask the Mandrake LVM maintainer if that's more preferable for you.
>
>Regards,
>Heinz -- The LVM Guy --
>
>On Fri, Sep 14, 2001 at 04:10:08AM -0700, IT3 Stuart B. Tener, USNR-R wrote:
>
>>Mr. Caulfield:
>>
>> Well thank you for that most helpful suggestion, but silly me, I consider my time more valuable. I shall wait for someone to post a proper answer, rather than one, which is both obvious and inefficient.
>>
>>
>>Very Respectfully,
>>
>>Stuart Blake Tener, IT3, USNR-R, N3GWG
>>Beverly Hills, California
>>VTU 1904G (Volunteer Training Unit)
>>stuart@bh90210.net
>>west coast: (310)-358-0202 P.O. Box 16043, Beverly Hills, CA 90209-2043
>>east coast: (215)-338-6005 P.O. Box 45859, Philadelphia, PA 19149-5859
>>
>>Telecopier: (419)-715-6073 fax to email gateway via www.efax.com (it's free!)
>>
>>JOIN THE US NAVY RESERVE, SERVE YOUR COUNTRY, AND BENEFIT FROM IT ALL.
>>
>>Friday, September 14, 2001 4:05 AM
>>
>>-----Original Message-----
>>From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On Behalf Of Patrick Caulfield
>>Sent: Friday, September 14, 2001 1:55 AM
>>To: linux-lvm@sistina.com
>>Subject: Re: [linux-lvm] Lock Patch
>>
>>On Thu, Sep 13, 2001 at 11:00:47PM -0700, IT3 Stuart B. Tener, USNR-R wrote:
>>
>>>List members:
>>>
>>> I am curious; if I am running 2.4.8-12mdk (Mandrake 8,0), which lock patch do I use the 2.4.4 version or the 2.4.9 version?
>>>
>>>
>>I would try the 2.4.4 one. If that doesn't apply then try the 2.4.9.
>>
>>patrick
>>
>>
>>_______________________________________________
>>linux-lvm mailing list
>>linux-lvm@sistina.com
>>http://lists.sistina.com/mailman/listinfo/linux-lvm
>>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>>?????????????????????????????????????{??[?????x%??e?{??[?????)???&??i?????l????)???&?f??f??X??)???b??????y?m???0s??3??^[m????\f??+-?v?r?????=?\x1e??h??????
>>
>*** Software bugs are stupid.
> Nevertheless it needs not so stupid people to solve them ***
>
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
>Heinz Mauelshagen Sistina Software Inc.
>Senior Consultant/Developer Am Sonnenhang 11
> 56242 Marienrachdorf
> Germany
>Mauelshagen@Sistina.com +49 2626 141200
> FAX 924446
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
>_______________________________________________
>linux-lvm mailing list
>linux-lvm@sistina.com
>http://lists.sistina.com/mailman/listinfo/linux-lvm
>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [linux-lvm] Lock Patch
2001-09-14 8:55 ` Patrick Caulfield
2001-09-14 11:10 ` IT3 Stuart B. Tener, USNR-R
@ 2001-09-14 13:51 ` Chris Mason
2001-09-14 16:32 ` IT3 Stuart B. Tener, USNR-R
1 sibling, 1 reply; 20+ messages in thread
From: Chris Mason @ 2001-09-14 13:51 UTC (permalink / raw)
To: linux-lvm
On Friday, September 14, 2001 09:55:00 AM +0100 Patrick Caulfield
<caulfield@sistina.com> wrote:
> On Thu, Sep 13, 2001 at 11:00:47PM -0700, IT3 Stuart B. Tener, USNR-R
> wrote:
>> List members:
>>
>> I am curious; if I am running 2.4.8-12mdk (Mandrake 8,0), which lock
>> patch do I use the 2.4.4 version or the 2.4.9 version?
>>
>>
>
> I would try the 2.4.4 one. If that doesn't apply then try the 2.4.9.
You could also look for drop_super() in fs/super.c. If it is there, use
the 2.4.9 patch, if it isn't, use the 2.4.4 patch. I'm guessing you'll
need the 2.4.4 one.
-chris
^ permalink raw reply [flat|nested] 20+ messages in thread
* RE: [linux-lvm] Lock Patch
2001-09-14 11:41 ` Heinz J . Mauelshagen
2001-09-14 11:55 ` svetljo
@ 2001-09-14 16:25 ` IT3 Stuart B. Tener, USNR-R
1 sibling, 0 replies; 20+ messages in thread
From: IT3 Stuart B. Tener, USNR-R @ 2001-09-14 16:25 UTC (permalink / raw)
To: linux-lvm
Mr. Mauelshagen:
I am not meaning to be rude, its just his answer is unclear and does not specify really what to do. He just generally says, "try it all", whatever. If I am asking a question, it is because I am truly lost. I am asking for not only assistance but also an understanding of what I must do. I am a relatively technical person, and will not try any of the below solutions without understanding their impact and the exact method they ought to be deploy within
Does he mean I ought to apply both patches, one followed by the other?
Does he mean apply one patch try it, then remove it and apply the second?
Does he mean apply one patch try it, leave it and then apply the second?
Does he mean patches which are specific to mandrake's distributions? Are there such patches? Must I upgrade to 2.4.9?
Very Respectfully,
Stuart Blake Tener, IT3, USNR-R, N3GWG
Beverly Hills, California
VTU 1904G (Volunteer Training Unit)
stuart@bh90210.net
west coast: (310)-358-0202 P.O. Box 16043, Beverly Hills, CA 90209-2043
east coast: (215)-338-6005 P.O. Box 45859, Philadelphia, PA 19149-5859
Telecopier: (419)-715-6073 fax to email gateway via www.efax.com (it's free!)
JOIN THE US NAVY RESERVE, SERVE YOUR COUNTRY, AND BENEFIT FROM IT ALL.
Friday, September 14, 2001 9:21 AM
-----Original Message-----
From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On Behalf Of Heinz J . Mauelshagen
Sent: Friday, September 14, 2001 4:41 AM
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Lock Patch
Stuart,
Patrick gave you a helpfull hint, so there's no reason for your rude reaction.
Doing what he recommended is a matter of little time as well.
Ask the Mandrake LVM maintainer if that's more preferable for you.
Regards,
Heinz -- The LVM Guy --
On Fri, Sep 14, 2001 at 04:10:08AM -0700, IT3 Stuart B. Tener, USNR-R wrote:
> Mr. Caulfield:
>
> Well thank you for that most helpful suggestion, but silly me, I consider my time more valuable. I shall wait for someone to post a proper answer, rather than one, which is both obvious and inefficient.
>
>
> Very Respectfully,
>
> Stuart Blake Tener, IT3, USNR-R, N3GWG
> Beverly Hills, California
> VTU 1904G (Volunteer Training Unit)
> stuart@bh90210.net
> west coast: (310)-358-0202 P.O. Box 16043, Beverly Hills, CA 90209-2043
> east coast: (215)-338-6005 P.O. Box 45859, Philadelphia, PA 19149-5859
>
> Telecopier: (419)-715-6073 fax to email gateway via www.efax.com (it's free!)
>
> JOIN THE US NAVY RESERVE, SERVE YOUR COUNTRY, AND BENEFIT FROM IT ALL.
>
> Friday, September 14, 2001 4:05 AM
>
> -----Original Message-----
> From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On Behalf Of Patrick Caulfield
> Sent: Friday, September 14, 2001 1:55 AM
> To: linux-lvm@sistina.com
> Subject: Re: [linux-lvm] Lock Patch
>
> On Thu, Sep 13, 2001 at 11:00:47PM -0700, IT3 Stuart B. Tener, USNR-R wrote:
> > List members:
> >
> > I am curious; if I am running 2.4.8-12mdk (Mandrake 8,0), which lock patch do I use the 2.4.4 version or the 2.4.9 version?
> >
> >
>
> I would try the 2.4.4 one. If that doesn't apply then try the 2.4.9.
>
> patrick
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
> ?????????????????????????????????????{??[?????x%??e?{??[?????)???&??i?????l????)???&?f??f??X??)???b??????y?m???0s??3??^[m????
??+-?v?r?????=?-??h??????
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
Mauelshagen@Sistina.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
^ permalink raw reply [flat|nested] 20+ messages in thread
* RE: [linux-lvm] Lock Patch
2001-09-14 11:55 ` svetljo
@ 2001-09-14 16:28 ` IT3 Stuart B. Tener, USNR-R
2001-09-14 18:17 ` svetljo
0 siblings, 1 reply; 20+ messages in thread
From: IT3 Stuart B. Tener, USNR-R @ 2001-09-14 16:28 UTC (permalink / raw)
To: linux-lvm
Svetljo:
Where does one get the patch you refer to? Can you provide a link for it?
Very Respectfully,
Stuart Blake Tener, IT3, USNR-R, N3GWG
Beverly Hills, California
VTU 1904G (Volunteer Training Unit)
stuart@bh90210.net
west coast: (310)-358-0202 P.O. Box 16043, Beverly Hills, CA 90209-2043
east coast: (215)-338-6005 P.O. Box 45859, Philadelphia, PA 19149-5859
Telecopier: (419)-715-6073 fax to email gateway via www.efax.com (it's free!)
JOIN THE US NAVY RESERVE, SERVE YOUR COUNTRY, AND BENEFIT FROM IT ALL.
Friday, September 14, 2001 9:26 AM
-----Original Message-----
From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On Behalf Of svetljo
Sent: Friday, September 14, 2001 4:55 AM
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Lock Patch
one question
are we talking about LVM/PATCHES/linux-2.4.x-VFS-lock-patch
if thats so i don't think it's that good idea to try both patches
simply run $LVM_ROOT./configure ; cd PATCHES ; make ; and aply the patch
linux-lvm-1.0.1rc2-2.4.8-12mdk.mdk
but in case we are not tolking about this patch
what are we talking about , which lock.patch
Heinz J . Mauelshagen wrote:
>Stuart,
>
>Patrick gave you a helpfull hint, so there's no reason for your rude reaction.
>Doing what he recommended is a matter of little time as well.
>
>Ask the Mandrake LVM maintainer if that's more preferable for you.
>
>Regards,
>Heinz -- The LVM Guy --
>
>On Fri, Sep 14, 2001 at 04:10:08AM -0700, IT3 Stuart B. Tener, USNR-R wrote:
>
>>Mr. Caulfield:
>>
>> Well thank you for that most helpful suggestion, but silly me, I consider my time more valuable. I shall wait for someone to post a proper answer, rather than one, which is both obvious and inefficient.
>>
>>
>>Very Respectfully,
>>
>>Stuart Blake Tener, IT3, USNR-R, N3GWG
>>Beverly Hills, California
>>VTU 1904G (Volunteer Training Unit)
>>stuart@bh90210.net
>>west coast: (310)-358-0202 P.O. Box 16043, Beverly Hills, CA 90209-2043
>>east coast: (215)-338-6005 P.O. Box 45859, Philadelphia, PA 19149-5859
>>
>>Telecopier: (419)-715-6073 fax to email gateway via www.efax.com (it's free!)
>>
>>JOIN THE US NAVY RESERVE, SERVE YOUR COUNTRY, AND BENEFIT FROM IT ALL.
>>
>>Friday, September 14, 2001 4:05 AM
>>
>>-----Original Message-----
>>From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On Behalf Of Patrick Caulfield
>>Sent: Friday, September 14, 2001 1:55 AM
>>To: linux-lvm@sistina.com
>>Subject: Re: [linux-lvm] Lock Patch
>>
>>On Thu, Sep 13, 2001 at 11:00:47PM -0700, IT3 Stuart B. Tener, USNR-R wrote:
>>
>>>List members:
>>>
>>> I am curious; if I am running 2.4.8-12mdk (Mandrake 8,0), which lock patch do I use the 2.4.4 version or the 2.4.9 version?
>>>
>>>
>>I would try the 2.4.4 one. If that doesn't apply then try the 2.4.9.
>>
>>patrick
>>
>>
>>_______________________________________________
>>linux-lvm mailing list
>>linux-lvm@sistina.com
>>http://lists.sistina.com/mailman/listinfo/linux-lvm
>>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>>?????????????????????????????????????{??[?????x%??e?{??[?????)???&??i?????l????)???&?f??f??X??)???b??????y?m???0s??3??^[m????
??+-?v?r?????=?-??h??????
>>
>*** Software bugs are stupid.
> Nevertheless it needs not so stupid people to solve them ***
>
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
>Heinz Mauelshagen Sistina Software Inc.
>Senior Consultant/Developer Am Sonnenhang 11
> 56242 Marienrachdorf
> Germany
>Mauelshagen@Sistina.com +49 2626 141200
> FAX 924446
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
>_______________________________________________
>linux-lvm mailing list
>linux-lvm@sistina.com
>http://lists.sistina.com/mailman/listinfo/linux-lvm
>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>
_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
^ permalink raw reply [flat|nested] 20+ messages in thread
* RE: [linux-lvm] Lock Patch
2001-09-14 13:51 ` Chris Mason
@ 2001-09-14 16:32 ` IT3 Stuart B. Tener, USNR-R
0 siblings, 0 replies; 20+ messages in thread
From: IT3 Stuart B. Tener, USNR-R @ 2001-09-14 16:32 UTC (permalink / raw)
To: linux-lvm
Mr. Mason:
Well I shall do that, but if svetljo has a link for a mandrake specific version of the patch for the exact kernel version I am running, I think I will prefer that solutions. I will however review your suggestions none the less.
Very Respectfully,
Stuart Blake Tener, IT3, USNR-R, N3GWG
Beverly Hills, California
VTU 1904G (Volunteer Training Unit)
stuart@bh90210.net
west coast: (310)-358-0202 P.O. Box 16043, Beverly Hills, CA 90209-2043
east coast: (215)-338-6005 P.O. Box 45859, Philadelphia, PA 19149-5859
Telecopier: (419)-715-6073 fax to email gateway via www.efax.com (it's free!)
JOIN THE US NAVY RESERVE, SERVE YOUR COUNTRY, AND BENEFIT FROM IT ALL.
Friday, September 14, 2001 9:30 AM
-----Original Message-----
From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On Behalf Of Chris Mason
Sent: Friday, September 14, 2001 6:52 AM
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Lock Patch
On Friday, September 14, 2001 09:55:00 AM +0100 Patrick Caulfield
<caulfield@sistina.com> wrote:
> On Thu, Sep 13, 2001 at 11:00:47PM -0700, IT3 Stuart B. Tener, USNR-R
> wrote:
>> List members:
>>
>> I am curious; if I am running 2.4.8-12mdk (Mandrake 8,0), which lock
>> patch do I use the 2.4.4 version or the 2.4.9 version?
>>
>>
>
> I would try the 2.4.4 one. If that doesn't apply then try the 2.4.9.
You could also look for drop_super() in fs/super.c. If it is there, use
the 2.4.9 patch, if it isn't, use the 2.4.4 patch. I'm guessing you'll
need the 2.4.4 one.
-chris
_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [linux-lvm] Lock Patch
2001-09-14 16:28 ` IT3 Stuart B. Tener, USNR-R
@ 2001-09-14 18:17 ` svetljo
2001-09-14 21:21 ` IT3 Stuart B. Tener, USNR-R
0 siblings, 1 reply; 20+ messages in thread
From: svetljo @ 2001-09-14 18:17 UTC (permalink / raw)
To: linux-lvm
Hi
thats in case we are tolking about linux-2.4.1-VFS-lock.patch,
linux-2.4.2-VFS-lock.patch, linux-2.4.4-VFS-lock.patch
and linux-2.4.9-VFS-lock.patch which are in LVM/1.0x/PATCHES
there is no such speciefic patch , you should create it yourself
have you folowed what i told you, you should then have it
from the beginig
untar the lvm-code lvm-1.0.1-rc2.tar.bz2: tar xjvf lvm-1.0.1-rc2.tar.bz2
you have now directory LVM and in it 1.0.1-rc2
cd LVM/1.0.1-rc2
configure the sources for your system: ./configure
go to PATCHES and prepare the patch for your kernel: make
you should have now the patch for your kernel
apply the patch
recompile the kernel or modules
and compile the tools - go back to LVM/1.0.1-rc2 and type make
and then install them : make install
IT3 Stuart B. Tener, USNR-R wrote:
>Svetljo:
>
> Where does one get the patch you refer to? Can you provide a link for it?
>
>
>Very Respectfully,
>
>Stuart Blake Tener, IT3, USNR-R, N3GWG
>Beverly Hills, California
>VTU 1904G (Volunteer Training Unit)
>stuart@bh90210.net
>west coast: (310)-358-0202 P.O. Box 16043, Beverly Hills, CA 90209-2043
>east coast: (215)-338-6005 P.O. Box 45859, Philadelphia, PA 19149-5859
>
>Telecopier: (419)-715-6073 fax to email gateway via www.efax.com (it's free!)
>
>JOIN THE US NAVY RESERVE, SERVE YOUR COUNTRY, AND BENEFIT FROM IT ALL.
>
>Friday, September 14, 2001 9:26 AM
>
>-----Original Message-----
>From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On Behalf Of svetljo
>Sent: Friday, September 14, 2001 4:55 AM
>To: linux-lvm@sistina.com
>Subject: Re: [linux-lvm] Lock Patch
>
>one question
>are we talking about LVM/PATCHES/linux-2.4.x-VFS-lock-patch
>if thats so i don't think it's that good idea to try both patches
>
>simply run $LVM_ROOT./configure ; cd PATCHES ; make ; and aply the patch
>
>linux-lvm-1.0.1rc2-2.4.8-12mdk.mdk
>
>but in case we are not tolking about this patch
>what are we talking about , which lock.patch
>
>
>Heinz J . Mauelshagen wrote:
>
>>Stuart,
>>
>>Patrick gave you a helpfull hint, so there's no reason for your rude reaction.
>>Doing what he recommended is a matter of little time as well.
>>
>>Ask the Mandrake LVM maintainer if that's more preferable for you.
>>
>>Regards,
>>Heinz -- The LVM Guy --
>>
>>On Fri, Sep 14, 2001 at 04:10:08AM -0700, IT3 Stuart B. Tener, USNR-R wrote:
>>
>>>Mr. Caulfield:
>>>
>>> Well thank you for that most helpful suggestion, but silly me, I consider my time more valuable. I shall wait for someone to post a proper answer, rather than one, which is both obvious and inefficient.
>>>
>>>
>>>Very Respectfully,
>>>
>>>Stuart Blake Tener, IT3, USNR-R, N3GWG
>>>Beverly Hills, California
>>>VTU 1904G (Volunteer Training Unit)
>>>stuart@bh90210.net
>>>west coast: (310)-358-0202 P.O. Box 16043, Beverly Hills, CA 90209-2043
>>>east coast: (215)-338-6005 P.O. Box 45859, Philadelphia, PA 19149-5859
>>>
>>>Telecopier: (419)-715-6073 fax to email gateway via www.efax.com (it's free!)
>>>
>>>JOIN THE US NAVY RESERVE, SERVE YOUR COUNTRY, AND BENEFIT FROM IT ALL.
>>>
>>>Friday, September 14, 2001 4:05 AM
>>>
>>>-----Original Message-----
>>>From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On Behalf Of Patrick Caulfield
>>>Sent: Friday, September 14, 2001 1:55 AM
>>>To: linux-lvm@sistina.com
>>>Subject: Re: [linux-lvm] Lock Patch
>>>
>>>On Thu, Sep 13, 2001 at 11:00:47PM -0700, IT3 Stuart B. Tener, USNR-R wrote:
>>>
>>>>List members:
>>>>
>>>> I am curious; if I am running 2.4.8-12mdk (Mandrake 8,0), which lock patch do I use the 2.4.4 version or the 2.4.9 version?
>>>>
>>>>
>>>I would try the 2.4.4 one. If that doesn't apply then try the 2.4.9.
>>>
>>>patrick
>>>
>>>
>>>_______________________________________________
>>>linux-lvm mailing list
>>>linux-lvm@sistina.com
>>>http://lists.sistina.com/mailman/listinfo/linux-lvm
>>>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>>>?????????????????????????????????????{??[?????x%??e?{??[?????)???&??i?????l????)???&?f??f??X??)???b??????y?m???0s??3??^[m????
>>>
>??+-?v?r?????=?-??h??????
>
>>*** Software bugs are stupid.
>> Nevertheless it needs not so stupid people to solve them ***
>>
>>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>>
>>Heinz Mauelshagen Sistina Software Inc.
>>Senior Consultant/Developer Am Sonnenhang 11
>> 56242 Marienrachdorf
>> Germany
>>Mauelshagen@Sistina.com +49 2626 141200
>> FAX 924446
>>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>>
>>_______________________________________________
>>linux-lvm mailing list
>>linux-lvm@sistina.com
>>http://lists.sistina.com/mailman/listinfo/linux-lvm
>>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>>
>
>
>
>
>_______________________________________________
>linux-lvm mailing list
>linux-lvm@sistina.com
>http://lists.sistina.com/mailman/listinfo/linux-lvm
>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>
^ permalink raw reply [flat|nested] 20+ messages in thread
* RE: [linux-lvm] Lock Patch
2001-09-14 18:17 ` svetljo
@ 2001-09-14 21:21 ` IT3 Stuart B. Tener, USNR-R
2001-09-14 22:05 ` svetljo
2001-09-14 22:12 ` svetljo
0 siblings, 2 replies; 20+ messages in thread
From: IT3 Stuart B. Tener, USNR-R @ 2001-09-14 21:21 UTC (permalink / raw)
To: linux-lvm
Svetljo:
Are you saying that typing, "make" in the "PATCHES" directory will cause a patch to be generated specifically for my kernel? What name will it be given?
The documentation says to add a dash dash kernel-dir= or something or other after the "./configure" command, are you saying it is better to use "./configure" absent that appended statement?
Where do I untar the LVM source? Does it matter where I do so? May I do it in /tmp?
Very Respectfully,
Stuart Blake Tener, IT3, USNR-R, N3GWG
Beverly Hills, California
VTU 1904G (Volunteer Training Unit)
stuart@bh90210.net
west coast: (310)-358-0202 P.O. Box 16043, Beverly Hills, CA 90209-2043
east coast: (215)-338-6005 P.O. Box 45859, Philadelphia, PA 19149-5859
Telecopier: (419)-715-6073 fax to email gateway via www.efax.com (it's free!)
JOIN THE US NAVY RESERVE, SERVE YOUR COUNTRY, AND BENEFIT FROM IT ALL.
Friday, September 14, 2001 2:10 PM
-----Original Message-----
From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On Behalf Of svetljo
Sent: Friday, September 14, 2001 11:18 AM
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Lock Patch
Hi
thats in case we are tolking about linux-2.4.1-VFS-lock.patch,
linux-2.4.2-VFS-lock.patch, linux-2.4.4-VFS-lock.patch
and linux-2.4.9-VFS-lock.patch which are in LVM/1.0x/PATCHES
there is no such speciefic patch , you should create it yourself
have you folowed what i told you, you should then have it
from the beginig
untar the lvm-code lvm-1.0.1-rc2.tar.bz2: tar xjvf lvm-1.0.1-rc2.tar.bz2
you have now directory LVM and in it 1.0.1-rc2
cd LVM/1.0.1-rc2
configure the sources for your system: ./configure
go to PATCHES and prepare the patch for your kernel: make
you should have now the patch for your kernel
apply the patch
recompile the kernel or modules
and compile the tools - go back to LVM/1.0.1-rc2 and type make
and then install them : make install
IT3 Stuart B. Tener, USNR-R wrote:
>Svetljo:
>
> Where does one get the patch you refer to? Can you provide a link for it?
>
>
>Very Respectfully,
>
>Stuart Blake Tener, IT3, USNR-R, N3GWG
>Beverly Hills, California
>VTU 1904G (Volunteer Training Unit)
>stuart@bh90210.net
>west coast: (310)-358-0202 P.O. Box 16043, Beverly Hills, CA 90209-2043
>east coast: (215)-338-6005 P.O. Box 45859, Philadelphia, PA 19149-5859
>
>Telecopier: (419)-715-6073 fax to email gateway via www.efax.com (it's free!)
>
>JOIN THE US NAVY RESERVE, SERVE YOUR COUNTRY, AND BENEFIT FROM IT ALL.
>
>Friday, September 14, 2001 9:26 AM
>
>-----Original Message-----
>From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On Behalf Of svetljo
>Sent: Friday, September 14, 2001 4:55 AM
>To: linux-lvm@sistina.com
>Subject: Re: [linux-lvm] Lock Patch
>
>one question
>are we talking about LVM/PATCHES/linux-2.4.x-VFS-lock-patch
>if thats so i don't think it's that good idea to try both patches
>
>simply run $LVM_ROOT./configure ; cd PATCHES ; make ; and aply the patch
>
>linux-lvm-1.0.1rc2-2.4.8-12mdk.mdk
>
>but in case we are not tolking about this patch
>what are we talking about , which lock.patch
>
>
>Heinz J . Mauelshagen wrote:
>
>>Stuart,
>>
>>Patrick gave you a helpfull hint, so there's no reason for your rude reaction.
>>Doing what he recommended is a matter of little time as well.
>>
>>Ask the Mandrake LVM maintainer if that's more preferable for you.
>>
>>Regards,
>>Heinz -- The LVM Guy --
>>
>>On Fri, Sep 14, 2001 at 04:10:08AM -0700, IT3 Stuart B. Tener, USNR-R wrote:
>>
>>>Mr. Caulfield:
>>>
>>> Well thank you for that most helpful suggestion, but silly me, I consider my time more valuable. I shall wait for someone to post a proper answer, rather than one, which is both obvious and inefficient.
>>>
>>>
>>>Very Respectfully,
>>>
>>>Stuart Blake Tener, IT3, USNR-R, N3GWG
>>>Beverly Hills, California
>>>VTU 1904G (Volunteer Training Unit)
>>>stuart@bh90210.net
>>>west coast: (310)-358-0202 P.O. Box 16043, Beverly Hills, CA 90209-2043
>>>east coast: (215)-338-6005 P.O. Box 45859, Philadelphia, PA 19149-5859
>>>
>>>Telecopier: (419)-715-6073 fax to email gateway via www.efax.com (it's free!)
>>>
>>>JOIN THE US NAVY RESERVE, SERVE YOUR COUNTRY, AND BENEFIT FROM IT ALL.
>>>
>>>Friday, September 14, 2001 4:05 AM
>>>
>>>-----Original Message-----
>>>From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On Behalf Of Patrick Caulfield
>>>Sent: Friday, September 14, 2001 1:55 AM
>>>To: linux-lvm@sistina.com
>>>Subject: Re: [linux-lvm] Lock Patch
>>>
>>>On Thu, Sep 13, 2001 at 11:00:47PM -0700, IT3 Stuart B. Tener, USNR-R wrote:
>>>
>>>>List members:
>>>>
>>>> I am curious; if I am running 2.4.8-12mdk (Mandrake 8,0), which lock patch do I use the 2.4.4 version or the 2.4.9 version?
>>>>
>>>>
>>>I would try the 2.4.4 one. If that doesn't apply then try the 2.4.9.
>>>
>>>patrick
>>>
>>>
>>>_______________________________________________
>>>linux-lvm mailing list
>>>linux-lvm@sistina.com
>>>http://lists.sistina.com/mailman/listinfo/linux-lvm
>>>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>>>?????????????????????????????????????{??[?????x%??e?{??[?????)???&??i?????l????)???&?f??f??X??)???b??????y?m???0s??3??^[m????
>>>
>??+-?v?r?????=?-??h??????
>
>>*** Software bugs are stupid.
>> Nevertheless it needs not so stupid people to solve them ***
>>
>>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>>
>>Heinz Mauelshagen Sistina Software Inc.
>>Senior Consultant/Developer Am Sonnenhang 11
>> 56242 Marienrachdorf
>> Germany
>>Mauelshagen@Sistina.com +49 2626 141200
>> FAX 924446
>>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>>
>>_______________________________________________
>>linux-lvm mailing list
>>linux-lvm@sistina.com
>>http://lists.sistina.com/mailman/listinfo/linux-lvm
>>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>>
>
>
>
>
>_______________________________________________
>linux-lvm mailing list
>linux-lvm@sistina.com
>http://lists.sistina.com/mailman/listinfo/linux-lvm
>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>
_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [linux-lvm] Lock Patch
2001-09-14 21:21 ` IT3 Stuart B. Tener, USNR-R
@ 2001-09-14 22:05 ` svetljo
2001-09-15 0:27 ` IT3 Stuart B. Tener, USNR-R
2001-09-14 22:12 ` svetljo
1 sibling, 1 reply; 20+ messages in thread
From: svetljo @ 2001-09-14 22:05 UTC (permalink / raw)
To: linux-lvm
Hi
IT3 Stuart B. Tener, USNR-R wrote:
>Svetljo:
>
> Are you saying that typing, "make" in the "PATCHES" directory will cause a patch to be generated specifically for my kernel? What name will it be given?
>
thats right ,in case you don't use ./configure --kernel-dir it will use
/usr/src/linux wich is a symbolik link to our kernel
linux-2.4.8
it will name it lvm-1.0.1-rc2" here comes our kernel version".patch
it's the same as the one mentioned in the /usr/src/linux/Makefile in our
case /usr/src/linux-2.4.8/Makefile
so it's lvm-1.0.1-rc2-linux-2.4.8-12mdk.patch
but you have first run ./configure in the previous dir, then chdir to
PATCHES ,and "make " should make the patch
>The documentation says to add a dash dash kernel-dir= or something or other after the "./configure" command, are you saying it is better to use "./configure" absent that appended statement?
> Where do I untar the LVM source? Does it matter where I do so? May I do it in /tmp?
>
no it doesn't metter, you can put it where ever you wont,
in case your /tmp is not cleaned @ every reboot no problems , but it's
probably a very good idea not to delete it
>
>
>Very Respectfully,
>
>Stuart Blake Tener, IT3, USNR-R, N3GWG
>Beverly Hills, California
>VTU 1904G (Volunteer Training Unit)
>stuart@bh90210.net
>west coast: (310)-358-0202 P.O. Box 16043, Beverly Hills, CA 90209-2043
>east coast: (215)-338-6005 P.O. Box 45859, Philadelphia, PA 19149-5859
>
>Telecopier: (419)-715-6073 fax to email gateway via www.efax.com (it's free!)
>
>JOIN THE US NAVY RESERVE, SERVE YOUR COUNTRY, AND BENEFIT FROM IT ALL.
>
>Friday, September 14, 2001 2:10 PM
>
>-----Original Message-----
>From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On Behalf Of svetljo
>Sent: Friday, September 14, 2001 11:18 AM
>To: linux-lvm@sistina.com
>Subject: Re: [linux-lvm] Lock Patch
>
>Hi
>thats in case we are tolking about linux-2.4.1-VFS-lock.patch,
>linux-2.4.2-VFS-lock.patch, linux-2.4.4-VFS-lock.patch
>and linux-2.4.9-VFS-lock.patch which are in LVM/1.0x/PATCHES
>
>there is no such speciefic patch , you should create it yourself
>have you folowed what i told you, you should then have it
>
>from the beginig
>untar the lvm-code lvm-1.0.1-rc2.tar.bz2: tar xjvf lvm-1.0.1-rc2.tar.bz2
>you have now directory LVM and in it 1.0.1-rc2
>cd LVM/1.0.1-rc2
>configure the sources for your system: ./configure
>go to PATCHES and prepare the patch for your kernel: make
>you should have now the patch for your kernel
>apply the patch
>
>recompile the kernel or modules
>and compile the tools - go back to LVM/1.0.1-rc2 and type make
>and then install them : make install
>
>
>IT3 Stuart B. Tener, USNR-R wrote:
>
>>Svetljo:
>>
>> Where does one get the patch you refer to? Can you provide a link for it?
>>
>>
>>Very Respectfully,
>>
>>Stuart Blake Tener, IT3, USNR-R, N3GWG
>>Beverly Hills, California
>>VTU 1904G (Volunteer Training Unit)
>>stuart@bh90210.net
>>west coast: (310)-358-0202 P.O. Box 16043, Beverly Hills, CA 90209-2043
>>east coast: (215)-338-6005 P.O. Box 45859, Philadelphia, PA 19149-5859
>>
>>Telecopier: (419)-715-6073 fax to email gateway via www.efax.com (it's free!)
>>
>>JOIN THE US NAVY RESERVE, SERVE YOUR COUNTRY, AND BENEFIT FROM IT ALL.
>>
>>Friday, September 14, 2001 9:26 AM
>>
>>-----Original Message-----
>>From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On Behalf Of svetljo
>>Sent: Friday, September 14, 2001 4:55 AM
>>To: linux-lvm@sistina.com
>>Subject: Re: [linux-lvm] Lock Patch
>>
>>one question
>>are we talking about LVM/PATCHES/linux-2.4.x-VFS-lock-patch
>>if thats so i don't think it's that good idea to try both patches
>>
>>simply run $LVM_ROOT./configure ; cd PATCHES ; make ; and aply the patch
>>
>>linux-lvm-1.0.1rc2-2.4.8-12mdk.mdk
>>
>>but in case we are not tolking about this patch
>>what are we talking about , which lock.patch
>>
>>
>>Heinz J . Mauelshagen wrote:
>>
>>>Stuart,
>>>
>>>Patrick gave you a helpfull hint, so there's no reason for your rude reaction.
>>>Doing what he recommended is a matter of little time as well.
>>>
>>>Ask the Mandrake LVM maintainer if that's more preferable for you.
>>>
>>>Regards,
>>>Heinz -- The LVM Guy --
>>>
>>>On Fri, Sep 14, 2001 at 04:10:08AM -0700, IT3 Stuart B. Tener, USNR-R wrote:
>>>
>>>>Mr. Caulfield:
>>>>
>>>> Well thank you for that most helpful suggestion, but silly me, I consider my time more valuable. I shall wait for someone to post a proper answer, rather than one, which is both obvious and inefficient.
>>>>
>>>>
>>>>Very Respectfully,
>>>>
>>>>Stuart Blake Tener, IT3, USNR-R, N3GWG
>>>>Beverly Hills, California
>>>>VTU 1904G (Volunteer Training Unit)
>>>>stuart@bh90210.net
>>>>west coast: (310)-358-0202 P.O. Box 16043, Beverly Hills, CA 90209-2043
>>>>east coast: (215)-338-6005 P.O. Box 45859, Philadelphia, PA 19149-5859
>>>>
>>>>Telecopier: (419)-715-6073 fax to email gateway via www.efax.com (it's free!)
>>>>
>>>>JOIN THE US NAVY RESERVE, SERVE YOUR COUNTRY, AND BENEFIT FROM IT ALL.
>>>>
>>>>Friday, September 14, 2001 4:05 AM
>>>>
>>>>-----Original Message-----
>>>>From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On Behalf Of Patrick Caulfield
>>>>Sent: Friday, September 14, 2001 1:55 AM
>>>>To: linux-lvm@sistina.com
>>>>Subject: Re: [linux-lvm] Lock Patch
>>>>
>>>>On Thu, Sep 13, 2001 at 11:00:47PM -0700, IT3 Stuart B. Tener, USNR-R wrote:
>>>>
>>>>>List members:
>>>>>
>>>>> I am curious; if I am running 2.4.8-12mdk (Mandrake 8,0), which lock patch do I use the 2.4.4 version or the 2.4.9 version?
>>>>>
>>>>>
>>>>I would try the 2.4.4 one. If that doesn't apply then try the 2.4.9.
>>>>
>>>>patrick
>>>>
>>>>
>>>>_______________________________________________
>>>>linux-lvm mailing list
>>>>linux-lvm@sistina.com
>>>>http://lists.sistina.com/mailman/listinfo/linux-lvm
>>>>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>>>>?????????????????????????????????????{??[?????x%??e?{??[?????)???&??i?????l????)???&?f??f??X??)???b??????y?m???0s??3??^[m????
>>>>
>>??+-?v?r?????=?-??h??????
>>
>>>*** Software bugs are stupid.
>>> Nevertheless it needs not so stupid people to solve them ***
>>>
>>>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>>>
>>>Heinz Mauelshagen Sistina Software Inc.
>>>Senior Consultant/Developer Am Sonnenhang 11
>>> 56242 Marienrachdorf
>>> Germany
>>>Mauelshagen@Sistina.com +49 2626 141200
>>> FAX 924446
>>>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>>>
>>>_______________________________________________
>>>linux-lvm mailing list
>>>linux-lvm@sistina.com
>>>http://lists.sistina.com/mailman/listinfo/linux-lvm
>>>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>>>
>>
>>
>>
>>_______________________________________________
>>linux-lvm mailing list
>>linux-lvm@sistina.com
>>http://lists.sistina.com/mailman/listinfo/linux-lvm
>>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>>
>
>
>
>
>_______________________________________________
>linux-lvm mailing list
>linux-lvm@sistina.com
>http://lists.sistina.com/mailman/listinfo/linux-lvm
>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [linux-lvm] Lock Patch
2001-09-14 21:21 ` IT3 Stuart B. Tener, USNR-R
2001-09-14 22:05 ` svetljo
@ 2001-09-14 22:12 ` svetljo
2001-09-15 0:27 ` IT3 Stuart B. Tener, USNR-R
1 sibling, 1 reply; 20+ messages in thread
From: svetljo @ 2001-09-14 22:12 UTC (permalink / raw)
To: linux-lvm
i've forgoten
> you saying that typing, "make" in the "PATCHES" directory will cause a patch to be generated specifically for my kernel?
>
thats actually the work of ./configure it trys to find out what you
have, and what you need
in PATCHES it chooses from all the patches the ones your kernel need ,
and " make " put them together in one patch for your kernel
> What name will it be given?
> The documentation says to add a dash dash kernel-dir= or something or other after the "./configure" command, are you saying it is better to use "./configure" absent that appended statement?
> Where do I untar the LVM source? Does it matter where I do so? May I do it in /tmp?
>
1
^ permalink raw reply [flat|nested] 20+ messages in thread
* RE: [linux-lvm] Lock Patch
2001-09-14 22:12 ` svetljo
@ 2001-09-15 0:27 ` IT3 Stuart B. Tener, USNR-R
2001-09-15 2:06 ` svetljo
0 siblings, 1 reply; 20+ messages in thread
From: IT3 Stuart B. Tener, USNR-R @ 2001-09-15 0:27 UTC (permalink / raw)
To: linux-lvm
Svetljo:
Ah, that is wonderful to hear. Is there some reason why this is not noted in the How-To? Can we amend the How-To in order to document this information for first time implementers of this product?
Very Respectfully,
Stuart Blake Tener, IT3, USNR-R, N3GWG
Beverly Hills, California
VTU 1904G (Volunteer Training Unit)
stuart@bh90210.net
west coast: (310)-358-0202 P.O. Box 16043, Beverly Hills, CA 90209-2043
east coast: (215)-338-6005 P.O. Box 45859, Philadelphia, PA 19149-5859
Telecopier: (419)-715-6073 fax to email gateway via www.efax.com (it's free!)
JOIN THE US NAVY RESERVE, SERVE YOUR COUNTRY, AND BENEFIT FROM IT ALL.
Friday, September 14, 2001 5:23 PM
-----Original Message-----
From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On Behalf Of svetljo
Sent: Friday, September 14, 2001 3:13 PM
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Lock Patch
i've forgoten
> you saying that typing, "make" in the "PATCHES" directory will cause a patch to be generated specifically for my kernel?
>
thats actually the work of ./configure it trys to find out what you
have, and what you need
in PATCHES it chooses from all the patches the ones your kernel need ,
and " make " put them together in one patch for your kernel
> What name will it be given?
> The documentation says to add a dash dash kernel-dir= or something or other after the "./configure" command, are you saying it is better to use "./configure" absent that appended statement?
> Where do I untar the LVM source? Does it matter where I do so? May I do it in /tmp?
>
1
_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
^ permalink raw reply [flat|nested] 20+ messages in thread
* RE: [linux-lvm] Lock Patch
2001-09-14 22:05 ` svetljo
@ 2001-09-15 0:27 ` IT3 Stuart B. Tener, USNR-R
0 siblings, 0 replies; 20+ messages in thread
From: IT3 Stuart B. Tener, USNR-R @ 2001-09-15 0:27 UTC (permalink / raw)
To: linux-lvm
Svetljo:
Again I do not know that this fact is documented anywhere in the How-To. I will attempt to reimplement this version of LVM later using your suggestions. One respondent told me that I might be having trouble building a suitable init.gz as the lvmcreate_initrd script was revised in future versions?
I am curious, does anyone plan to modify the documentation to effecuate adding the issues I have hit up in recent days?
Very Respectfully,
Stuart Blake Tener, IT3, USNR-R, N3GWG
Beverly Hills, California
VTU 1904G (Volunteer Training Unit)
stuart@bh90210.net
west coast: (310)-358-0202 P.O. Box 16043, Beverly Hills, CA 90209-2043
east coast: (215)-338-6005 P.O. Box 45859, Philadelphia, PA 19149-5859
Telecopier: (419)-715-6073 fax to email gateway via www.efax.com (it's free!)
JOIN THE US NAVY RESERVE, SERVE YOUR COUNTRY, AND BENEFIT FROM IT ALL.
Friday, September 14, 2001 5:24 PM
-----Original Message-----
From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On Behalf Of svetljo
Sent: Friday, September 14, 2001 3:06 PM
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Lock Patch
Hi
IT3 Stuart B. Tener, USNR-R wrote:
>Svetljo:
>
> Are you saying that typing, "make" in the "PATCHES" directory will cause a patch to be generated specifically for my kernel? What name will it be given?
>
thats right ,in case you don't use ./configure --kernel-dir it will use
/usr/src/linux wich is a symbolik link to our kernel
linux-2.4.8
it will name it lvm-1.0.1-rc2" here comes our kernel version".patch
it's the same as the one mentioned in the /usr/src/linux/Makefile in our
case /usr/src/linux-2.4.8/Makefile
so it's lvm-1.0.1-rc2-linux-2.4.8-12mdk.patch
but you have first run ./configure in the previous dir, then chdir to
PATCHES ,and "make " should make the patch
>The documentation says to add a dash dash kernel-dir= or something or other after the "./configure" command, are you saying it is better to use "./configure" absent that appended statement?
> Where do I untar the LVM source? Does it matter where I do so? May I do it in /tmp?
>
no it doesn't metter, you can put it where ever you wont,
in case your /tmp is not cleaned @ every reboot no problems , but it's
probably a very good idea not to delete it
>
>
>Very Respectfully,
>
>Stuart Blake Tener, IT3, USNR-R, N3GWG
>Beverly Hills, California
>VTU 1904G (Volunteer Training Unit)
>stuart@bh90210.net
>west coast: (310)-358-0202 P.O. Box 16043, Beverly Hills, CA 90209-2043
>east coast: (215)-338-6005 P.O. Box 45859, Philadelphia, PA 19149-5859
>
>Telecopier: (419)-715-6073 fax to email gateway via www.efax.com (it's free!)
>
>JOIN THE US NAVY RESERVE, SERVE YOUR COUNTRY, AND BENEFIT FROM IT ALL.
>
>Friday, September 14, 2001 2:10 PM
>
>-----Original Message-----
>From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On Behalf Of svetljo
>Sent: Friday, September 14, 2001 11:18 AM
>To: linux-lvm@sistina.com
>Subject: Re: [linux-lvm] Lock Patch
>
>Hi
>thats in case we are tolking about linux-2.4.1-VFS-lock.patch,
>linux-2.4.2-VFS-lock.patch, linux-2.4.4-VFS-lock.patch
>and linux-2.4.9-VFS-lock.patch which are in LVM/1.0x/PATCHES
>
>there is no such speciefic patch , you should create it yourself
>have you folowed what i told you, you should then have it
>
>from the beginig
>untar the lvm-code lvm-1.0.1-rc2.tar.bz2: tar xjvf lvm-1.0.1-rc2.tar.bz2
>you have now directory LVM and in it 1.0.1-rc2
>cd LVM/1.0.1-rc2
>configure the sources for your system: ./configure
>go to PATCHES and prepare the patch for your kernel: make
>you should have now the patch for your kernel
>apply the patch
>
>recompile the kernel or modules
>and compile the tools - go back to LVM/1.0.1-rc2 and type make
>and then install them : make install
>
>
>IT3 Stuart B. Tener, USNR-R wrote:
>
>>Svetljo:
>>
>> Where does one get the patch you refer to? Can you provide a link for it?
>>
>>
>>Very Respectfully,
>>
>>Stuart Blake Tener, IT3, USNR-R, N3GWG
>>Beverly Hills, California
>>VTU 1904G (Volunteer Training Unit)
>>stuart@bh90210.net
>>west coast: (310)-358-0202 P.O. Box 16043, Beverly Hills, CA 90209-2043
>>east coast: (215)-338-6005 P.O. Box 45859, Philadelphia, PA 19149-5859
>>
>>Telecopier: (419)-715-6073 fax to email gateway via www.efax.com (it's free!)
>>
>>JOIN THE US NAVY RESERVE, SERVE YOUR COUNTRY, AND BENEFIT FROM IT ALL.
>>
>>Friday, September 14, 2001 9:26 AM
>>
>>-----Original Message-----
>>From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On Behalf Of svetljo
>>Sent: Friday, September 14, 2001 4:55 AM
>>To: linux-lvm@sistina.com
>>Subject: Re: [linux-lvm] Lock Patch
>>
>>one question
>>are we talking about LVM/PATCHES/linux-2.4.x-VFS-lock-patch
>>if thats so i don't think it's that good idea to try both patches
>>
>>simply run $LVM_ROOT./configure ; cd PATCHES ; make ; and aply the patch
>>
>>linux-lvm-1.0.1rc2-2.4.8-12mdk.mdk
>>
>>but in case we are not tolking about this patch
>>what are we talking about , which lock.patch
>>
>>
>>Heinz J . Mauelshagen wrote:
>>
>>>Stuart,
>>>
>>>Patrick gave you a helpfull hint, so there's no reason for your rude reaction.
>>>Doing what he recommended is a matter of little time as well.
>>>
>>>Ask the Mandrake LVM maintainer if that's more preferable for you.
>>>
>>>Regards,
>>>Heinz -- The LVM Guy --
>>>
>>>On Fri, Sep 14, 2001 at 04:10:08AM -0700, IT3 Stuart B. Tener, USNR-R wrote:
>>>
>>>>Mr. Caulfield:
>>>>
>>>> Well thank you for that most helpful suggestion, but silly me, I consider my time more valuable. I shall wait for someone to post a proper answer, rather than one, which is both obvious and inefficient.
>>>>
>>>>
>>>>Very Respectfully,
>>>>
>>>>Stuart Blake Tener, IT3, USNR-R, N3GWG
>>>>Beverly Hills, California
>>>>VTU 1904G (Volunteer Training Unit)
>>>>stuart@bh90210.net
>>>>west coast: (310)-358-0202 P.O. Box 16043, Beverly Hills, CA 90209-2043
>>>>east coast: (215)-338-6005 P.O. Box 45859, Philadelphia, PA 19149-5859
>>>>
>>>>Telecopier: (419)-715-6073 fax to email gateway via www.efax.com (it's free!)
>>>>
>>>>JOIN THE US NAVY RESERVE, SERVE YOUR COUNTRY, AND BENEFIT FROM IT ALL.
>>>>
>>>>Friday, September 14, 2001 4:05 AM
>>>>
>>>>-----Original Message-----
>>>>From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On Behalf Of Patrick Caulfield
>>>>Sent: Friday, September 14, 2001 1:55 AM
>>>>To: linux-lvm@sistina.com
>>>>Subject: Re: [linux-lvm] Lock Patch
>>>>
>>>>On Thu, Sep 13, 2001 at 11:00:47PM -0700, IT3 Stuart B. Tener, USNR-R wrote:
>>>>
>>>>>List members:
>>>>>
>>>>> I am curious; if I am running 2.4.8-12mdk (Mandrake 8,0), which lock patch do I use the 2.4.4 version or the 2.4.9 version?
>>>>>
>>>>>
>>>>I would try the 2.4.4 one. If that doesn't apply then try the 2.4.9.
>>>>
>>>>patrick
>>>>
>>>>
>>>>_______________________________________________
>>>>linux-lvm mailing list
>>>>linux-lvm@sistina.com
>>>>http://lists.sistina.com/mailman/listinfo/linux-lvm
>>>>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>>>>?????????????????????????????????????{??[?????x%??e?{??[?????)???&??i?????l????)???&?f??f??X??)???b??????y?m???0s??3??^[m????
>>>>
>>??+-?v?r?????=?-??h??????
>>
>>>*** Software bugs are stupid.
>>> Nevertheless it needs not so stupid people to solve them ***
>>>
>>>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>>>
>>>Heinz Mauelshagen Sistina Software Inc.
>>>Senior Consultant/Developer Am Sonnenhang 11
>>> 56242 Marienrachdorf
>>> Germany
>>>Mauelshagen@Sistina.com +49 2626 141200
>>> FAX 924446
>>>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>>>
>>>_______________________________________________
>>>linux-lvm mailing list
>>>linux-lvm@sistina.com
>>>http://lists.sistina.com/mailman/listinfo/linux-lvm
>>>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>>>
>>
>>
>>
>>_______________________________________________
>>linux-lvm mailing list
>>linux-lvm@sistina.com
>>http://lists.sistina.com/mailman/listinfo/linux-lvm
>>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>>
>
>
>
>
>_______________________________________________
>linux-lvm mailing list
>linux-lvm@sistina.com
>http://lists.sistina.com/mailman/listinfo/linux-lvm
>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>
_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [linux-lvm] Lock Patch
2001-09-15 0:27 ` IT3 Stuart B. Tener, USNR-R
@ 2001-09-15 2:06 ` svetljo
0 siblings, 0 replies; 20+ messages in thread
From: svetljo @ 2001-09-15 2:06 UTC (permalink / raw)
To: linux-lvm
well it's suposed to be known,
almost every program( or every exept the comercial) for linux goes this way
./configure make make install , and when you are instaling binaries from
rpm they are configured for the most common PC and then compiled with "
make " installing the rpm = make install
and smth of the kind should be mentioned somewhere , probably in README
or INSTALL in the lvm dir
IT3 Stuart B. Tener, USNR-R wrote:
>Svetljo:
>
> Ah, that is wonderful to hear. Is there some reason why this is not noted in the How-To? Can we amend the How-To in order to document this information for first time implementers of this product?
>
>
>Very Respectfully,
>
>Stuart Blake Tener, IT3, USNR-R, N3GWG
>Beverly Hills, California
>VTU 1904G (Volunteer Training Unit)
>stuart@bh90210.net
>west coast: (310)-358-0202 P.O. Box 16043, Beverly Hills, CA 90209-2043
>east coast: (215)-338-6005 P.O. Box 45859, Philadelphia, PA 19149-5859
>
>Telecopier: (419)-715-6073 fax to email gateway via www.efax.com (it's free!)
>
>JOIN THE US NAVY RESERVE, SERVE YOUR COUNTRY, AND BENEFIT FROM IT ALL.
>
>Friday, September 14, 2001 5:23 PM
>
>-----Original Message-----
>From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On Behalf Of svetljo
>Sent: Friday, September 14, 2001 3:13 PM
>To: linux-lvm@sistina.com
>Subject: Re: [linux-lvm] Lock Patch
>
>i've forgoten
>
>>you saying that typing, "make" in the "PATCHES" directory will cause a patch to be generated specifically for my kernel?
>>
>thats actually the work of ./configure it trys to find out what you
>have, and what you need
>in PATCHES it chooses from all the patches the ones your kernel need ,
>and " make " put them together in one patch for your kernel
>
>>What name will it be given?
>> The documentation says to add a dash dash kernel-dir= or something or other after the "./configure" command, are you saying it is better to use "./configure" absent that appended statement?
>> Where do I untar the LVM source? Does it matter where I do so? May I do it in /tmp?
>>
>1
>
>
>_______________________________________________
>linux-lvm mailing list
>linux-lvm@sistina.com
>http://lists.sistina.com/mailman/listinfo/linux-lvm
>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>
^ permalink raw reply [flat|nested] 20+ messages in thread
* [linux-lvm] Lock patch
@ 2001-10-11 16:43
2001-10-11 17:20 ` Chris Mason
0 siblings, 1 reply; 20+ messages in thread
From: @ 2001-10-11 16:43 UTC (permalink / raw)
To: linux-lvml
Hi!
Will there be a VFS lock patch for 2.4.12? The patch for 2.4.9 doesn't
work with kernels > 2.4.10
Greetings,
Julian
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [linux-lvm] Lock patch
2001-10-11 16:43 [linux-lvm] Lock patch
@ 2001-10-11 17:20 ` Chris Mason
2001-10-12 7:33 ` Patrick Caulfield
2001-10-12 13:44 ` Julian Einwag
0 siblings, 2 replies; 20+ messages in thread
From: Chris Mason @ 2001-10-11 17:20 UTC (permalink / raw)
To: linux-lvm
On Thursday, October 11, 2001 06:43:23 PM +0200 wrote:
> Hi!
>
> Will there be a VFS lock patch for 2.4.12? The patch for 2.4.9 doesn't
> work with kernels > 2.4.10
I'd like to clean this up a little so the extra semaphore isn't required,
but it does work. There's an extra hunk tacked onto the end that you'll
need for reiserfs.
-chris
Index: 0.22/fs/super.c
--- 0.22/fs/super.c Tue, 09 Oct 2001 09:52:53 -0400 root (linux/d/45_super.c 1.1.2.1.3.1 644)
+++ 0.23/fs/super.c Tue, 09 Oct 2001 09:59:03 -0400 root (linux/d/45_super.c 1.1.2.1.3.2 644)
@@ -54,6 +54,8 @@
LIST_HEAD(super_blocks);
spinlock_t sb_lock = SPIN_LOCK_UNLOCKED;
+static DECLARE_MUTEX(lockfs_sem);
+
/*
* Handling of filesystem drivers list.
* Rules:
@@ -322,6 +324,19 @@
sb->s_op->write_super(sb);
unlock_super(sb);
}
+
+static inline void write_super_lockfs(struct super_block *sb)
+{
+ lock_super(sb);
+ if (sb->s_root && sb->s_op) {
+ if (sb->s_dirt && sb->s_op->write_super)
+ sb->s_op->write_super(sb);
+ if (sb->s_op->write_super_lockfs) {
+ sb->s_op->write_super_lockfs(sb);
+ }
+ }
+ unlock_super(sb);
+}
/*
* Note: check the dirty flag before waiting, so we don't
@@ -357,6 +372,39 @@
spin_unlock(&sb_lock);
}
+/*
+ * Note: don't check the dirty flag before waiting, we want the lock
+ * to happen every time this is called. dev must be non-zero
+ */
+void sync_supers_lockfs(kdev_t dev)
+{
+ struct super_block * sb;
+
+ down(&lockfs_sem);
+ if (dev) {
+ sb = get_super(dev);
+ if (sb) {
+ write_super_lockfs(sb);
+ drop_super(sb);
+ }
+ }
+}
+
+void unlockfs(kdev_t dev)
+{
+ struct super_block * sb;
+
+ if (dev) {
+ sb = get_super(dev);
+ if (sb) {
+ if (sb->s_op && sb->s_op->unlockfs)
+ sb->s_op->unlockfs(sb) ;
+ drop_super(sb);
+ }
+ }
+ up(&lockfs_sem);
+}
+
/**
* get_super - get the superblock of a device
* @dev: device to get the superblock for
@@ -578,6 +626,7 @@
if (!s)
goto out1;
down_write(&s->s_umount);
+ down(&lockfs_sem) ;
error = -EBUSY;
restart:
@@ -590,11 +639,13 @@
if (old->s_type != fs_type ||
((flags ^ old->s_flags) & MS_RDONLY)) {
spin_unlock(&sb_lock);
+ up(&lockfs_sem);
put_super(s);
goto out1;
}
if (!grab_super(old))
goto restart;
+ up(&lockfs_sem);
put_super(s);
blkdev_put(bdev, BDEV_FS);
path_release(&nd);
@@ -615,6 +666,9 @@
if (!fs_type->read_super(s, data, 0))
goto out_fail;
unlock_super(s);
+
+ up(&lockfs_sem);
+
get_filesystem(fs_type);
path_release(&nd);
return s;
@@ -728,6 +782,7 @@
sb->s_count -= S_BIAS;
spin_unlock(&sb_lock);
+ down(&lockfs_sem);
down_write(&sb->s_umount);
lock_kernel();
sb->s_root = NULL;
@@ -744,6 +799,7 @@
if (sop->put_super)
sop->put_super(sb);
}
+ up(&lockfs_sem);
/* Forget any remaining inodes */
if (invalidate_inodes(sb)) {
Index: 0.22/fs/buffer.c
--- 0.22/fs/buffer.c Tue, 09 Oct 2001 09:52:53 -0400 root (linux/i/46_buffer.c 1.1.2.1.8.1 644)
+++ 0.23/fs/buffer.c Tue, 09 Oct 2001 09:59:03 -0400 root (linux/i/46_buffer.c 1.1.2.1.8.2 644)
@@ -359,6 +359,34 @@
fsync_dev(dev);
}
+int fsync_dev_lockfs(kdev_t dev)
+{
+ /* you are not allowed to try locking all the filesystems
+ ** on the system, your chances of getting through without
+ ** total deadlock are slim to none.
+ */
+ if (!dev)
+ return fsync_dev(dev) ;
+
+ sync_buffers(dev, 0);
+
+ lock_kernel();
+ /* note, the FS might need to start transactions to
+ ** sync the inodes, or the quota, no locking until
+ ** after these are done
+ */
+ sync_inodes(dev);
+ DQUOT_SYNC(dev);
+ /* if inodes or quotas could be dirtied during the
+ ** sync_supers_lockfs call, the FS is responsible for getting
+ ** them on disk, without deadlocking against the lock
+ */
+ sync_supers_lockfs(dev) ;
+ unlock_kernel();
+
+ return sync_buffers(dev, 1) ;
+}
+
asmlinkage long sys_sync(void)
{
fsync_dev(0);
Index: 0.22/drivers/md/lvm.c
--- 0.22/drivers/md/lvm.c Tue, 09 Oct 2001 09:56:26 -0400 root (linux/i/c/30_lvm.c 1.1.2.1.3.1 644)
+++ 0.23/drivers/md/lvm.c Tue, 09 Oct 2001 09:59:03 -0400 root (linux/i/c/30_lvm.c 1.1.2.1.3.2 644)
@@ -221,9 +221,6 @@
#define DEVICE_OFF(device)
#define LOCAL_END_REQUEST
-/* lvm_do_lv_create calls fsync_dev_lockfs()/unlockfs() */
-/* #define LVM_VFS_ENHANCEMENT */
-
#include <linux/config.h>
#include <linux/module.h>
#include <linux/kernel.h>
@@ -2129,12 +2126,8 @@
if (lv_ptr->lv_access & LV_SNAPSHOT) {
lv_t *org = lv_ptr->lv_snapshot_org, *last;
- /* sync the original logical volume */
- fsync_dev(org->lv_dev);
-#ifdef LVM_VFS_ENHANCEMENT
/* VFS function call to sync and lock the filesystem */
fsync_dev_lockfs(org->lv_dev);
-#endif
down_write(&org->lv_lock);
org->lv_access |= LV_SNAPSHOT_ORG;
@@ -2159,11 +2152,9 @@
else
set_device_ro(lv_ptr->lv_dev, 1);
-#ifdef LVM_VFS_ENHANCEMENT
/* VFS function call to unlock the filesystem */
if (lv_ptr->lv_access & LV_SNAPSHOT)
unlockfs(lv_ptr->lv_snapshot_org->lv_dev);
-#endif
lvm_gendisk.part[MINOR(lv_ptr->lv_dev)].de = lvm_fs_create_lv(vg_ptr, lv_ptr);
return 0;
Index: 0.22/kernel/ksyms.c
--- 0.22/kernel/ksyms.c Tue, 09 Oct 2001 09:52:53 -0400 root (linux/n/c/22_ksyms.c 1.1.2.1.8.1 644)
+++ 0.23/kernel/ksyms.c Tue, 09 Oct 2001 09:59:03 -0400 root (linux/n/c/22_ksyms.c 1.1.2.1.8.2 644)
@@ -178,6 +178,8 @@
EXPORT_SYMBOL(invalidate_inode_pages);
EXPORT_SYMBOL(truncate_inode_pages);
EXPORT_SYMBOL(fsync_dev);
+EXPORT_SYMBOL(fsync_dev_lockfs);
+EXPORT_SYMBOL(unlockfs);
EXPORT_SYMBOL(fsync_no_super);
EXPORT_SYMBOL(permission);
EXPORT_SYMBOL(vfs_permission);
Index: 0.22/include/linux/fs.h
--- 0.22/include/linux/fs.h Tue, 09 Oct 2001 09:52:53 -0400 root (linux/f/d/9_fs.h 1.1.2.1.9.1 644)
+++ 0.23/include/linux/fs.h Tue, 09 Oct 2001 09:59:03 -0400 root (linux/f/d/9_fs.h 1.1.2.1.9.2 644)
@@ -1183,6 +1183,7 @@
extern int sync_buffers(kdev_t, int);
extern void sync_dev(kdev_t);
extern int fsync_dev(kdev_t);
+extern int fsync_dev_lockfs(kdev_t);
extern int fsync_super(struct super_block *);
extern int fsync_no_super(kdev_t);
extern void sync_inodes_sb(struct super_block *);
@@ -1194,6 +1195,8 @@
extern void filemap_fdatasync(struct address_space *);
extern void filemap_fdatawait(struct address_space *);
extern void sync_supers(kdev_t);
+extern void sync_supers_lockfs(kdev_t);
+extern void unlockfs(kdev_t);
extern int bmap(struct inode *, int);
extern int notify_change(struct dentry *, struct iattr *);
extern int permission(struct inode *, int);
--- linux-2.4.4.tmp/fs/reiserfs/super.c Mon Apr 30 16:01:29 2001
+++ linux-2.4.4.SuSE/fs/reiserfs/super.c Mon Apr 30 16:02:13 2001
@@ -80,7 +80,7 @@
reiserfs_prepare_for_journal(s, SB_BUFFER_WITH_SB(s), 1);
journal_mark_dirty(&th, s, SB_BUFFER_WITH_SB (s));
reiserfs_block_writes(&th) ;
- journal_end(&th, s, 1) ;
+ journal_end_sync(&th, s, 1) ;
}
s->s_dirt = dirty;
unlock_kernel() ;
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [linux-lvm] Lock patch
2001-10-11 17:20 ` Chris Mason
@ 2001-10-12 7:33 ` Patrick Caulfield
2001-10-12 13:44 ` Julian Einwag
1 sibling, 0 replies; 20+ messages in thread
From: Patrick Caulfield @ 2001-10-12 7:33 UTC (permalink / raw)
To: linux-lvm
On Thu, Oct 11, 2001 at 01:20:32PM -0400, Chris Mason wrote:
>
>
> On Thursday, October 11, 2001 06:43:23 PM +0200 wrote:
>
> > Hi!
> >
> > Will there be a VFS lock patch for 2.4.12? The patch for 2.4.9 doesn't
> > work with kernels > 2.4.10
>
> I'd like to clean this up a little so the extra semaphore isn't required,
> but it does work. There's an extra hunk tacked onto the end that you'll
> need for reiserfs.
>
I'll put this into the LVM CVS so we have a copy available. If you do any
changes then post it again and I'll update it.
patrick
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [linux-lvm] Lock patch
2001-10-11 17:20 ` Chris Mason
2001-10-12 7:33 ` Patrick Caulfield
@ 2001-10-12 13:44 ` Julian Einwag
1 sibling, 0 replies; 20+ messages in thread
From: Julian Einwag @ 2001-10-12 13:44 UTC (permalink / raw)
To: linux-lvm
On Thu, Oct 11, 2001 at 01:20:32PM -0400, Chris Mason wrote:
> > Will there be a VFS lock patch for 2.4.12? The patch for 2.4.9 doesn't
> > work with kernels > 2.4.10
>
> I'd like to clean this up a little so the extra semaphore isn't required,
> but it does work. There's an extra hunk tacked onto the end that you'll
> need for reiserfs.
Thank you!
^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2001-10-12 13:44 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-11 16:43 [linux-lvm] Lock patch
2001-10-11 17:20 ` Chris Mason
2001-10-12 7:33 ` Patrick Caulfield
2001-10-12 13:44 ` Julian Einwag
-- strict thread matches above, loose matches on Subject: below --
2001-09-14 6:00 [linux-lvm] Lock Patch IT3 Stuart B. Tener, USNR-R
2001-09-14 8:55 ` Patrick Caulfield
2001-09-14 11:10 ` IT3 Stuart B. Tener, USNR-R
2001-09-14 11:41 ` Heinz J . Mauelshagen
2001-09-14 11:55 ` svetljo
2001-09-14 16:28 ` IT3 Stuart B. Tener, USNR-R
2001-09-14 18:17 ` svetljo
2001-09-14 21:21 ` IT3 Stuart B. Tener, USNR-R
2001-09-14 22:05 ` svetljo
2001-09-15 0:27 ` IT3 Stuart B. Tener, USNR-R
2001-09-14 22:12 ` svetljo
2001-09-15 0:27 ` IT3 Stuart B. Tener, USNR-R
2001-09-15 2:06 ` svetljo
2001-09-14 16:25 ` IT3 Stuart B. Tener, USNR-R
2001-09-14 13:51 ` Chris Mason
2001-09-14 16:32 ` IT3 Stuart B. Tener, USNR-R
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.