]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
dm log: split suspend
authorJonathan Brassow <jbrassow@redhat.com>
Fri, 19 Oct 2007 21:47:57 +0000 (22:47 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Sat, 20 Oct 2007 01:01:21 +0000 (02:01 +0100)
commit6b3df0d7a5e85ad2afd3eecc50e2dee59e876ae8
treed20f30d0a40d1162a6cc135dca31403ae38198e5
parentfe97e2aa0502922488ad62303a19a20c8044ae18
dm log: split suspend

There are now two phases to a suspend in device-mapper -
presuspend and postsuspend.  This patch removes the
single 'suspend' in the logging API and replaces it with
'presuspend' and 'postsuspend' functions to align it
better with core device-mapper.

A subsequent patch will make use of 'presuspend'.

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-log.c
drivers/md/dm-log.h
drivers/md/dm-raid1.c