Re: [PATCH 10/16] fuse: Implement writepages callback

2013-09-03 Thread Maxim Patlasov
09/03/2013 02:31 PM, Miklos Szeredi пишет: On Fri, Aug 30, 2013 at 06:50:18PM +0400, Maxim Patlasov wrote: Hi Miklos, 08/30/2013 02:12 PM, Miklos Szeredi пишет: On Fri, Aug 09, 2013 at 07:02:12PM +0400, Maxim Patlasov wrote: 08/06/2013 08:25 PM, Miklos Szeredi пишет: Hmm. Direct IO on an mm

Re: [PATCH 10/16] fuse: Implement writepages callback

2013-09-03 Thread Miklos Szeredi
On Fri, Aug 30, 2013 at 06:50:18PM +0400, Maxim Patlasov wrote: > Hi Miklos, > > 08/30/2013 02:12 PM, Miklos Szeredi пишет: > >On Fri, Aug 09, 2013 at 07:02:12PM +0400, Maxim Patlasov wrote: > >>08/06/2013 08:25 PM, Miklos Szeredi пишет: > >>>Hmm. Direct IO on an mmaped file will do get_user_page

Re: [PATCH 10/16] fuse: Implement writepages callback

2013-08-30 Thread Maxim Patlasov
Hi Miklos, 08/30/2013 02:12 PM, Miklos Szeredi пишет: On Fri, Aug 09, 2013 at 07:02:12PM +0400, Maxim Patlasov wrote: 08/06/2013 08:25 PM, Miklos Szeredi пишет: Hmm. Direct IO on an mmaped file will do get_user_pages() which will do the necessary page fault magic and ->page_mkwrite() will be

Re: [PATCH 10/16] fuse: Implement writepages callback

2013-08-30 Thread Miklos Szeredi
On Fri, Aug 09, 2013 at 07:02:12PM +0400, Maxim Patlasov wrote: > 08/06/2013 08:25 PM, Miklos Szeredi пишет: > >Hmm. Direct IO on an mmaped file will do get_user_pages() which will > >do the necessary page fault magic and ->page_mkwrite() will be called. > >At least AFAICS. > > Yes, I agree. > >

Re: [PATCH 10/16] fuse: Implement writepages callback

2013-08-09 Thread Maxim Patlasov
Hi Miklos, 08/06/2013 08:25 PM, Miklos Szeredi пишет: On Fri, Aug 2, 2013 at 5:40 PM, Maxim Patlasov wrote: 07/19/2013 08:50 PM, Miklos Szeredi пишет: On Sat, Jun 29, 2013 at 09:45:29PM +0400, Maxim Patlasov wrote: From: Pavel Emelyanov The .writepages one is required to make each writeba

Re: [PATCH 10/16] fuse: Implement writepages callback

2013-08-06 Thread Miklos Szeredi
On Fri, Aug 2, 2013 at 5:40 PM, Maxim Patlasov wrote: > 07/19/2013 08:50 PM, Miklos Szeredi пишет: > >> On Sat, Jun 29, 2013 at 09:45:29PM +0400, Maxim Patlasov wrote: >>> >>> From: Pavel Emelyanov >>> >>> The .writepages one is required to make each writeback request carry more >>> than >>> one

Re: [PATCH 10/16] fuse: Implement writepages callback

2013-08-02 Thread Maxim Patlasov
07/19/2013 08:50 PM, Miklos Szeredi пишет: On Sat, Jun 29, 2013 at 09:45:29PM +0400, Maxim Patlasov wrote: From: Pavel Emelyanov The .writepages one is required to make each writeback request carry more than one page on it. The patch enables optimized behaviour unconditionally, i.e. mmap-ed wr

Re: [PATCH 10/16] fuse: Implement writepages callback

2013-07-19 Thread Miklos Szeredi
On Sat, Jun 29, 2013 at 09:45:29PM +0400, Maxim Patlasov wrote: > From: Pavel Emelyanov > > The .writepages one is required to make each writeback request carry more than > one page on it. The patch enables optimized behaviour unconditionally, > i.e. mmap-ed writes will benefit from the patch eve

[PATCH 10/16] fuse: Implement writepages callback

2013-06-29 Thread Maxim Patlasov
From: Pavel Emelyanov The .writepages one is required to make each writeback request carry more than one page on it. The patch enables optimized behaviour unconditionally, i.e. mmap-ed writes will benefit from the patch even if fc->writeback_cache=0. Signed-off-by: Maxim Patlasov --- fs/fuse/f