On 13.12.2013 14:22, Kevin Wolf wrote:
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 <kw...@redhat.com>
---
block.c | 53 ++++++++++++++++++++++++-----------------------
include/block/block_int.h | 4 ++++
2 files changed, 31 insertions(+), 26 deletions(-)
Reviewed-by: Max Reitz <mre...@redhat.com>