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:	Wed, 4 Jun 2008 17:44:35 +0200
From:	Jan Kara <jack@...e.cz>
To:	Mingming Cao <cmm@...ibm.com>
Cc:	"Aneesh Kumar K.V" <aneesh.kumar@...ux.vnet.ibm.com>,
	linux-ext4@...r.kernel.org
Subject: Ordered mode rewrite for jbd2/ext4

  Hi,

  So I've split and ported ordered mode rewrite for ext4+jbd2.
The core of the rewrite are two patches

jbd2-Implement-data-ordered-mode-handling-via-inode.patch
ext4-Use-new-framework-for-data-ordered-mode-in-JBD.patch

They also need two trivial fixes:
vfs-export-filemap_fdatawrite_range.patch
ext4-Use-new-framework-for-data-ordered-mode-in-JBD.patch

And finally there's a patch removing old ordered mode from jbd2:
jbd2-Remove-data-ordered-mode-support-using-jbd-buf.patch

I've created the patches to be added to the ext4 patch queue just
after inversion of page lock and transaction start.

I have refreshed the following patches in the ext4 queue to apply cleanly
and also fixed some typos in them and added one BUG_ON():

ext4-delalloc-sync-hang-with-journal-lock-inverse-fix.patch
ext4-delalloc-inverse-jbd-and-page-lock-ordering.patch
ext4-inverse-jbd-and-page-locking-order.patch

Finally, I've rewritten checks in writepage so
ext4-Add-validation-to-jbd-lock-inversion-patch-and.patch
should be replaced with
ext4-add-checks-to-writepage

as we spoke about it with Aneesh.

All the patches are attached and I'll also post the new ones separately for
more convenient review. The tests for 4k blocksize run fine for me. The
kernel oopses for 1k blocksize because of a problem in ext4_page_mkwrite()
- I'll post that in a separate mail. If noone objects, patches can be added
to ext4 patch queue.

								Honza
-- 
Jan Kara <jack@...e.cz>
SUSE Labs, CR

View attachment "series.diff" of type "text/x-patch" (823 bytes)

View attachment "ext4-add-checks-to-writepage" of type "text/plain" (2704 bytes)

View attachment "ext4-delalloc-inverse-jbd-and-page-lock-ordering.patch" of type "text/x-patch" (4757 bytes)

View attachment "ext4-delalloc-sync-hang-with-journal-lock-inverse-fix.patch" of type "text/x-patch" (7097 bytes)

View attachment "ext4-inverse-jbd-and-page-locking-order.patch" of type "text/x-patch" (17384 bytes)

View attachment "ext4-Set-journal-pointer-to-NULL-when-journal-is-re.patch" of type "text/x-patch" (1296 bytes)

View attachment "ext4-Use-new-framework-for-data-ordered-mode-in-JBD.patch" of type "text/x-patch" (12625 bytes)

View attachment "jbd2-Implement-data-ordered-mode-handling-via-inode.patch" of type "text/x-patch" (13056 bytes)

View attachment "jbd2-Remove-data-ordered-mode-support-using-jbd-buf.patch" of type "text/x-patch" (23834 bytes)

View attachment "vfs-export-filemap_fdatawrite_range.patch" of type "text/x-patch" (1621 bytes)

Powered by blists - more mailing lists