Re: [PATCH 1/2] zram: forbid IO operations from within zram_init_device()

2012-10-30 Thread Sergey Senozhatsky
please ignore this patch. on a second thought -- I'm sure it will not fix anything. will rework and resend. -ss On (10/30/12 12:01), Sergey Senozhatsky wrote: > zram: forbid IO operations from within zram_init_device() > > Allocation operations in zram_make_request() -> z

[PATCH 1/2] zram: forbid IO operations from within zram_init_device()

2012-10-30 Thread Sergey Senozhatsky
zram: forbid IO operations from within zram_init_device() Allocation operations in zram_make_request() -> zram_init_device() should not raise IO and nested zram_make_request() -> zram_init_device() from IRQ context, thus we must use GFP_NOIO flag. ===