]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dm snapshot: do not split read bios sent to snapshot-origin target
authorMikulas Patocka <mpatocka@redhat.com>
Fri, 14 Mar 2014 22:43:07 +0000 (18:43 -0400)
committerMike Snitzer <snitzer@redhat.com>
Tue, 27 May 2014 14:46:28 +0000 (10:46 -0400)
commit9e3ddf584903fd7aa4ce666ee5fca165d6a29d0a
tree0dc547fab4693a0cd9ca2641b75bf1dd27e3f0ab
parent76ab06357dd563082c8c0b6504473253f92141de
dm snapshot: do not split read bios sent to snapshot-origin target

Change the snapshot-origin target so that only write bios are split on
chunk boundary.  Read bios are passed unchanged to the underlying
device, so they don't have to be split.

Later, we could change the target so that it accepts a larger write bio
if it spans an area that is completely covered by snapshot exceptions.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-snap.c