dm: Ensure cloned bio is same length for atomic write
For an atomic write, a cloned bio must be same length as the original bio, i.e. no splitting. Error in case it is not. Per-dm device queue limits should be setup to ensure that this does not happen, but error this case as an insurance policy. Signed-off-by:John Garry <john.g.garry@oracle.com> Reviewed-by:
Mike Snitzer <snitzer@kernel.org> Signed-off-by:
Mikulas Patocka <mpatocka@redhat.com>
Loading
Please sign in to comment