lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 31 Aug 2012 18:21:36 -0400
From:	Lukas Czerner <lczerner@...hat.com>
To:	linux-fsdevel@...r.kernel.org
Cc:	linux-ext4@...r.kernel.org, tytso@....edu, hughd@...gle.com,
	linux-mm@...ck.org
Subject: [PATCH 00/15 v2] Add invalidatepage_range address space operation

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
forcing them to implement their own invalidate code to handle unaligned
ranges.

In order for this to work we need however new address space operation
invalidatepage_range which should be able to handle page invalidation with
offset and length specified.

patch 01:	Implements the new invalidatepage_range address space
		operation in the mm layer
patch 02 - 05:	Wire the new invalidatepage_range aop to the ext4, xfs and
		ocfs2 file system (which are currently the only file
		systems supporting punch hole not counting tmpfs which has
		its own method) and implement this
		functionality for jbd2 as well.
patch 06:	Change truncate_inode_pages_range() to handle unaligned
		ranges.
patch 07 - 15:	Ext4 specific changes which take benefit from the
		previous truncate_inode_pages_range() change. Not all
		are realated specifically to this change, but all are
		related to the punch hole feature.

v2: Change invalidatepage_range lenght and offset argument to be 'unsigned int'
    Fix range provided to do_invalidatepage_range() in truncate_inode_pages_range()

Thanks!
-Lukas


[PATCH 01/15 v2] mm: add invalidatepage_range address space operation
[PATCH 02/15 v2] jbd2: implement jbd2_journal_invalidatepage_range
[PATCH 03/15 v2] ext4: implement invalidatepage_range aop
[PATCH 04/15 v2] xfs: implement invalidatepage_range aop
[PATCH 05/15 v2] ocfs2: implement invalidatepage_range aop
[PATCH 06/15 v2] mm: teach truncate_inode_pages_range() to handle non
[PATCH 07/15 v2] ext4: Take i_mutex before punching hole
[PATCH 08/15 v2] Revert "ext4: remove no longer used functions in
[PATCH 09/15 v2] Revert "ext4: fix fsx truncate failure"
[PATCH 10/15 v2] ext4: use ext4_zero_partial_blocks in punch_hole
[PATCH 11/15 v2] ext4: remove unused discard_partial_page_buffers
[PATCH 12/15 v2] ext4: remove unused code from ext4_remove_blocks()
[PATCH 13/15 v2] ext4: update ext4_ext_remove_space trace point
[PATCH 14/15 v2] ext4: make punch hole code path work with bigalloc
[PATCH 15/15 v2] ext4: Allow punch hole with bigalloc enabled
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ