Mikulas Patocka 1c0e883e86 dm ioctl: set noio flag to avoid __vmalloc deadlock
Set noio flag while calling __vmalloc() because it doesn't fully respect
gfp flags to avoid a possible deadlock (see commit
502624bdad3dba45dfaacaf36b7d83e39e74b2d2).

This should be backported to stable kernels 3.8 and newer. The kernel 3.8
doesn't have memalloc_noio_save(), so we should set and restore process
flag PF_MEMALLOC instead.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
2013-07-10 23:41:15 +01:00
..
2013-05-17 14:31:05 -04:00
2013-04-26 22:30:25 +02:00
2013-05-09 09:59:16 -07:00
2013-05-06 14:59:13 -07:00
2013-06-22 09:44:45 -10:00
2013-05-20 13:38:14 -07:00
2013-06-14 19:15:36 -10:00
2013-05-15 10:58:22 -07:00
2013-06-13 22:12:14 +01:00
2013-05-07 14:04:56 -07:00
2013-05-07 14:02:00 -07:00
2013-06-22 09:00:28 -10:00
2013-06-05 08:54:16 -06:00
2013-06-11 02:46:21 -07:00
2013-05-04 12:31:18 -07:00
2013-05-04 12:31:18 -07:00