]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dm thin: sort the deferred cells
authorJoe Thornber <ejt@redhat.com>
Fri, 10 Oct 2014 15:42:10 +0000 (16:42 +0100)
committerMike Snitzer <snitzer@redhat.com>
Mon, 10 Nov 2014 20:25:28 +0000 (15:25 -0500)
commitac4c3f34a9af63092b3fbfafe34c3e966fbd96c5
tree2ec28fb1bb3888f092acdc4957e7b06f3751dc82
parent23ca2bb6c6104db9d4cff4e33cbabee303c49d4d
dm thin: sort the deferred cells

Sort the cells in logical block order before processing each cell in
process_thin_deferred_cells().  This significantly improves the ondisk
layout on rotational storage, whereby improving read performance.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-thin.c