commit | cd45daffd1f7b53aac0835b23e97f814ec3f10dc | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Mon Jul 21 12:00:32 2008 +0100 |
committer | Alasdair G Kergon <agk@redhat.com> | Mon Jul 21 12:00:32 2008 +0100 |
tree | 17d35682a8a97f3a73f513531f08ba7e0c8cd718 | |
parent | def052d21c4e77975bb75cf212f018ec913f8e2f [diff] |
dm snapshot: track snapshot reads Whenever a snapshot read gets mapped through to the origin, track it in a per-snapshot hash table indexed by chunk number, using memory allocated from a new per-snapshot mempool. We need to track these reads to avoid race conditions which will be fixed by patches that follow. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>