Re: [PATCH -v2] ext4: Use page_mkwrite vma_operations to get mmap write notification.

2008-02-21 Thread Mingming Cao
On Tue, 2008-02-19 at 09:13 +0530, Aneesh Kumar K.V wrote: We would like to get notified when we are doing a write on mmap section. This is needed with respect to preallocated area. We split the preallocated area into initialzed extent and uninitialzed extent in the call back. This let us

Re: [PATCH -v2] ext4: Use page_mkwrite vma_operations to get mmap write notification.

2008-02-21 Thread Aneesh Kumar K.V
On Thu, Feb 21, 2008 at 09:39:20AM -0800, Mingming Cao wrote: On Tue, 2008-02-19 at 09:13 +0530, Aneesh Kumar K.V wrote: We would like to get notified when we are doing a write on mmap section. This is needed with respect to preallocated area. We split the preallocated area into initialzed

[PATCH -v2] ext4: Use page_mkwrite vma_operations to get mmap write notification.

2008-02-18 Thread Aneesh Kumar K.V
We would like to get notified when we are doing a write on mmap section. This is needed with respect to preallocated area. We split the preallocated area into initialzed extent and uninitialzed extent in the call back. This let us handle ENOSPC better. Otherwise we get ENOSPC in the writepage and

Re: [PATCH -v2] ext4: Use page_mkwrite vma_operations to get mmap write notification.

2008-02-18 Thread Mingming Cao
On Tue, 2008-02-19 at 09:13 +0530, Aneesh Kumar K.V wrote: We would like to get notified when we are doing a write on mmap section. This is needed with respect to preallocated area. We split the preallocated area into initialzed extent and uninitialzed extent in the call back. This let us