summaryrefslogtreecommitdiff
path: root/drivers/md/persistent-data/dm-array.c
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2016-09-15 09:36:24 -0400
committerMike Snitzer <snitzer@redhat.com>2016-09-22 11:15:03 -0400
commit9d1b404cbc3f990a4035dcf7ddd37adac2a99b3f (patch)
treee3afe884a02e400cf69d8e10f809b218d772b564 /drivers/md/persistent-data/dm-array.c
parent4e781b498ee5008ede91362d91404a362e7a46b3 (diff)
downloadlinux-9d1b404cbc3f990a4035dcf7ddd37adac2a99b3f.tar.gz
linux-9d1b404cbc3f990a4035dcf7ddd37adac2a99b3f.tar.xz
dm cache policy smq: distribute entries to random levels when switching to smq
For smq the 32 bit 'hint' stores the multiqueue level that the entry should be stored in. If a different policy has been used previously, and then switched to smq, the hints will be invalid. In which case we used to put all entries in the bottom level of the multiqueue, and then redistribute. Redistribution is faster if we put entries with invalid hints in random levels initially. Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/persistent-data/dm-array.c')
0 files changed, 0 insertions, 0 deletions