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]
Message-ID: <CA+dkQCkUMDtUOSjamObC1K3suAikb3TuyjwUt9-ANKN-Cdb8rA@mail.gmail.com>
Date:	Tue, 16 Jul 2013 13:50:13 -0700
From:	TAEIL UM <taeil.ted.um@...il.com>
To:	linux-ext4@...r.kernel.org
Subject: ext4: how to guarantee the contiguous block allocation?

Hello,

I have a situation that needs the contiguous block allocation from
application point of view.
For example, is there any way for ext4 to allocates the contiguous
blocks for my 128KB file write?

In the source code, mballoc seems to guarantee the contiguous blocks
allocation with the maximum of s_mb_stream_request, which is 16 by
default.
the comment in the source code also says s_mb_stream_request is
configurable by /sys/fs/ext4/<partition>/mb_stream_req.
If it works, I can set s_mb_stream_request to 32 for 128KB contiguous
block allocation in case of 4KB block size.

Thanks,
Ted
--
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