Re: [PATCH] fuse: Consider the ->big_writes for allocing fuse_req when do writing

2013-05-02 Thread Miklos Szeredi
On Wed, Mar 27, 2013 at 3:02 AM, majianpeng wrote: > If fc->big_writes == 0, for write-operation it only do 4k in func > fuse_fill_write_pages. > So when alloc fuse_req,we should consider this restrict in order to > do additional operations. > The additional operations are memset-opeartion in fun

[PATCH] fuse: Consider the ->big_writes for allocing fuse_req when do writing

2013-03-26 Thread majianpeng
If fc->big_writes == 0, for write-operation it only do 4k in func fuse_fill_write_pages. So when alloc fuse_req,we should consider this restrict in order to do additional operations. The additional operations are memset-opeartion in func fuse_requenst_alloc and alloc more space if nr_pages is lar