dm-dedup: implementation of the read-on-write procedure
authorVasily Tarasov <tarasov@vasily.name>
Thu, 28 Aug 2014 22:05:55 +0000 (18:05 -0400)
committerMike Snitzer <snitzer@redhat.com>
Mon, 22 Sep 2014 15:06:04 +0000 (11:06 -0400)
commitd9f0ebfa8cd7df822e159187f0487bfa30d12b4d
treef4d64a5c1e126fe0355efaef7e43f9a1ff69597d
parentd2d2e348ee6b2ad6c0e3151b363245e5b6834c0e
dm-dedup: implementation of the read-on-write procedure

If a request from the upper layer is smaller than the block size, then
we have to perform a read-on-write to properly compute the hash value.

Signed-off-by: Vasily Tarasov <tarasov@vasily.name>
drivers/md/dm-dedup-rw.c [new file with mode: 0644]
drivers/md/dm-dedup-rw.h [new file with mode: 0644]