diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2008-07-21 07:00:32 -0400 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2008-07-21 07:00:32 -0400 |
commit | cd45daffd1f7b53aac0835b23e97f814ec3f10dc (patch) | |
tree | 17d35682a8a97f3a73f513531f08ba7e0c8cd718 /mm/swap.c | |
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>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions