RE: [f2fs-dev][PATCH RESEND] f2fs: avoid allocating failure in bio_alloc

2013-09-16 Thread Chao Yu
gt; Sent: Monday, September 16, 2013 10:09 AM > >> To: Chao Yu > >> Cc: Kim Jaegeuk; linux-f2fs-de...@lists.sourceforge.net; > >> linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; 谭姝 > >> Subject: Re: [f2fs-dev][PATCH RESEND] f2fs: avoid allocating failure

RE: [f2fs-dev][PATCH RESEND] f2fs: avoid allocating failure in bio_alloc

2013-09-16 Thread Chao Yu
...@lists.sourceforge.net; linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; 谭姝 Subject: Re: [f2fs-dev][PATCH RESEND] f2fs: avoid allocating failure in bio_alloc Hi Chao, On 09/13/2013 09:27 PM, Chao Yu wrote: This patch add macro MAX_BIO_BLOCKS to limit value of npages

Re: [f2fs-dev][PATCH RESEND] f2fs: avoid allocating failure in bio_alloc

2013-09-15 Thread Gu Zheng
et; >> linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; 谭姝 >> Subject: Re: [f2fs-dev][PATCH RESEND] f2fs: avoid allocating failure in > bio_alloc >> >> Hi Chao, >> >> On 09/13/2013 09:27 PM, Chao Yu wrote: >> >>> This patch add macro MAX_

Re: [f2fs-dev][PATCH RESEND] f2fs: avoid allocating failure in bio_alloc

2013-09-15 Thread Chao Yu
ubject: Re: [f2fs-dev][PATCH RESEND] f2fs: avoid allocating failure in bio_alloc > > Hi Chao, > > On 09/13/2013 09:27 PM, Chao Yu wrote: > > > This patch add macro MAX_BIO_BLOCKS to limit value of npages in > > f2fs_bio_alloc, it can avoid allocating failure in bio_allo

Re: [f2fs-dev][PATCH RESEND] f2fs: avoid allocating failure in bio_alloc

2013-09-15 Thread Gu Zheng
Hi Chao, On 09/13/2013 09:27 PM, Chao Yu wrote: > This patch add macro MAX_BIO_BLOCKS to limit value of npages in > f2fs_bio_alloc, > it can avoid allocating failure in bio_alloc caused by npages is larger than > UIO_MAXIOV. As I know bio_alloc is based of *fs_bio_set* pool, without the

Re: [f2fs-dev][PATCH RESEND] f2fs: avoid allocating failure in bio_alloc

2013-09-15 Thread Gu Zheng
Hi Chao, On 09/13/2013 09:27 PM, Chao Yu wrote: This patch add macro MAX_BIO_BLOCKS to limit value of npages in f2fs_bio_alloc, it can avoid allocating failure in bio_alloc caused by npages is larger than UIO_MAXIOV. As I know bio_alloc is based of *fs_bio_set* pool, without the limitation

Re: [f2fs-dev][PATCH RESEND] f2fs: avoid allocating failure in bio_alloc

2013-09-15 Thread Chao Yu
RESEND] f2fs: avoid allocating failure in bio_alloc Hi Chao, On 09/13/2013 09:27 PM, Chao Yu wrote: This patch add macro MAX_BIO_BLOCKS to limit value of npages in f2fs_bio_alloc, it can avoid allocating failure in bio_alloc caused by npages is larger than UIO_MAXIOV. As I know

Re: [f2fs-dev][PATCH RESEND] f2fs: avoid allocating failure in bio_alloc

2013-09-15 Thread Gu Zheng
@vger.kernel.org; 谭姝 Subject: Re: [f2fs-dev][PATCH RESEND] f2fs: avoid allocating failure in bio_alloc Hi Chao, On 09/13/2013 09:27 PM, Chao Yu wrote: This patch add macro MAX_BIO_BLOCKS to limit value of npages in f2fs_bio_alloc, it can avoid allocating failure in bio_alloc caused by npages

[f2fs-dev][PATCH RESEND] f2fs: avoid allocating failure in bio_alloc

2013-09-13 Thread Chao Yu
This patch add macro MAX_BIO_BLOCKS to limit value of npages in f2fs_bio_alloc, it can avoid allocating failure in bio_alloc caused by npages is larger than UIO_MAXIOV. Signed-off-by: Yu Chao --- fs/f2fs/segment.c |4 +++- fs/f2fs/segment.h |3 +++ 2 files changed, 6 insertions(+), 1

[f2fs-dev][PATCH RESEND] f2fs: avoid allocating failure in bio_alloc

2013-09-13 Thread Chao Yu
This patch add macro MAX_BIO_BLOCKS to limit value of npages in f2fs_bio_alloc, it can avoid allocating failure in bio_alloc caused by npages is larger than UIO_MAXIOV. Signed-off-by: Yu Chao chao2...@samsung.com --- fs/f2fs/segment.c |4 +++- fs/f2fs/segment.h |3 +++ 2 files changed,