* [linux-lvm] [PATCH] lvm in 2.4.15.pre3
@ 2001-11-12 6:59 Patrick Caulfield
2001-11-12 7:10 ` [linux-lvm] " Alan Cox
2001-11-13 11:45 ` [linux-lvm] " Jim Cromie
0 siblings, 2 replies; 5+ messages in thread
From: Patrick Caulfield @ 2001-11-12 6:59 UTC (permalink / raw)
To: linux-kernel, linux-lvm; +Cc: torvalds
Please apply the following patch to LVM in 2.4.13pre3.
It looks like the LVM patch that came from Alan calls alloc/free_kiovec_sz()
functions which only exist in his tree.
patrick
--- drivers/md/lvm-snap.c.orig Mon Nov 12 12:53:01 2001
+++ drivers/md/lvm-snap.c Mon Nov 12 12:53:47 2001
@@ -500,10 +500,9 @@
int lvm_snapshot_alloc(lv_t * lv_snap)
{
int ret, max_sectors;
- int nbhs = KIO_MAX_SECTORS;
/* allocate kiovec to do chunk io */
- ret = alloc_kiovec_sz(1, &lv_snap->lv_iobuf, &nbhs);
+ ret = alloc_kiovec(1, &lv_snap->lv_iobuf);
if (ret) goto out;
max_sectors = KIO_MAX_SECTORS << (PAGE_SHIFT-9);
@@ -512,7 +511,7 @@
if (ret) goto out_free_kiovec;
/* allocate kiovec to do exception table io */
- ret = alloc_kiovec_sz(1, &lv_snap->lv_COW_table_iobuf, &nbhs);
+ ret = alloc_kiovec(1, &lv_snap->lv_COW_table_iobuf);
if (ret) goto out_free_kiovec;
ret = lvm_snapshot_alloc_iobuf_pages(lv_snap->lv_COW_table_iobuf,
@@ -528,12 +527,12 @@
out_free_both_kiovecs:
unmap_kiobuf(lv_snap->lv_COW_table_iobuf);
- free_kiovec_sz(1, &lv_snap->lv_COW_table_iobuf, &nbhs);
+ free_kiovec(1, &lv_snap->lv_COW_table_iobuf);
lv_snap->lv_COW_table_iobuf = NULL;
out_free_kiovec:
unmap_kiobuf(lv_snap->lv_iobuf);
- free_kiovec_sz(1, &lv_snap->lv_iobuf, &nbhs);
+ free_kiovec(1, &lv_snap->lv_iobuf);
lv_snap->lv_iobuf = NULL;
if (lv_snap->lv_snapshot_hash_table != NULL)
vfree(lv_snap->lv_snapshot_hash_table);
@@ -543,8 +542,6 @@
void lvm_snapshot_release(lv_t * lv)
{
- int nbhs = KIO_MAX_SECTORS;
-
if (lv->lv_block_exception)
{
vfree(lv->lv_block_exception);
@@ -560,14 +557,14 @@
{
kiobuf_wait_for_io(lv->lv_iobuf);
unmap_kiobuf(lv->lv_iobuf);
- free_kiovec_sz(1, &lv->lv_iobuf, &nbhs);
+ free_kiovec(1, &lv->lv_iobuf);
lv->lv_iobuf = NULL;
}
if (lv->lv_COW_table_iobuf)
{
kiobuf_wait_for_io(lv->lv_COW_table_iobuf);
unmap_kiobuf(lv->lv_COW_table_iobuf);
- free_kiovec_sz(1, &lv->lv_COW_table_iobuf, &nbhs);
+ free_kiovec(1, &lv->lv_COW_table_iobuf);
lv->lv_COW_table_iobuf = NULL;
}
}
^ permalink raw reply [flat|nested] 5+ messages in thread
* [linux-lvm] Re: [PATCH] lvm in 2.4.15.pre3
2001-11-12 6:59 [linux-lvm] [PATCH] lvm in 2.4.15.pre3 Patrick Caulfield
@ 2001-11-12 7:10 ` Alan Cox
2001-11-12 8:22 ` Ville Herva
2001-11-13 11:45 ` [linux-lvm] " Jim Cromie
1 sibling, 1 reply; 5+ messages in thread
From: Alan Cox @ 2001-11-12 7:10 UTC (permalink / raw)
To: Patrick Caulfield; +Cc: linux-kernel, linux-lvm, torvalds
> Please apply the following patch to LVM in 2.4.13pre3.
>
> It looks like the LVM patch that came from Alan calls alloc/free_kiovec_sz()
> functions which only exist in his tree.
Just sent Linus the same thing 8)
Alan
^ permalink raw reply [flat|nested] 5+ messages in thread
* [linux-lvm] Re: [PATCH] lvm in 2.4.15.pre3
2001-11-12 7:10 ` [linux-lvm] " Alan Cox
@ 2001-11-12 8:22 ` Ville Herva
2001-11-12 8:31 ` Patrick Caulfield
0 siblings, 1 reply; 5+ messages in thread
From: Ville Herva @ 2001-11-12 8:22 UTC (permalink / raw)
To: Alan Cox; +Cc: Patrick Caulfield, linux-kernel, linux-lvm
On Mon, Nov 12, 2001 at 01:19:01PM +0000, you [Alan Cox] claimed:
> > Please apply the following patch to LVM in 2.4.13pre3.
> >
> > It looks like the LVM patch that came from Alan calls alloc/free_kiovec_sz()
> > functions which only exist in his tree.
>
> Just sent Linus the same thing 8)
Sorry if this is a FAQ, but I see the LVM in .15pre3 is 0.9.1beta2. Are there
plans to merge something newer like 1.0.1pre4?
What about Andreas Dilger's fixes? Do they get the pre3 LVM closer to
1.0.1pre4?
-- v --
v@iki.fi
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Re: [PATCH] lvm in 2.4.15.pre3
2001-11-12 8:22 ` Ville Herva
@ 2001-11-12 8:31 ` Patrick Caulfield
0 siblings, 0 replies; 5+ messages in thread
From: Patrick Caulfield @ 2001-11-12 8:31 UTC (permalink / raw)
To: linux-lvm
On Mon, Nov 12, 2001 at 04:23:37PM +0200, Ville Herva wrote:
> On Mon, Nov 12, 2001 at 01:19:01PM +0000, you [Alan Cox] claimed:
> > > Please apply the following patch to LVM in 2.4.13pre3.
> > >
> > > It looks like the LVM patch that came from Alan calls alloc/free_kiovec_sz()
> > > functions which only exist in his tree.
> >
> > Just sent Linus the same thing 8)
>
> Sorry if this is a FAQ, but I see the LVM in .15pre3 is 0.9.1beta2. Are there
> plans to merge something newer like 1.0.1pre4?
I think you've misread the patch:
lvm.h:#define LVM_RELEASE_NAME "1.0.1-rc4(ish)"
patrick
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] [PATCH] lvm in 2.4.15.pre3
2001-11-12 6:59 [linux-lvm] [PATCH] lvm in 2.4.15.pre3 Patrick Caulfield
2001-11-12 7:10 ` [linux-lvm] " Alan Cox
@ 2001-11-13 11:45 ` Jim Cromie
1 sibling, 0 replies; 5+ messages in thread
From: Jim Cromie @ 2001-11-13 11:45 UTC (permalink / raw)
To: linux-lvm
Patrick Caulfield wrote:
> Please apply the following patch to LVM in 2.4.13pre3.
>
FYI,
patch-2.4.15-pre4 is now on kernel.org, it 'contains' Patrick's patch
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-11-13 11:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-12 6:59 [linux-lvm] [PATCH] lvm in 2.4.15.pre3 Patrick Caulfield
2001-11-12 7:10 ` [linux-lvm] " Alan Cox
2001-11-12 8:22 ` Ville Herva
2001-11-12 8:31 ` Patrick Caulfield
2001-11-13 11:45 ` [linux-lvm] " Jim Cromie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).