Re: [PATCH v4 1/4] zram: Fix deadlock bug in partial write

2013-01-22 Thread Nitin Gupta
On 01/21/2013 04:07 PM, Minchan Kim wrote: Now zram allocates new page with GFP_KERNEL in zram I/O path if IO is partial. Unfortunately, It may cuase deadlock with reclaim path so this patch solves the problem. Cc: Nitin Gupta Cc: Jerome Marchand Cc: sta...@vger.kernel.org Signed-off-by:

Re: [PATCH v4 1/4] zram: Fix deadlock bug in partial write

2013-01-22 Thread Minchan Kim
On Tue, Jan 22, 2013 at 10:47:17AM +0100, Jerome Marchand wrote: > On 01/22/2013 01:07 AM, Minchan Kim wrote: > > Now zram allocates new page with GFP_KERNEL in zram I/O path > > if IO is partial. Unfortunately, It may cuase deadlock with > > reclaim path so this patch solves the problem. > > > >

Re: [PATCH v4 1/4] zram: Fix deadlock bug in partial write

2013-01-22 Thread Jerome Marchand
On 01/22/2013 01:07 AM, Minchan Kim wrote: > Now zram allocates new page with GFP_KERNEL in zram I/O path > if IO is partial. Unfortunately, It may cuase deadlock with > reclaim path so this patch solves the problem. > > Cc: Nitin Gupta > Cc: Jerome Marchand > Cc: sta...@vger.kernel.org >

Re: [PATCH v4 1/4] zram: Fix deadlock bug in partial write

2013-01-22 Thread Jerome Marchand
On 01/22/2013 01:07 AM, Minchan Kim wrote: Now zram allocates new page with GFP_KERNEL in zram I/O path if IO is partial. Unfortunately, It may cuase deadlock with reclaim path so this patch solves the problem. Cc: Nitin Gupta ngu...@vflare.org Cc: Jerome Marchand jmarc...@redhat.com Cc:

Re: [PATCH v4 1/4] zram: Fix deadlock bug in partial write

2013-01-22 Thread Minchan Kim
On Tue, Jan 22, 2013 at 10:47:17AM +0100, Jerome Marchand wrote: On 01/22/2013 01:07 AM, Minchan Kim wrote: Now zram allocates new page with GFP_KERNEL in zram I/O path if IO is partial. Unfortunately, It may cuase deadlock with reclaim path so this patch solves the problem. Cc: Nitin

Re: [PATCH v4 1/4] zram: Fix deadlock bug in partial write

2013-01-22 Thread Nitin Gupta
On 01/21/2013 04:07 PM, Minchan Kim wrote: Now zram allocates new page with GFP_KERNEL in zram I/O path if IO is partial. Unfortunately, It may cuase deadlock with reclaim path so this patch solves the problem. Cc: Nitin Gupta ngu...@vflare.org Cc: Jerome Marchand jmarc...@redhat.com Cc:

[PATCH v4 1/4] zram: Fix deadlock bug in partial write

2013-01-21 Thread Minchan Kim
Now zram allocates new page with GFP_KERNEL in zram I/O path if IO is partial. Unfortunately, It may cuase deadlock with reclaim path so this patch solves the problem. Cc: Nitin Gupta Cc: Jerome Marchand Cc: sta...@vger.kernel.org Signed-off-by: Minchan Kim --- We could use GFP_IO instead of

[PATCH v4 1/4] zram: Fix deadlock bug in partial write

2013-01-21 Thread Minchan Kim
Now zram allocates new page with GFP_KERNEL in zram I/O path if IO is partial. Unfortunately, It may cuase deadlock with reclaim path so this patch solves the problem. Cc: Nitin Gupta ngu...@vflare.org Cc: Jerome Marchand jmarc...@redhat.com Cc: sta...@vger.kernel.org Signed-off-by: Minchan Kim