commit | 7327145f63a224c9ba9c16d0c29781feffef8dc6 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Wed Dec 04 17:08:50 2013 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Jan 24 17:40:02 2014 +0100 |
tree | ec973feb3da78d91386725321ee3108d050176d5 | |
parent | 2dbafdc012d3ea81a97fec6226ca82d644539c9a [diff] |
block: Make overlap range for serialisation dynamic Copy on Read wants to serialise with all requests touching the same cluster, so wait_serialising_requests() rounded to cluster boundaries. Other users like alignment RMW will have different requirements, though (requests touching the same sector), so make it dynamic. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Benoit Canet <benoit@irqsave.net>