aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas/sas_init.c
diff options
context:
space:
mode:
authorJoe Thornber <[email protected]>2017-11-09 16:41:05 +0000
committerMike Snitzer <[email protected]>2017-11-10 20:45:05 +0000
commit9768a10dd35c6bca9ea58ae23bd5d5c2500d7005 (patch)
tree7ebf9e28e29a74d0f230b9fc8517584e647aeeda /drivers/scsi/libsas/sas_init.c
parentdm cache policy smq: change max background work from 10240 to 4096 blocks (diff)
downloadkernel-9768a10dd35c6bca9ea58ae23bd5d5c2500d7005.tar.gz
kernel-9768a10dd35c6bca9ea58ae23bd5d5c2500d7005.zip
dm cache policy smq: allocate cache blocks in order
Previously, cache blocks were being allocated in reverse order. Fix this by pulling the block off the head of the free list. Shouldn't have any impact on performance or latency but it is more correct to have the cache blocks allocated/mapped in ascending order. This fix will slightly increase the chances of two adjacent oblocks being in adjacent cblocks. Signed-off-by: Joe Thornber <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'drivers/scsi/libsas/sas_init.c')
0 files changed, 0 insertions, 0 deletions