]> git.baikalelectronics.ru Git - kernel.git/commit
dm thin: implement thin_merge
authorMike Snitzer <snitzer@redhat.com>
Thu, 9 Oct 2014 19:24:12 +0000 (15:24 -0400)
committerMike Snitzer <snitzer@redhat.com>
Mon, 10 Nov 2014 20:25:27 +0000 (15:25 -0500)
commit8668a6d2281915e413ad6ba16c6b38b7b6816265
tree8f793a3116525db10450b28d01a4db009bab25c7
parent6f41cc9da3258f775c5c7e7ca1a7d70c7a7a85b1
dm thin: implement thin_merge

Introduce thin_merge so that any additional constraints from the data
volume may be taken into account when determing the maximum number of
sectors that can be issued relative to the specified logical offset.

This is particularly important if/when the data volume is layered ontop
of a more sophisticated device (e.g. dm-raid or some other DM target).

Reviewed-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-thin.c