diff options
author | Mark McLoughlin <markmc@redhat.com> | 2006-10-03 01:15:27 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-03 08:04:14 -0700 |
commit | 927ffe7c9a156e259aae31c07dd76072c459ec57 (patch) | |
tree | 1353a603c32d2bd23331abbac917a0b0574ff6ea /drivers/md/dm-snap.c | |
parent | e4ff496db72473949ddfe29a37471969d2f1d4ee (diff) | |
download | talos-op-linux-927ffe7c9a156e259aae31c07dd76072c459ec57.tar.gz talos-op-linux-927ffe7c9a156e259aae31c07dd76072c459ec57.zip |
[PATCH] dm snapshot: fix metadata writing when suspending
When suspending a device-mapper device, dm_suspend() sleeps until all
necessary I/O is completed. This state is triggered by a callback from
persistent_commit(). But some I/O can still be issued *after* the callback
(to prepare the next metadata area for use if the current one is full). This
patch delays the callback until after that I/O is complete.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/md/dm-snap.c')
0 files changed, 0 insertions, 0 deletions