rbd: rbd workqueues need a resque worker
authorIlya Dryomov <idryomov@redhat.com>
Fri, 10 Oct 2014 14:36:07 +0000 (18:36 +0400)
committerSage Weil <sage@redhat.com>
Tue, 14 Oct 2014 19:57:05 +0000 (12:57 -0700)
commit792c3a914910bd34302c5345578f85cfcb5e2c01
tree468b46ac85092eb3b0e728c7614a753855b68722
parentf9865f06f7f18c6661c88d0511f05c48612319cc
rbd: rbd workqueues need a resque worker

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

Cc: stable@vger.kernel.org # 3.17, needs backporting for 3.16
Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
Tested-by: Micha Krause <micha@krausam.de>
Reviewed-by: Sage Weil <sage@redhat.com>
drivers/block/rbd.c