commit | 2480945cd44b50ba8b1646544eec2db21f064f12 | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Wed Jul 10 23:41:18 2013 +0100 |
committer | Alasdair G Kergon <agk@redhat.com> | Wed Jul 10 23:41:18 2013 +0100 |
tree | e9e3d5b75c4b1bdd83eaf7727016f607310c6574 | |
parent | 43aeaa29573924df76f44eda2bbd94ca36e407b5 [diff] |
dm bufio: submit writes outside lock This patch changes dm-bufio so that it submits write I/Os outside of the lock. If the number of submitted buffers is greater than the number of requests on the target queue, submit_bio blocks. We want to block outside of the lock to improve latency of other threads that may need the lock. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>