dm kcopyd: avoid pointless job splitting
authorMikulas Patocka <mpatocka@redhat.com>
Sun, 29 May 2011 12:02:58 +0000 (13:02 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Sun, 29 May 2011 12:02:58 +0000 (13:02 +0100)
Don't split SUB_JOB_SIZE jobs

If the job size equals SUB_JOB_SIZE, there is no point in splitting it.
Splitting it just unnecessarily wastes time, because the split job size
is SUB_JOB_SIZE too.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>

No differences found