diff options
author | Milan Broz <mbroz@redhat.com> | 2007-07-12 20:28:00 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-13 02:01:08 +0400 |
commit | fcac03abd325e4f7a4cc8fe05fea2793b1c8eb75 (patch) | |
tree | 79965ed6b2b03468e629a63fca1c14f795091436 /drivers/md/dm-snap.c | |
parent | 596f138eede0c113aa655937c8be85fc15ccd61c (diff) | |
download | linux-fcac03abd325e4f7a4cc8fe05fea2793b1c8eb75.tar.xz |
dm snapshot: fix invalidation deadlock
Process persistent exception store metadata IOs in a separate thread.
A snapshot may become invalid while inside generic_make_request().
A synchronous write is then needed to update the metadata while still
inside that function. Since the introduction of
md-dm-reduce-stack-usage-with-stacked-block-devices.patch this has to
be performed by a separate thread to avoid deadlock.
Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/md/dm-snap.c')
0 files changed, 0 insertions, 0 deletions