]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
rbd: rbd workqueues need a resque worker
authorIlya Dryomov <idryomov@redhat.com>
Fri, 10 Oct 2014 14:36:07 +0000 (18:36 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Nov 2014 18:10:24 +0000 (10:10 -0800)
commitae49f71e8e0e98875003dff028f05082732cde71
tree24b2603caf4eedd9c5687e5f779b6b6659e6c2d3
parent611b6dd4683844a92eb8d9612bd971db3fc9071a
rbd: rbd workqueues need a resque worker

commit 792c3a914910bd34302c5345578f85cfcb5e2c01 upstream.

Need to use WQ_MEM_RECLAIM for our workqueues to prevent I/O lockups
under memory pressure - we sit on the memory reclaim path.

Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
Tested-by: Micha Krause <micha@krausam.de>
Reviewed-by: Sage Weil <sage@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/block/rbd.c