]> Git Repo - linux.git/commit - drivers/md/dm-kcopyd.c
dm kcopyd: avoid pointless job splitting
authorMikulas Patocka <[email protected]>
Sun, 29 May 2011 12:02:58 +0000 (13:02 +0100)
committerAlasdair G Kergon <[email protected]>
Sun, 29 May 2011 12:02:58 +0000 (13:02 +0100)
commita705a34a565a5445bf731bd8006d51ea4d2b4236
tree84d4761ff62398110a44e630085bc43a97bae805
parent6f13f6fba76edc7d0e7580c5deee829d59a41b2f
dm kcopyd: avoid pointless job splitting

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 <[email protected]>
Signed-off-by: Alasdair G Kergon <[email protected]>
drivers/md/dm-kcopyd.c
This page took 0.046881 seconds and 4 git commands to generate.