From: Mikulas Patocka Date: Mon, 21 Jul 2008 11:00:32 +0000 (+0100) Subject: dm snapshot: track snapshot reads X-Git-Tag: v2.6.27-rc1~956^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd45daffd1f7b53aac0835b23e97f814ec3f10dc;p=pandora-kernel.git 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 Signed-off-by: Alasdair G Kergon --- Reading git-diff-tree failed