All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/6] Waiting for the missing device in mirror
@ 2015-06-08  7:48 Lidong Zhong
  2015-06-08  7:48 ` [RFC 1/6] Enable the keep_log feature while creating a mirror device Lidong Zhong
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Lidong Zhong @ 2015-06-08  7:48 UTC (permalink / raw)
  To: lvm-devel

Hi List,

The implementation here is trying to add another policy for the
missing leg/log device in mirror. We want to wait the device for some
time in case of a temporary device failure, especially a network disconnection
for clvmd, to avoid a full disk recovery.

This version is kind of a draft. There are many immature places to improve. So comments
and suggestions are welcomed.

The responding kernel part is here:
https://git.kernel.org/cgit/linux/kernel/git/device-mapper/linux-dm.git/
commit/?h=for-next&id=ed63287dd670f8e9d2412a913de7fdc50a689831

Regards,
Lidong

Lidong Zhong (6):
  Enable the keep_log feature while creating a mirror device
  Replace table info and export two simple APIs to do suspend/resume
  Mark a device if already being waited
  Write the device number into metadata
  Add another policy for the missing device -- wait
  lvconvert: implement the wait policy

 lib/config/config_settings.h     |   2 +
 lib/config/defaults.h            |   2 +
 lib/format_text/export.c         |   4 +
 lib/format_text/import_vsn1.c    |   5 +
 lib/metadata/lv_manip.c          |   1 +
 lib/metadata/metadata-exported.h |   1 +
 lib/metadata/pv.h                |   1 +
 lib/mirror/mirrored.c            |   3 +
 lib/misc/lvm-globals.c           |  11 ++
 lib/misc/lvm-globals.h           |   2 +
 libdm/libdevmapper.h             |   7 +
 libdm/libdm-deptree.c            |  96 +++++++++++-
 tools/commands.h                 |   4 +-
 tools/lvconvert.c                | 325 +++++++++++++++++++++++++++++++++++++--
 tools/lvcreate.c                 |   4 +-
 15 files changed, 453 insertions(+), 15 deletions(-)

-- 
1.8.1.4



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

end of thread, other threads:[~2015-06-09  7:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-08  7:48 [RFC 0/6] Waiting for the missing device in mirror Lidong Zhong
2015-06-08  7:48 ` [RFC 1/6] Enable the keep_log feature while creating a mirror device Lidong Zhong
2015-06-08  7:48 ` [RFC 3/6] Mark a device if already being waited Lidong Zhong
2015-06-08  7:48 ` [RFC 4/6] Write the device number into metadata Lidong Zhong
2015-06-08  7:48 ` [RFC 5/6] Add another policy for the missing device -- wait Lidong Zhong
2015-06-08  7:48 ` [RFC 6/6] lvconvert: implement the wait policy Lidong Zhong
2015-06-08  8:38 ` [RFC 0/6] Waiting for the missing device in mirror Zdenek Kabelac
2015-06-09  3:19   ` Lidong Zhong
2015-06-09  7:12     ` Zdenek Kabelac

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.