Re: [PATCH v3 13/18] ext4: use ext4_zero_partial_blocks in punch_hole

2013-04-18 Thread Jan Kara
On Tue 09-04-13 11:14:22, 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 the truncate_inod

[PATCH v3 13/18] ext4: use ext4_zero_partial_blocks in punch_hole

2013-04-09 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