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>] [day] [month] [year] [list]
Date:	Thu, 15 Nov 2007 11:56:54 -0700
From:	Andreas Dilger <adilger@....com>
To:	Theodore Ts'o <tytso@....edu>
Cc:	linux-ext4@...r.kernel.org
Subject: [PATCH] set s_raid_{stripe,stride}

This is a resend of a patch originally from Rupesh Thakare that allows
mke2fs and tune2fs to set/change s_raid_stripe_width and s_raid_stride
in the superblock.  Knowing the RAID geometry will allow mballoc/delalloc
to make much better decisions at allocation time to avoid RAID-level
read-modify-write for unaligned writes.

Similarly, in newer kernels the readahead has a mechanism to query
readahead sizes from the filesystem, and keeping these RAID aligned
avoids extra seeks and in some hardware RAID can also greatly reduce
the track cache overhead if there are many IO threads doing unaligned
reads causing the track cache to be flushed before it can be used.

The kernel code to use this is left as an exercise for the reader.
Hooking this into the XFS libdisk (or whatever it is called) at mke2fs
time is extra bonus points.

Cheers, Andreas
--
Andreas Dilger
Sr. Software Engineer, Lustre Group
Sun Microsystems of Canada, Inc.


View attachment "e2fsprogs-stride_option.patch" of type "text/plain" (9437 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ