Skip to content

mikulas' shared snapshot patches

Mike Snitzer dm-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14dm-multisnap-commonDocumentation/device-mapper/dm-multisnapshot.txt drivers/md/Kconfig drivers/md/Makefile +3 more+2440 -00 replies
2/14dm-bufiodrivers/md/dm-bufio.c drivers/md/dm-bufio.h+1022 -00 replies
3/14dm-multisnap-mikulas-headersdrivers/md/dm-multisnap-mikulas-struct.h drivers/md/dm-multisnap-mikulas.h+627 -04 replies
4/14dm-multisnap-mikulas-allocdrivers/md/dm-multisnap-alloc.c+590 -00 replies
5/14dm-multisnap-mikulas-blocksdrivers/md/dm-multisnap-blocks.c+333 -00 replies
6/14dm-multisnap-mikulas-btreedrivers/md/dm-multisnap-btree.c+838 -00 replies
7/14dm-multisnap-mikulas-commitdrivers/md/dm-multisnap-commit.c+245 -00 replies
8/14dm-multisnap-mikulas-deletedrivers/md/dm-multisnap-delete.c+137 -00 replies
9/14dm-multisnap-mikulas-freelistdrivers/md/dm-multisnap-freelist.c+296 -00 replies
10/14dm-multisnap-mikulas-iodrivers/md/dm-multisnap-io.c+209 -00 replies
11/14dm-multisnap-mikulas-snapsdrivers/md/dm-multisnap-snaps.c+636 -00 replies
12/14dm-multisnap-mikulas-commondrivers/md/dm-multisnap-mikulas.c+760 -00 replies
13/14dm-multisnap-mikulas-configdrivers/md/Kconfig drivers/md/Makefile+15 -00 replies
14/14dm-multisnap-danieldrivers/md/Kconfig drivers/md/Makefile drivers/md/dm-multisnap-daniel.c+1727 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/14] mikulas' shared snapshot patches

Mikulas,

This is just the full submit of your shared snapshot patches from:
http://people.redhat.com/mpatocka/patches/kernel/new-snapshots/r15/

I think the next phase of review should possibly be driven through the dm-devel mailing list. I'd at least like the option of exchanging mail on aspects of some of these patches.

The first patch has one small cleanup in do_origin_write(): I eliminated the 'midcycle' goto.

But the primary difference with this submission (when compared to your r15 patches) is I editted the patches for whitespace and typos. I'm _really_ not trying to step on your hard work by doing this superficial stuff. But while reviewing the code the insanely long lines really were distracting. I tried very hard to preserve the intent of the DM_MULTISNAP_SET_ERROR/DM_ERR messages by still having grep'able content (on a single line).

I also didn't go crazy like a checkpatch.pl zealot.. I didn't even run these patches through checkpatch!

I know how sensitive you are about allowing the editor do the wrapping but I trully think the length of some lines would never get past Alasdair (or Linus) -- even though they have relaxed the rules for line length.

I'll respond to this cover-letter with a single incremental patch that shows my edits.

All my edits aside; I must say I'm impressed at the amount/complexity of code you've cranked out for this shared snapshot support. It is going to take me many more review iterations of these patches before I'll be able to say I understand all that these patches achieve.

I think drivers/md/dm-bufio.c will be controversial (to the greater upstream community) but I understand that it enabled you to focus on the problem of shared snapshots without having to concern yourself with core VM and block changes to accomplish the same.

Mikulas Patocka (14):
dm-multisnap-common
dm-bufio
dm-multisnap-mikulas-headers
dm-multisnap-mikulas-alloc
dm-multisnap-mikulas-blocks
dm-multisnap-mikulas-btree
dm-multisnap-mikulas-commit
dm-multisnap-mikulas-delete
dm-multisnap-mikulas-freelist
dm-multisnap-mikulas-io
dm-multisnap-mikulas-snaps
dm-multisnap-mikulas-common
dm-multisnap-mikulas-config
dm-multisnap-daniel

 Documentation/device-mapper/dm-multisnapshot.txt |   77 +
 drivers/md/Kconfig                               |   33 +
 drivers/md/Makefile                              |   10 +
 drivers/md/dm-bufio.c                            |  987 +++++++++++
 drivers/md/dm-bufio.h                            |   35 +
 drivers/md/dm-multisnap-alloc.c                  |  590 +++++++
 drivers/md/dm-multisnap-blocks.c                 |  333 ++++
 drivers/md/dm-multisnap-btree.c                  |  838 +++++++++
 drivers/md/dm-multisnap-commit.c                 |  245 +++
 drivers/md/dm-multisnap-daniel.c                 | 1711 ++++++++++++++++++
 drivers/md/dm-multisnap-delete.c                 |  137 ++
 drivers/md/dm-multisnap-freelist.c               |  296 ++++
 drivers/md/dm-multisnap-io.c                     |  209 +++
 drivers/md/dm-multisnap-mikulas-struct.h         |  380 ++++
 drivers/md/dm-multisnap-mikulas.c                |  760 ++++++++
 drivers/md/dm-multisnap-mikulas.h                |  247 +++
 drivers/md/dm-multisnap-private.h                |  161 ++
 drivers/md/dm-multisnap-snaps.c                  |  636 +++++++
 drivers/md/dm-multisnap.c                        | 2007 ++++++++++++++++++++++
 drivers/md/dm-multisnap.h                        |  183 ++
 20 files changed, 9875 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/device-mapper/dm-multisnapshot.txt
 create mode 100644 drivers/md/dm-bufio.c
 create mode 100644 drivers/md/dm-bufio.h
 create mode 100644 drivers/md/dm-multisnap-alloc.c
 create mode 100644 drivers/md/dm-multisnap-blocks.c
 create mode 100644 drivers/md/dm-multisnap-btree.c
 create mode 100644 drivers/md/dm-multisnap-commit.c
 create mode 100644 drivers/md/dm-multisnap-daniel.c
 create mode 100644 drivers/md/dm-multisnap-delete.c
 create mode 100644 drivers/md/dm-multisnap-freelist.c
 create mode 100644 drivers/md/dm-multisnap-io.c
 create mode 100644 drivers/md/dm-multisnap-mikulas-struct.h
 create mode 100644 drivers/md/dm-multisnap-mikulas.c
 create mode 100644 drivers/md/dm-multisnap-mikulas.h
 create mode 100644 drivers/md/dm-multisnap-private.h
 create mode 100644 drivers/md/dm-multisnap-snaps.c
 create mode 100644 drivers/md/dm-multisnap.c
 create mode 100644 drivers/md/dm-multisnap.h