]> 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)
commit453f80e04920e3cefca83cc43d4237d4af093a43
tree8f793a3116525db10450b28d01a4db009bab25c7
parent406da3026fa356aac937c77dbd1fdfb772bf30af
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