diff options
author | Milan Broz <mbroz@redhat.com> | 2006-10-03 01:15:39 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-03 08:04:16 -0700 |
commit | 23541d2d288cdb54f417ba1001dacc7f3ea10a97 (patch) | |
tree | c338a829548fd1baa730acf6e466f8bfd4bef474 /fs/ioprio.c | |
parent | 93e605c237a61f5a0ea37b12353392f01d596628 (diff) | |
download | op-kernel-dev-23541d2d288cdb54f417ba1001dacc7f3ea10a97.zip op-kernel-dev-23541d2d288cdb54f417ba1001dacc7f3ea10a97.tar.gz |
[PATCH] dm crypt: move io to workqueue
This patch is designed to help dm-crypt comply with the
new constraints imposed by the following patch in -mm:
md-dm-reduce-stack-usage-with-stacked-block-devices.patch
Under low memory the existing implementation relies upon waiting for I/O
submitted recursively to generic_make_request() completing before the original
generic_make_request() call can return.
This patch moves the I/O submission to a workqueue so the original
generic_make_request() can return immediately.
Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/ioprio.c')
0 files changed, 0 insertions, 0 deletions