]> git.baikalelectronics.ru Git - kernel.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)
committerSage Weil <sage@redhat.com>
Tue, 14 Oct 2014 19:57:05 +0000 (12:57 -0700)
commit9a0b5db954c00ec96182e6ca34d9315fba93706e
tree468b46ac85092eb3b0e728c7614a753855b68722
parent80d38493cf3fb5c02873031ad7da5009a45f91a1
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