summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2015-02-13 14:27:41 +0100
committerMike Snitzer <snitzer@redhat.com>2015-02-16 17:11:15 +0100
commitb3c5fd3052492f1b8d060799d4f18be5a5438add (patch)
tree09ea4e16adffb5eafc7f93c938c64b9a5f6841a1 /drivers/platform
parentdm crypt: add 'submit_from_crypt_cpus' option (diff)
downloadlinux-b3c5fd3052492f1b8d060799d4f18be5a5438add.tar.xz
linux-b3c5fd3052492f1b8d060799d4f18be5a5438add.zip
dm crypt: sort writes
Write requests are sorted in a red-black tree structure and are submitted in the sorted order. In theory the sorting should be performed by the underlying disk scheduler, however, in practice the disk scheduler only accepts and sorts a finite number of requests. To allow the sorting of all requests, dm-crypt needs to implement its own sorting. The overhead associated with rbtree-based sorting is considered negligible so it is not used conditionally. Even on SSD sorting can be beneficial since in-order request dispatch promotes lower latency IO completion to the upper layers. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions