All of lore.kernel.org
 help / color / mirror / Atom feed
* Shared snapshots
@ 2009-12-16  8:05 Mikulas Patocka
  2009-12-16 20:39 ` Mike Snitzer
  2009-12-22  9:50 ` 张宇
  0 siblings, 2 replies; 24+ messages in thread
From: Mikulas Patocka @ 2009-12-16  8:05 UTC (permalink / raw)
  To: Alasdair G Kergon; +Cc: dm-devel

Hi

I uploaded new shared snapshots here:
http://people.redhat.com/mpatocka/patches/kernel/new-snapshots/devel/

changes:

- Broken to separate patches, one patch per file. The last patch adds all 
the files to Makefile and makes it all compile. It allows you to ack 
patches individually. I didn't use stubs to compile intermediate patches, 
the problem is that if multiple patches modify the same file, general 
modifications to the code become harder. With one-patch-per-file I can 
edit it with normal text editor and quilt regenerates the patches.

- Document on-disk format in dm-multisnap-mikulas-struct.h

- More functions are commented

- Removed /*printk ... */ statements. I left some #ifdefed debug routines, 
they are non-trivial to write again

- Fixed a bug on big-endian systems

- Exposed interface for snapshots-of-snapshots, tested that they work

Mikulas

^ permalink raw reply	[flat|nested] 24+ messages in thread
* shared snapshots
@ 2010-09-10 17:47 Mikulas Patocka
  0 siblings, 0 replies; 24+ messages in thread
From: Mikulas Patocka @ 2010-09-10 17:47 UTC (permalink / raw)
  To: hch; +Cc: Mike Snitzer, dm-devel

Hi

Mike said that you want to see my shared snapshots. I uploaded the current 
code to:
http://people.redhat.com/mpatocka/patches/kernel/new-snapshots/r22/
http://people.redhat.com/mpatocka/patches/userspace/new-snapshots/lvm-2.02.73/

It apllies to Linux-2.6.35 (and also works with 34 and 33 ... not 
previous kernels) and LVM-2.02.73 (there is also an older version for 70).

Mikulas

^ permalink raw reply	[flat|nested] 24+ messages in thread
* Shared snapshots
@ 2010-01-06 14:38 Mikulas Patocka
  2010-01-07  8:42 ` Pasi Kärkkäinen
  0 siblings, 1 reply; 24+ messages in thread
From: Mikulas Patocka @ 2010-01-06 14:38 UTC (permalink / raw)
  To: Alasdair G Kergon; +Cc: Mike Snitzer, dm-devel

Hi

I uploaded new code for shared snapshots at
http://people.redhat.com/mpatocka/patches/kernel/new-snapshots/devel/

Changes:
- two queues, one for reads and one for writes, to improve read latency 
when the device is write-congested
- limit number of reallocations in flight (VM subsystem sends all writes 
at once and without limit it creates big lags).
- fixed one place where it didn't handle on-disk errors
- simplified bitmap creation, removed some unneeded code
- new macro for error reporting, as suggested by Zdenek
- some comments added
- DM_ prefix added to some macros

Userspace for lvm 2.02.53 is at
http://people.redhat.com/mpatocka/patches/userspace/new-snapshots/lvm-2.02.54/

Please, someone, do offensive testing with this --- i.e. apply the 
patches, try it, and try all possible lvm commands with it, try to stress 
and crash it in various ways, etc. If we wait with testing until Alasdair 
reads the code, it won't get much testing...

Mikulas

^ permalink raw reply	[flat|nested] 24+ messages in thread
[parent not found: <1240610034.7392.284.camel@p670.boston.redhat.com>]
* shared snapshots
@ 2009-02-03  6:25 Mikulas Patocka
  2009-02-03  6:48 ` FUJITA Tomonori
  0 siblings, 1 reply; 24+ messages in thread
From: Mikulas Patocka @ 2009-02-03  6:25 UTC (permalink / raw)
  To: Jonathan Brassow; +Cc: dm-devel, Alasdair G Kergon

Hi

If you are going to put shared storage into your snapshots, look at this: 
http://people.redhat.com/mpatocka/patches/kernel/new-snapshots/devel/

--- this is my snapshot store with Fujita/Daniel's store as a loadable 
module.

So if you are going to do shared storage interface, you must accommodate 
both of these implementations into it.

I still don't understand, how do you intend to patch it on the top of 
existing snapshot code. Definitely, I wouldn't say that it will be an easy 
task. Look at the code and have a fun with it.

Mikulas

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

end of thread, other threads:[~2010-09-10 17:47 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-16  8:05 Shared snapshots Mikulas Patocka
2009-12-16 20:39 ` Mike Snitzer
2009-12-17 16:32   ` Mike Snitzer
2010-03-30 16:26   ` Mike Snitzer
2010-03-31  3:43     ` Mikulas Patocka
2009-12-22  9:50 ` 张宇
  -- strict thread matches above, loose matches on Subject: below --
2010-09-10 17:47 shared snapshots Mikulas Patocka
2010-01-06 14:38 Shared snapshots Mikulas Patocka
2010-01-07  8:42 ` Pasi Kärkkäinen
2010-01-07  9:05   ` haad
2010-01-07 10:08     ` 张宇
2010-01-11  9:14       ` Mikulas Patocka
2010-01-11  9:12   ` Mikulas Patocka
2010-01-11  9:40     ` Pasi Kärkkäinen
2010-01-11  9:49       ` Mikulas Patocka
     [not found] <1240610034.7392.284.camel@p670.boston.redhat.com>
     [not found] ` <Pine.LNX.4.64.0904270815420.18227@hs20-bc2-1.build.redhat.com>
     [not found]   ` <1240836879.1759.16.camel@p670.boston.redhat.com>
     [not found]     ` <Pine.LNX.4.64.0905040741190.20446@hs20-bc2-1.build.redhat.com>
     [not found]       ` <15B46C78-2846-43C4-8090-1EC362E24FD7@redhat.com>
2009-05-06 16:06         ` Mikulas Patocka
2009-05-07 15:44           ` Jonathan Brassow
2009-05-11 10:44             ` Mikulas Patocka
2009-02-03  6:25 shared snapshots Mikulas Patocka
2009-02-03  6:48 ` FUJITA Tomonori
2009-02-05 22:17   ` Jonathan Brassow
2009-02-06  7:18     ` FUJITA Tomonori
2009-02-20 23:58       ` Jonathan Brassow
2009-02-06  3:44   ` Mikulas Patocka

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.