Skip to content

some shared snapshot readability improvements

Mike Snitzer dm-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 of 7 patches 2 repliesIn review

6 of 7 patches are in this archive. The cover letter announces 7.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7document low hanging fruit to help improve code readabilitydrivers/md/dm-multisnap-mikulas.c drivers/md/dm-multisnap-mikulas.h drivers/md/dm-multisnap-private.h+16 -00 replies
2/7Improve name used for "persistent store" in 'struct dm_multisnap'drivers/md/dm-multisnap-private.h drivers/md/dm-multisnap.c+37 -410 replies
4/7Avoid struct members with the name 'dm'drivers/md/dm-multisnap-alloc.c drivers/md/dm-multisnap-blocks.c drivers/md/dm-multisnap-btree.c +9 more+163 -1690 replies
5/7rename snapid members to use 'snapid' namesdrivers/md/dm-multisnap-btree.c drivers/md/dm-multisnap-delete.c drivers/md/dm-multisnap-io.c +4 more+116 -1170 replies
6/7move individual dm_multisnap 'flags' valuesdrivers/md/dm-multisnap-private.h+4 -30 replies
7/7Removed remaining 'struct dm_exception_store' FIXMEs.drivers/md/dm-multisnap-mikulas.h+0 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/7] some shared snapshot readability improvements

Quite a lot of churn but I think it is for the better in the end.

(I developed these changes on Wednesday but just got around to getting them sent out now)

Mike Snitzer (7):
document low hanging fruit to help improve code readability Improve name used for "persistent store" in 'struct dm_multisnap' Avoid exception store being confused with snapshot 's' Avoid struct members with the name 'dm'
rename snapid members to use 'snapid' names
move individual dm_multisnap 'flags' values
Removed remaining 'struct dm_exception_store' FIXMEs.

 drivers/md/dm-multisnap-alloc.c          |  271 +++++++++---------
 drivers/md/dm-multisnap-blocks.c         |  118 ++++----
 drivers/md/dm-multisnap-btree.c          |  330 +++++++++++-----------
 drivers/md/dm-multisnap-commit.c         |  140 +++++-----
 drivers/md/dm-multisnap-daniel.c         |   32 +-
 drivers/md/dm-multisnap-delete.c         |   70 +++---
 drivers/md/dm-multisnap-freelist.c       |   96 ++++----
 drivers/md/dm-multisnap-io.c             |  148 +++++-----
 drivers/md/dm-multisnap-mikulas-struct.h |    8 +-
 drivers/md/dm-multisnap-mikulas.c        |  441 +++++++++++++++---------------
 drivers/md/dm-multisnap-mikulas.h        |  110 ++++----
 drivers/md/dm-multisnap-private.h        |    8 +-
 drivers/md/dm-multisnap-snaps.c          |  234 ++++++++--------
 drivers/md/dm-multisnap.c                |   72 +++---
 drivers/md/dm-multisnap.h                |   38 ++--
 15 files changed, 1060 insertions(+), 1056 deletions(-)