Re: [PATCH v4 15/20] ext4: use ext4_zero_partial_blocks in punch_hole

2013-06-19 Thread Lukáš Czerner
dation.org, hu...@google.com > Subject: Re: [PATCH v4 15/20] ext4: use ext4_zero_partial_blocks in punch_hole > > On Tue, May 14, 2013 at 06:37:29PM +0200, Lukas Czerner wrote: > > We're doing to get rid of ext4_discard_partial_page_buffers() since it is > > duplic

Re: [PATCH v4 15/20] ext4: use ext4_zero_partial_blocks in punch_hole

2013-06-14 Thread Lukáš Czerner
dation.org, hu...@google.com > Subject: Re: [PATCH v4 15/20] ext4: use ext4_zero_partial_blocks in punch_hole > > On Tue, May 14, 2013 at 06:37:29PM +0200, Lukas Czerner wrote: > > We're doing to get rid of ext4_discard_partial_page_buffers() since it is > > duplic

Re: [PATCH v4 15/20] ext4: use ext4_zero_partial_blocks in punch_hole

2013-06-13 Thread Theodore Ts'o
On Tue, May 14, 2013 at 06:37:29PM +0200, Lukas Czerner wrote: > We're doing to get rid of ext4_discard_partial_page_buffers() since it is > duplicating some code and also partially duplicating work of > truncate_pagecache_range(), moreover the old implementation was much > clearer. > > Now when t

[PATCH v4 15/20] ext4: use ext4_zero_partial_blocks in punch_hole

2013-05-14 Thread Lukas Czerner
We're doing to get rid of ext4_discard_partial_page_buffers() since it is duplicating some code and also partially duplicating work of truncate_pagecache_range(), moreover the old implementation was much clearer. Now when the truncate_inode_pages_range() can handle truncating non page aligned regi