[RFC] mm: change invalidatepage prototype to accept length

2013-02-01 Thread Lukas Czerner
Hi, This set of patches are aimed to allow truncate_inode_pages_range() handle ranges which are not aligned at the end of the page. Currently it will hit BUG_ON() when the end of the range is not aligned. Punch hole feature however can benefit from this ability saving file systems some work not

[RFC] mm: change invalidatepage prototype to accept length

2013-02-01 Thread Lukas Czerner
Hi, This set of patches are aimed to allow truncate_inode_pages_range() handle ranges which are not aligned at the end of the page. Currently it will hit BUG_ON() when the end of the range is not aligned. Punch hole feature however can benefit from this ability saving file systems some work not